KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
i just run into the problem error: request for member ‘show’ in ‘myWindow’, which is of non-class type ‘MainGUIWindow()’ when trying to compile a simple qt-application: #include <QApplication> #include "gui/MainGUIWindow.h" int main( int argc, char** argv ) { QApplication app( argc, argv ); MainGUIWindow myWindow(); myWindow.show(); return app.exec(); } I solved this by replacing MainGUIWindow myWindow(); by MainGUIWindow myWindow; but I don't understand the difference. My question: What is the difference? Regards, Dirk
Tags (comma-separated)
Save Edits
Cancel