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. Getting qmake.exe while building Qt with Visual Studio 12.0 compliler
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 1.8k 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.
  • W Offline
    W Offline
    WolWer1nE
    wrote on last edited by
    #1

    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.

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

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

      What version of Qt you are building?

      1 Reply Last reply
      0
      • W Offline
        W Offline
        WolWer1nE
        wrote on last edited by
        #3

        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]

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

          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

          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
          0
          • W Offline
            W Offline
            WolWer1nE
            wrote on last edited by
            #5

            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]

            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