CMake warning running from Qt Creator
Solved
General and Desktop
-
wrote on 7 Jan 2021, 10:54 last edited by
When configuring a CMake project in Qt Creator (and only there), I see this warning:
CMake Warning: Manually-specified variables were not used by the project: QT_QMAKE_EXECUTABLE
Is this a bug in Qt Creator? How can I suppress the warning?
-
Go to Projects->Build settings and remove this line from "initial CMake parameters":
-DQT_QMAKE_EXECUTABLE:STRING=%{Qt:qmakeExecutable}
This warning is harmless, you can safely just ignore it.
2/2