Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Trouble building Qt Creator from GIT, Project MESSAGE: Cannot build Qt Creator with Qt version 4.8.7.
Forum Update on Monday, May 27th 2025

Trouble building Qt Creator from GIT, Project MESSAGE: Cannot build Qt Creator with Qt version 4.8.7.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 1.1k 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.
  • L Offline
    L Offline
    lkurtzberg
    wrote on 25 Jan 2017, 21:34 last edited by
    #1

    Hello! I am a beginner!
    I am attempting to install Qt Creator using the instructions at this link: https://wiki.qt.io/Building_Qt_Creator_from_Git
    I have Ubuntu 16.04 and I am seeing the problem that is mentioned in the instructions: it says "If the output of qmake -v points to a wrong version of Qt, or returns an error, you need to show the qmake binary to your environment (it may also mean that something is wrong with your Qt installation). You need to modify your PATH environment variable to include the directory with the qmake executable, e.g. <Qt installation directory>/qtbase/bin." How do I modify the PATH environment variable correctly? I know I need to edit ~/.profile but I don't know what to write there.

    My output for qmake -v is
    QMake version 2.01a
    Using Qt version 4.8.7 in /usr/lib/x86_64-linux-gnu

    If I try to run qmake -r I get the following error:
    Project MESSAGE: Cannot build Qt Creator with Qt version 4.8.7.
    Project ERROR: Use at least Qt 5.6.0.
    I got the same error when I tried to install Qt Creator from the qt-creator-opensource-src-4.2.1.tar.gz file

    I installed QT binary packages from source using the instructions in the README in qt-everywhere-opensource-src-5.8.0.tar.gz

    I am very confused, any help is appreciated!
    -Laura

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 25 Jan 2017, 22:48 last edited by
      #2

      Hi and welcome to devnet,

      Qt Creator requires now a series 5 version of Qt. Since you also built Qt yourself, simply use the fullpath to that Qt version's qmake when trying to build Qt Creator.

      Out of curiosity, any reason for not using the pre-built package ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      1/2

      25 Jan 2017, 21:34

      • 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