[Qt-interest] QWidget: Must construct a QApplication before a QPaintDevice
Santhosh Y
santhosh at softjin.com
Sat Dec 12 13:19:55 CET 2009
Hi,
I am facing a problem saying "QWidget: Must construct a QApplication
before a QPaintDevice",
when I am invoking a GUI-application (which is in .dll form) in my
application.
======================================
Scenario is as follows:
======================================
- I developed a GUI application using Qt (my first application)
- In the development of second application, I integrated my first
application as a DLL in to the second application
- I launched the second application as we usually do. (QApplication
creation ...). I am able to show all GUI widgets
specific to my second application.
- When I am trying to invoke my first application, from second
application, it is showing the message
"QWidget: Must construct a QApplication before a QPaintDevice" and
exiting from that point.
Can anyone suggest me what is wrong here?
--
----------------------------------------------------
Y Santhosh Kumar -
Senior Software Engineer,
SoftJin Technologies Pvt Ltd,
www.softjin.com
----------------------------------------------------
Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for the use of the individual or entity to which they are addressed. It
may contain confidential, proprietary or legally privileged information.
If you are not the intended recipient please be advised that you have
received this message in error and any use is strictly prohibited. Please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender by return mail. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________
More information about the Qt-interest-old
mailing list