Getting qmake.exe while building Qt with Visual Studio 12.0 compliler



  • Hello everyone.
    I tried to build Qt with Visual Studio 12.0 compliler (MS VS 2013) using "This manual":http://qt-project.org/wiki/Building_Qt_5_from_Git.
    Currently i am on this step:
    @> configure -developer-build -opensource -confirm-license -nomake examples -nomake tests -opengl desktop@
    As far as I can see from console output, it tries to build a qmake.exe in qtbase directory.
    Here is a pic from console:
    !http://i62.fastpic.ru/big/2014/0521/cd/b720dcaafcdd6003cbc7e7abd53651cd.png!

    Last error in Russian means that there is no qmake.exe in this directory.
    So, how do i get it and what possible reasons for its absence?
    I have installed Qt wth MinGW and there is a qmake.exe there, but i am not sure if it can be used in this case.



  • The "this manual" link is not correct. It points to your message.

    What version of Qt you are building?



  • Updated the link, thanks for noticing.
    I am Qt 5, not sure what subversion, it was obtained with this code today:
    @

    git clone git://gitorious.org/qt/qt5.git qt5
    cd qt5
    git checkout stable
    perl init-repository
    @

    Also, I tried qmake.exe from MinGW version of Qt that was already installed on my PC (it is qmake.exe 3.0) and new error is about android NDK. I am not sure is it mandatory to add android NDK to my build of Qt (i don't need it). Also, i am not sure about adding qmake.exe manually, maybe it was a mistake.

    [quote author="andreyc" date="1400694508"]The "this manual" link is not correct. It points to your message.

    What version of Qt you are building?[/quote]


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    The first thing I would try is to change the name of your path. Qt+VS13 looks like a good candidate to path hell. Rather an underscore (don't use spaces)

    Hope it helps



  • Thanks, i totally agree that using + in path wasn't good idea.
    Changed!
    It really helped. Thanks a lot!
    A little more explanation:
    Correct version of qmake.exe was generated after I changed the path and re-run configuring command.
    [quote author="SGaist" date="1400701357"]Hi and welcome to devnet,

    The first thing I would try is to change the name of your path. Qt+VS13 looks like a good candidate to path hell. Rather an underscore (don't use spaces)

    Hope it helps[/quote]


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.