Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 6.0.2
-
None
-
105e591060 (qt-creator/qt-creator/7.0) 105e591060 (qt-creator/qt-creator/master) 105e591060 (qt-creator/tqtc-qt-creator/7.0) 105e591060 (qt-creator/tqtc-qt-creator/master) 105e591060 (qt-creator/tqtc-qt-creator/qds-3.1)
Description
Hello,
With a qmake project, I'm currently getting a warning saying "This file is not part of any project" whenever I launch a C++ qmake project and going to a file (for example a .cpp one).
The error seems to go away if I manually launch qmake through Build > run qmake.
One comment worth noting is that my qmake project has a root .pro file with:
CONFIG += ordered TEMPLATE = subdirs SUBDIRS += ImagePlugin MyApp
Then MyApp/MyApp.pro is very standard:
TEMPLATE = app QT += qml quick CONFIG += c++17 CONFIG += qtquickcompiler SOURCES += [...] HEADERS += [...]
I am not using the experimental clangd for the moment, only the Clang Code Model. Qt version used by the project is 5.14.1.
Thank you,
Best regards,
Louis