How to provide interface with Qt
Unsolved
General and Desktop
-
Using Qt class can make my work easier. I want to implement c++ interface with Qt class. But I get error:
QCoreApplication::applicationDirPath: Please instantiate the QApplication object first QCoreApplication::applicationDirPath: Please instantiate the QApplication object first QPixmap: Must construct a QGuiApplication before a QPixmap Process finished with exit code -1073740791 (0xC0000409)
My guess is that QApplication is needed if you want to use Qt class.
Is there a way to use Qt class without GUI and QApplication? -
Hi and welcome to devnet,
If you want to use QPixmap you need to have at least a QGuiApplication created. The type of QXXXApplicstion object you need will depend on what you want to use.