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. After compiling QT5 ,qmake -v show nothing.

After compiling QT5 ,qmake -v show nothing.

Scheduled Pinned Locked Moved General and Desktop
9 Posts 3 Posters 2.0k 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.
  • F Offline
    F Offline
    fengtianba
    wrote on last edited by
    #1

    Yesterday I compiled QT5 myself, I referred to this tutorial I download QT5 from git repository.Then I run commands as follow.

    git clone git://gitorious.org/qt/qt5.git qt5

    cd qt5
    git checkout stable

    cd qt5
    perl init-repository

    ./configure -developer-build -opensource -nomake examples -nomake tests

    make -j 4

    make install

    no error occured, but after I install QT5 ,I run qmake -v ,nothing appeared.

    What's wrong?

    My OS is xubuntu 12.04.4 LTS

    I will come back soon

    1 Reply Last reply
    0
    • jensen82J Offline
      jensen82J Offline
      jensen82
      wrote on last edited by
      #2

      Is qmake there or is it an unknown command?

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fengtianba
        wrote on last edited by
        #3

        it shows like this:
        The program 'qmake' can be found in the following packages:
        *qt3-dev-tools
        *qt4-qmake

        before I compile QT5, I run apt-get autoremove qt*

        [quote author="jensen82" date="1400226560"]Is qmake there or is it an unknown command? [/quote]

        I will come back soon

        1 Reply Last reply
        0
        • jensen82J Offline
          jensen82J Offline
          jensen82
          wrote on last edited by
          #4

          Is there any output?

          1 Reply Last reply
          0
          • jensen82J Offline
            jensen82J Offline
            jensen82
            wrote on last edited by
            #5

            uppss...so qnmake isn't there. Fact.

            1 Reply Last reply
            0
            • F Offline
              F Offline
              fengtianba
              wrote on last edited by
              #6

              I think so,how can I compile QT5 then?
              [quote author="jensen82" date="1400478424"]uppss...so qnmake isn't there. Fact.[/quote]

              I will come back soon

              1 Reply Last reply
              0
              • jensen82J Offline
                jensen82J Offline
                jensen82
                wrote on last edited by
                #7

                make and and make install. Have you should read the readme-file or installation instructions. But i'm sure you can download binaries for linux, also.

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

                  And if you did "make install" then try to qmake with full path
                  @
                  /path/to/Qt/bin/qmake -v
                  @

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    fengtianba
                    wrote on last edited by
                    #9

                    Let me have a try.
                    [quote author="andreyc" date="1400770439"]And if you did "make install" then try to qmake with full path
                    @
                    /path/to/Qt/bin/qmake -v
                    @[/quote]

                    I will come back soon

                    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