Cannot create a QWidget when no GUI is being used. Then How should I create it?
-
Hi,
cannot create a QWidget when no GUI is being used, is the error throwing up when I try to use the COM object inside my QtCore application. Its, understandable that I dont want the UI component to be part of it, but when I do try to remove the QWidget from the COM object class the compiler just compalins?
So, is there any way I can create it, non -GUI?
Thanks,
-
Did you use QT += gui in yours .pro file?
You want to create exactly QWidget or program window, like QMainWindow/QDialog?