Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Passing command line arguments to CMake executable in QtCreator 4.11+



  • I want to get rid of warning when building CMake based project in QtCreator 4.11

    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_C_COMPILER
        QT_QMAKE_EXECUTABLE
    

    To do it I want to pass --no-warn-unused-cli argument to CMake executable, but seems there is no way to do.
    Am I missing anything?


Log in to reply