Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    After compiling QT5 ,qmake -v show nothing.

    General and Desktop
    3
    9
    1655
    Loading More Posts
    • 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
      fengtianba last edited by

      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 Reply Quote 0
      • jensen82
        jensen82 last edited by

        Is qmake there or is it an unknown command?

        1 Reply Last reply Reply Quote 0
        • F
          fengtianba last edited by

          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 Reply Quote 0
          • jensen82
            jensen82 last edited by

            Is there any output?

            1 Reply Last reply Reply Quote 0
            • jensen82
              jensen82 last edited by

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

              1 Reply Last reply Reply Quote 0
              • F
                fengtianba last edited by

                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 Reply Quote 0
                • jensen82
                  jensen82 last edited by

                  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 Reply Quote 0
                  • A
                    andreyc last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • F
                      fengtianba last edited by

                      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 Reply Quote 0
                      • First post
                        Last post