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 `make install` Qt compiled from source on Linux
Forum Updated to NodeBB v4.3 + New Features

Can't `make install` Qt compiled from source on Linux

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 2 Posters 1.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.
  • T Offline
    T Offline
    timjrd
    wrote on last edited by
    #1

    Hi, I need to compile the latest version of Qt, so I followed the tutorial on Qt's wiki and everything seemed to work fine except when I finally try to make install which gives me:

    Cannot read /home/timjrd/repos/qt5/qtbase/mkspecs/linux-g++/qmake.conf: No such file or directory
    

    I don't really know what to do. I'm on Ubuntu 16.04.

    Any idea ?
    Thank you :)

    1 Reply Last reply
    0
    • T Offline
      T Offline
      timjrd
      wrote on last edited by
      #3

      Hi, I redid the build from scratch and realized that one must not make install when passing the -developer-build flag to configure.

      Now I can successfully use Qt from the build directory.

      Thank you for your help and sorry for the noobery :)

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

        Hi and welcome to devnet,

        What exact parameters did you pass to configure ?
        Did you do an out of source build ?

        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
        • T Offline
          T Offline
          timjrd
          wrote on last edited by
          #3

          Hi, I redid the build from scratch and realized that one must not make install when passing the -developer-build flag to configure.

          Now I can successfully use Qt from the build directory.

          Thank you for your help and sorry for the noobery :)

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

            Except that a developer build is for people wanting to hack on Qt.

            If you want to use Qt directly from the build folder, you should use -prefix $PWD/qtbase

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

            T 1 Reply Last reply
            0
            • SGaistS SGaist

              Except that a developer build is for people wanting to hack on Qt.

              If you want to use Qt directly from the build folder, you should use -prefix $PWD/qtbase

              T Offline
              T Offline
              timjrd
              wrote on last edited by
              #5

              @SGaist ok, I didn't notice that. Thank you !

              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