[ITK Community] Fwd: [Insight-users] registration using Mutual Information

Luis Ibanez luis.ibanez at kitware.com
Sun Dec 29 15:40:59 EST 2013


---------- Forwarded message ----------
From: Bastian A. <bastianra at gmail.com>
Date: Sun, Dec 29, 2013 at 1:20 PM
Subject: Re: [Insight-users] [ITK Community] registration using Mutual
Information
To: Luis Ibanez <luis.ibanez at kitware.com>


Hi Massi,

The error message *QWidget: Must construct a QApplication before a
QPaintDevice* is often rather misleading, in your case the most likely
cause will be that you are mixing debug and release libraries. Which would
explain why you don't get the error in debug mode.

Best Bastian


On Sun, Dec 29, 2013 at 12:17 PM, Luis Ibanez <luis.ibanez at kitware.com>wrote:

> Hi Massi,
>
> This error message:
>
> *QWidget: Must construct a QApplication before a QPaintDevice*
>
> seems to be more closely related to Qt than to ITK.
>
> You may want to modularize your application, to separate the
> ITK image analysis from the Qt GUI, and in this way, make
> easier to debug the combined application.
>
>
>     Regards,
>
>         Luis
>
>
>
> On Sun, Dec 15, 2013 at 4:34 AM, Massinissa Bandou <
> Massinissa.Bandou at usherbrooke.ca> wrote:
>
>> an arrow pointing at  m_OutputInformationMTime.Modified(); in
>> itkProcessObject.cxx
>>
>> I created a project using Qt+vtk+itk on vs2010 win64. I set all the
>> dependencies on vs2010. On debug mode the program works fine but on
>> release
>> mode I got this error:
>>
>>  *QWidget: Must construct a QApplication before a QPaintDevice*
>>
>> Do I have to set something else to fix this problem???
>>
>> Massi
>>
>>
>>
>> --
>> View this message in context:
>> http://itk-users.7.n7.nabble.com/registration-using-Mutual-Information-tp32972p32998.html
>> Sent from the ITK - Users mailing list archive at Nabble.com.
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.php
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>> _______________________________________________
>> Community mailing list
>> Community at itk.org
>> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20131229/11a92dca/attachment-0001.htm>


More information about the Community mailing list