QT 6.3 Project with CMake and Visual Studio cannot open source file ui_mainWindow.h
-
wrote on 15 May 2022, 12:19 last edited by
Hello,
i have a qt 6.3 Project using CMake and i would like to use Visual Studio or CLion instead of QT Creator for various reasons.
But i have the Problem that Visual Studio is complaining that it cannot find the ui_mainWindow.h file...
It builds just fine so the file gets created and used but the editor does not find it.
I have tried all solutions i found online and i do not know how to proceed. -
Hello,
i have a qt 6.3 Project using CMake and i would like to use Visual Studio or CLion instead of QT Creator for various reasons.
But i have the Problem that Visual Studio is complaining that it cannot find the ui_mainWindow.h file...
It builds just fine so the file gets created and used but the editor does not find it.
I have tried all solutions i found online and i do not know how to proceed.@0verEngineer said in QT 6.3 Project with CMake and Visual Studio cannot open source file ui_mainWindow.h:
but the editor does not find it
The file should be in the build folder.
Why do you want to open it? You should not change anything in generated files. -
wrote on 16 May 2022, 16:01 last edited by
@jsulm said in QT 6.3 Project with CMake and Visual Studio cannot open source file ui_mainWindow.h:
build
The file is indeed where it has to be because the build works, i am talking about the non working include in mainWindow.cpp
In QT Creator it works, in Visual Studio 2022 with the QT Extension it doesn't workI thought the QT Extension would handle this like QT Creator does.
1/3