-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
Qt Creator 17.0.0
-
None
I installed Qt 6.9.1 and Qt Creator on a fresh Windows 11 machine. Before installing Qt and Qt creator, I installed Visual Studio 2022 Community.
I created an empty Qt Widgets application and tried to build it, but I had an error:
:-1: error: dependent '..\..\..\..\..\..\Qt\6.9.1\msvc2022_64\include\QtWidgets\QMainWindow' does not exist.
Qt is installed in C:\Qt
My project is located in C:\Projects\Test1
I selected qmake as a build system.
When I looked at Makefile.Debug, I can see extra "..\..\" in every Qt file path.
After I edited Makefile.Debug by removing extra "..\..\" from every Qt file path, I was able to build the project without any problems.
I am attaching the original (incorrect) Makefile.Debug generated by Qt Creator and the correct one (edited manually).