Qt 6.5.3 'QCoreApplication' file not found
-
@milppo said in Qt 6.5.3 'QCoreApplication' file not found:
How fix?
First provide more information:
- On which OS?
- What compiler?
- What Qt version?
- Are you using QMake or CMake?
- Did you configure project properly in *.pro or CMakeLists.txt file? (https://doc.qt.io/qt-6/qcoreapplication.html tells you what to do to use QCoreApplication)
- Does the app actually build?
-
@milppo said in Qt 6.5.3 'QCoreApplication' file not found:
don't know
Try to actually compile your program, does that succeed or error? It is possible that the screenshot shows only Creator IDE failing to find file, trying to compile will tell us.
-
The process "C:\Qt\Tools\mingw1120_64\bin\mingw32-make.exe" completed successfully.
In the build output15:58:46: Stages for the web2 project are being completed...
15:58:46: The settings have not changed, the qmake step is skipped.
15:58:46: Runs: “C:\Qt\Tools\mingw1120_64\bin\mingw32-make.exe” -j12
C:/Qt/Tools/mingw1120_64/bin/mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory 'C:/Users/vladi/OneDrive/Documents/build-veb2-Desktop_Qt_6_5_3_MinGW_64_bit-Release'
mingw32-make[1]: Nothing to be done for 'first'.
mingw32-make[1]: Leaving directory 'C:/Users/vladi/OneDrive/Documents/build-veb2-Desktop_Qt_6_5_3_MinGW_64_bit-Release'
15:58:46: The process “C:\Qt\Tools\mingw1120_64\bin\mingw32-make.exe” completed successfully.
15:58:46: Time passed: 00:00.
all output -
@milppo said in Qt 6.5.3 'QCoreApplication' file not found:
The process "C:\Qt\Tools\mingw1120_64\bin\mingw32-make.exe" completed successfully
So, you indeed can build your project...
-
@milppo I assume you are using Qt Creator from the screenshot. What version of Qt Creator are you using? I remember running into a problem with Qt Creator not being able to find certain headers. I would try updating your version of Qt Creator and see if that works.
-
@CompSciDude
Qt Creator 11.0.3