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. Build Qt 5.7 beta from source for MSVC2010 32bit
QtWS25 Last Chance

Build Qt 5.7 beta from source for MSVC2010 32bit

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 3.2k 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
    frankiefrank
    wrote on last edited by
    #1

    Hello everyone,

    I am trying to build Qt source for 5.7 beta for my environment (Windows MSVC2010 32 bit).

    I followed the instructions here: http://doc.qt.io/qt-5/windows-building.html

    After installing Pytnon and ActivePerl, I created my path:
    C:\QtSource\5.7b

    I've created this qt5vars.cmd file and modified the path to "vcvarsall.bat", the root directory
    and the QMAKESPEC

    REM Set up \Microsoft Visual Studio 2010, where <arch> is \c amd64, \c x86, etc.
    CALL "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
    SET _ROOT=C:\QtSource\5.7b
    SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%PATH%
    REM Uncomment the below line when using a git checkout of the source repository
    REM SET PATH=%_ROOT%\qtrepotools\bin;%PATH%
    SET QMAKESPEC=win32-msvc2010
    SET _ROOT=
    

    I then ran a shortcut from the desktop with the command:
    C:\Windows\System32\cmd.exe /E:ON /V:ON /k c:\qtsource\qt5vars.cmd

    and the working directory "C:\QtSource\5.7b".

    When I run this I get prompted to accept the license, accept it, but immediately after there is a failure.

    C:\QtSource\5.7b>configure -debug -nomake examples -opensource
    + cd qtbase
    + C:\QtSource\5.7b\qtbase\configure.bat -top-level -debug -nomake examples -open
    source
    
    This is the Qt for Windows Open Source Edition.
    
    You are licensed to use this software under the terms of
    the GNU Lesser General Public License (LGPL) version 3
    or the GNU General Public License (GPL) version 2.
    
    Type 'L' to view the GNU Lesser General Public License version 3 (LGPLv3).
    Type 'G' to view the GNU General Public License version 2 (GPLv2).
    Type 'y' to accept this license offer.
    Type 'n' to decline this license offer.
    
    Do you accept the terms of the license?
    y
    Creating qmake...
    execute: File or path is not found (make)
    execute: File or path is not found (make)
    Cleaning qmake failed, return code -1
    

    Help please?

    "Roads? Where we're going, we don't need roads."

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

      Hi,

      Re-run configure using the -v switch to get more information about what is happening

      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
      • F Offline
        F Offline
        frankiefrank
        wrote on last edited by
        #3

        Tried it now but I'm getting no extra information.

        "Roads? Where we're going, we don't need roads."

        1 Reply Last reply
        0
        • F Offline
          F Offline
          frankiefrank
          wrote on last edited by
          #4
          execute: File or path is not found (make)
          

          Is there a reason this is using make and not for nmake?

          "Roads? Where we're going, we don't need roads."

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

            Just saw something, why do you have gnuwin32 in your PATH ?

            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
              win_
              wrote on last edited by
              #6

              I answer in this thread, because this link is on top 5 of search engine(as for my query).

              So, I've tried all above to Qt 5.7.1 and Qt 5.7.0 both x86 and x64 on Windows 7 with the same result.
              Seems like building with msvc2010 is no longer supported, maybe even in versions below 5.7.0 - didn't checked.

              If you really need Qt for msvc2010 you'd better stick with Qt 5.4.2 or even Qt 4.7.4.

              On Qt 5.4.2 I've faced with some opengl troubles, so entire Qt failed to build - maybe that could be fixed.

              As for Qt 4.7.4 - build process worked like a charm.

              Hope it helps.

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

                Qt 5.7 dropped support for Visual Studio 2010.

                If you still need to use VS 2010 then go with Qt 5.6 which is also an LTS release.

                If you are locked to Qt 4, then please at least use the latest and last version which is 4.8.7.

                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

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved