Hi, folks.
I have a strange problem. I design, successfully, one custom widget using the Qt approach. It works fine in QtDesigner, and, to develop it well, I write a simple app using the same widget (consisting in one class) declared as ax extension of an existing Qt widget.
When I finish to develop it, I create the plugin, and i develop a (second) simple app using the new widget. QtCreator create it fine, but when I launch it, I obtain the following message:
Now I start the debugger, that exits with the same message and this subsequent balloon:Starting C:\Documents and Settings\glafauci\Documenti\Programmi-QT\ProvaK-build-desktop\debug\ProvaK.exe...
C:\Documents and Settings\glafauci\Documenti\Programmi-QT\ProvaK-build-desktop\debug\ProvaK.exe exited with code 3
and, in the QtCreator's application output, I read"This application is requested the runtime to terminate it at an unusual way. Please, contact the application support team"
Anyone can help me?QWidget: Must construct a QApplication before a QPaintDevice
Added after 41 minutes:
Well, I've solved it.
The problem is born mixing the release version of the widget with the debug version of the application.
That's enough to build correctly the versions to solve the problem.
Hi to all!!![]()
![]()
Bookmarks