You are not logged in.

Dear visitor, welcome to If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Tuesday, October 27th 2015, 7:48am

uic3 output "QWidget: Cannot create a QWidget when no GUI is being used"

:?: :whistling: ?( QT4.8.7: Uic3.exe deliver the message "QWidget: Cannot create a QWidget when no GUI is being used" independent of
parameter and without parameter too.

I have a 30 day evaluation enterprise version. I need urgent a solution, to give a reason for using of QT5.

I tryed to debugg Uic3.exe, parhaps I have problem witch 30 Day Evaluation? (attached Images). I habe 28 Days yet.
It is me suspect why te debugger spring under #ifdef QT_EVAL in the qt_gui_eval_init member of QApplication and crashes ther with this error message.
For my uic3.exe is the console application (QApplication::Tty), this "#ifdef QT_EVAL qt_gui_eval_init" in QApplicationPrivate::construct is me suspect.
If I set the next statement under the define block, the application crashes with memory access violation.

I have installed
and evaluate QT3, QT4.8.7 for VS2008 and QT5 for VS2013, VS2008 and VS2013 parallel to check the transfer
of the QT3 Project to QT5/VS2013. The QTDIR and PATH point to QT4 directories.
After the installation of QT5 and VS2013 (with the integration) I have this problem.
Before this installation uic3 worked correctly. I could convert my UI forms to QT4 format.
Now I have trouble to reverse the situation.
I need uic3 working.

I checked
in dependency walker: uic3.exe depends of msvcp90.dll and msvcr90.dll. I placed
this too Dlls in the path. Perhaps there is some problem.
Vladi1964 has attached the following files:
  • ifdefQT_EVAL.PNG (126.91 kB - 1 times downloaded - latest: Oct 28th 2015, 10:21am)
  • CallStack.PNG (121.73 kB - 1 times downloaded - latest: Oct 28th 2015, 10:23am)
  • qFatal.PNG (24 kB - 1 times downloaded - latest: Oct 28th 2015, 10:23am)

This post has been edited 4 times, last edit by "Vladi1964" (Oct 28th 2015, 10:36am)