Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

After compiling QT5 ,qmake -v show nothing.



  • 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



  • Is qmake there or is it an unknown command?



  • 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]



  • Is there any output?



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



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



  • 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.



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



  • 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]


Log in to reply