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. Qmake error : could not find a Qt installation of ''
Qt 6.11 is out! See what's new in the release blog

Qmake error : could not find a Qt installation of ''

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 3.6k 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.
  • B Offline
    B Offline
    bloodviper9000
    wrote on last edited by
    #1

    Error-

    $ qmake qmake: could not find a Qt installation of ''

    I installed Qt Version 4.8.2

    Partial File of .profile in my home directory

    set PATH so it includes user's private bin if it exists

    if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
    PATH="/usr/local/Trolltech/Qt-4.8.2/bin:$PATH"
    PATH="/home/user/qt-everywhere-opensource-src-4.8.2/bin:$PATH"
    export PATH
    fi

    Output-

    $ which qmake

    /usr/bin/qmake

    Properties
    Name - qmake
    Type - Link to executable (application/x-executable)
    Link Target - qtchooser
    Location - /usr/bin

    qmake is present in this location

    /usr/local/Trolltech/Qt-4.8.2/bin
    Properties

    Name - qmake
    Type - executable (application/x-executable)
    Size - 3.4 MB (3,407,312 bytes)
    Location - /usr/local/Trolltech/Qt-4.8.2/bin


    qmake is also present in this location

    /home/username/qt-everywhere-opensource-src-4.8.2/bin
    Properties

    Name - qmake
    Type - executable (application/x-executable)
    Size - 11.2 MB (11,157,974 bytes)
    Location - /home/username/qt-everywhere-opensource-src-4.8.2/bin


    How to make qmake work? Which one is the correct path for qmake?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      All of them are correct qmakes. You can have as many Qt installations as you need. If you need to use some particular installation then run qmake with full path. For example:
      @
      /home/username/qt-everywhere-opensource-src-4.8.2/bin/qmake
      @

      1 Reply Last reply
      0

      • Login

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