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
Forum Updated to NodeBB v4.3 + New Features

CMake warning running from Qt Creator

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 1.3k Views 2 Watching
  • 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 7 Jan 2021, 10:54 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
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 7 Jan 2021, 12:01 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

      1/2

      7 Jan 2021, 10:54

      • Login

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