Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt4: the qmake executable could not be added in QtCreator
Qt 6.12 LTS is out! See what's new in the release blog

Qt4: the qmake executable could not be added in QtCreator

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 1 Posters 2.2k Views 1 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.
  • CP71C Offline
    CP71C Offline
    CP71
    wrote on last edited by
    #1

    Hi all,
    I have compiled a Qt4 i386 on Linux 64 bit, then I have made the install apparently without issues.

    When I try to add qmake in QT Versions in QtCreator I see the following issue and I don’t know why.

    d4dbda48-a850-4d7d-8921-7b26786b60bb-image.png

    The qmake seems to be executable and 32 bits as expected, but I can't add in QtCreator.

    a0470c4a-a651-4caa-bbb7-522080244a14-image.png

    --

    68812fa4-1a45-4d6a-8440-a1587461fc8d-image.png

    Thanks in advance for your help
    CP71

    CP71C 1 Reply Last reply
    0
    • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on
    • CP71C CP71

      Hi all,
      I have compiled a Qt4 i386 on Linux 64 bit, then I have made the install apparently without issues.

      When I try to add qmake in QT Versions in QtCreator I see the following issue and I don’t know why.

      d4dbda48-a850-4d7d-8921-7b26786b60bb-image.png

      The qmake seems to be executable and 32 bits as expected, but I can't add in QtCreator.

      a0470c4a-a651-4caa-bbb7-522080244a14-image.png

      --

      68812fa4-1a45-4d6a-8440-a1587461fc8d-image.png

      Thanks in advance for your help
      CP71

      CP71C Offline
      CP71C Offline
      CP71
      wrote on last edited by CP71
      #2

      Qt : 4.8.7
      qmake: 2.01a
      issue : impossible to add qmake in “Qt versions”
      cause : qmake -query returns only a property ( QT_INSTALL_PREFIX )
      fix : call “qmake -set <property> <data>” for all missed properties

      Ok,
      finally I have found the reason because QtCreator doesn’t add qmake in “Qt Versions”.
      It was not easy, I have had to discover what QtCreator does when someone selects qmake, QtCreator runs “qmake -query” for selected qmake.

      So I have compared the output of two “qmake -query” (one good and one my compiled Qt 4) and I have seen:

      • good qmake provides more proprieties about qt
      • my compiled qmake provides only one property (QT_INSTALL_PREFIX)

      It is very strange for me, because If I require a specific missed property (e.g. “qmake -query QT_INSTALL_BINS”) qmake provides the property info, but it is not be provided if I run “qmake -query”.

      So, the solution that I have found it is run “qmake -set” for all missed properties ( e.g. “qmake -set QT_INSTALL_BINS <folder bin>” ).
      Then when I call “ qmake -query” I see all properties.
      Now I am able to add qmake in QtCreator.

      1 Reply Last reply
      2
      • CP71C CP71 has marked this topic as solved on

      • Login

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