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. make: uic-qt5: Command not found
Forum Updated to NodeBB v4.3 + New Features

make: uic-qt5: Command not found

Scheduled Pinned Locked Moved General and Desktop
error 127
6 Posts 2 Posters 7.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
    Vasan
    wrote on last edited by
    #1

    Hi!
    I am trying to build a file and run the output. When I am in the source folder and run "make all" I get the following error:

    uic-qt5 main_host.ui -o ui_main_host.h
    make: uic-qt5: Command not found
    make: *** [ui_main_host.h] Error 127

    Can someone help me with this!? Much appreciated!

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

      Hi and welcome to devnet,

      Which OS are you using ? How did you install Qt ?

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

      V 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Which OS are you using ? How did you install Qt ?

        V Offline
        V Offline
        Vasan
        wrote on last edited by
        #3

        @SGaist Hi! Thank you! :)

        I am using Ubuntu 14.04. I installed qt5.3 by using:

        wget http://download.qt-project.org/official_releases/qt/5.3/5.3.0/qt-opensource-linux-x64-5.3.0.run

        chmod +x qt-opensource-linux-x64-5.3.0.run

        ./qt-opensource-linux-x64-5.3.0.run

        I have tried it on 12.04 and installing via Software center too. But I get the same error. :(

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

          AFAIK, the uic-qt5 is the name used by Ubuntu to distinguish between Qt4 and Qt5 installs on the system so it looks like you have a mix or something.

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

          V 1 Reply Last reply
          0
          • SGaistS SGaist

            AFAIK, the uic-qt5 is the name used by Ubuntu to distinguish between Qt4 and Qt5 installs on the system so it looks like you have a mix or something.

            V Offline
            V Offline
            Vasan
            wrote on last edited by
            #5

            @SGaist Oh! what would be a solution to that? I am not very well experienced with Linux. :(

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

              If you don't want to use your distribution's Qt just remove it, if you want to have both, then start by removing the one you downloaded, then check that you have all Qt 5 dev related packages installed then you can re-install the one from qt.io

              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
              0

              • Login

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