Unsolved Lots of Errors QT
-
Hi guys! I'm first time using QT. I installed QT and extensions. I created one project and i have lots of errors. I cant result anywhere. Someone can help me?
Edit:
Lexical or Preprocessor Issue 2: 10: error: 'QApplication' file not found
Semantic Issue 6:5: error: unknown type name 'QApplication'
Semantic Issue 7:18: error: variable of type 'Mainindow' has private destructor mainwindow.h 16:5: note: implicitly declared private here
Semantic Issue: 8:7: error: no member named 'show' in 'MainWindow' -
Hi and welcome to devnet,
What version is it ?
What OS are you running ?
What compiler are you using ?One side note, it's Qt, QT stands for Apple QuickTime which is not what you are interested in.
-
1 - QT 5.13
2- Windows 10 Pro x64
3- MinGW x64 -
Is it as default project ?
Beside the warnings there, can you build it ?
From the looks of it, it could be the code model acting up. -
Edit: @sgaist I solved the problem. Thanks.
-
What didn't you adjust ?