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. can't find qt5 commands
Forum Updated to NodeBB v4.3 + New Features

can't find qt5 commands

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 659 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.
  • shlomiagS Offline
    shlomiagS Offline
    shlomiag
    wrote on last edited by shlomiag
    #1

    I've downloaded the 5.7 source files for ubuntu 16.04 linux, run './configure', 'make' and 'sudo make install'
    They all passed
    However, when I try to run 'qmake' it says:

    qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
    

    So probably qt4 is somehow installed, or installing qt5 didn't work.
    I tried to uninstall qt4-default, but it wasn't installed

    What else am I missing?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Qt doesn't install itself in a system path to avoid any problem like replacing your distribution provided Qt.

      You have to use the full path to the qmake binary in order to use it. You can also add the path to the folder where your custom built qmake can be found to the PATH environment variable.

      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
      1

      • Login

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