Dear Imran,

as it is a debug build, you might be able to provide a stack trace or do some 
debugging in order to track the problem.

Furthermore, your error message is well known for either mixing debug and 
release libs or for static QT objects that are initialized before the main gets 
control.

Google has very many hints on this:
http://www.qtcentre.org/threads/10959-QWidget-Must-construct-a-QApplication-before-a-QPaintDevice

Best
Matthias


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Gesendet: Freitag, 21. Januar 2011 00:29
An: [email protected]
Betreff: [mitk-users] Building and Running MITK in Debug mode

Hi,

I built MITK 0.99.1 in Debug mode in the MSVS-2008 environment. It built and 
installed fine. The install directory that I specified is:  
"e:\Program Files (x86)\MITK-Debug\bin". Now, when I run "ExtApp.exe"  
from the command prompt, I get the following error:

E:\Program Files (x86)\MITK-Debug\bin>ExtApp.exe Thu Jan 20 15:25:39 2011
0.05 ext.alg.coreExtObjFac: Registering CoreExtObjectFactory...
0.05 core.alg.coreObjFac: CoreObjectFactory c'tor
0.05 ext.alg.coreExtObjFac: CoreExtObjectFactory c'tor
0.06 core.alg.coreObjFac: CoreObjectFactory: registering extra factory of type 
C oreExtObjectFactory
0.48 core.mod.planArfigure.objFac: Registering PlanarFigureObjectFactory...
0.49 core.mod.planArfigure.objFac: PlanarFigureObjectFactory c'tor
0.49 core.alg.coreObjFac: CoreObjectFactory: registering extra factory of type 
P lanarFigureObjectFactory
0.56 core.ui.regCls: QmitkRegisterClasses()
0.56 ext.ui.extRegCls: QmitkExtRegisterClasses()
QWidget: Must construct a QApplication before a QPaintDevice




The last line is the offending line. Any ideas on how to fix this?

Thanks!

-Imran.


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, 
so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to