Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. CMake warning running from Qt Creator
QtWS25 Last Chance

CMake warning running from Qt Creator

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vadi2
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    2
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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.

      (Z(:^

      1 Reply Last reply
      5

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved