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. Qt5 build from Git VS2010: Don't know how to make Qt5QmlDevTools.lib
QtWS25 Last Chance

Qt5 build from Git VS2010: Don't know how to make Qt5QmlDevTools.lib

Scheduled Pinned Locked Moved Installation and Deployment
10 Posts 6 Posters 8.1k 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.
  • H Offline
    H Offline
    helloworld922
    wrote on last edited by
    #1

    I'm having troubles building Qt5 with Visual Studio 2010 x64 (stable branch clone of Qt5 git).

    The compiler gives the following error message:

    [quote]NMAKE : fatal error U1073: don't know how to make 'C:\Programs\Qt\qt5\qtbase\lib\Qt5QmlDevTools.lib'[/quote]

    My build setup:

    1. Install VS2010 Ultimate
    2. Install Windows 7.1 SDK
    3. Install DirectX SDK (June 2010)
    4. Run windows update, get various updates including VS2010 SP1
    5. Install msys git, python 3.3, ruby, strawberry perl
    6. Checkout Qt5 source, initialize submodules excluding qwebkit
    7. Configure Qt5 (VS2010 x64 command prompt):
      [quote]configure -debug-and-release -opensource -developer-build -mp -no-warnings-are-errors -confirm-license -nomake tests -nomake webkit[/quote]
    8. Build with nmake

    I've already checked to make sure sh.exe isn't in the search PATH, and a quick Google search hasn't brought up any useful information. I'm running Windows 7 x64.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      peter_pan
      wrote on last edited by
      #2

      I am having a similar issue. Is there a fix ?

      1 Reply Last reply
      0
      • H Offline
        H Offline
        helloworld922
        wrote on last edited by
        #3

        I haven't found one yet.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          Kintoun
          wrote on last edited by
          #4

          Qt5QmlDevTools.lib is a dependency created by QmlDevTools.pro. Something is messed up with the build process. On Mac Qt is not properly creating Makefile.Release and Makefile.Debug for QmlDevTools.pro. I think this a build option that is broken for this pro. On PC these files are being generated but make (or jom) is not using them. Just cd into the QmlDevTools.pro dir and run make on the .Release and .Debug files.

          This has been an issue with stable for about 2 weeks now. Not sure why it hasn't been fixed.

          1 Reply Last reply
          0
          • W Offline
            W Offline
            weiyuemin
            wrote on last edited by
            #5

            the same issue, too.
            I'm running Windows XP (32bit), with Visual Studio 2010 SP1.

            configure using:
            configure -debug-and-release -opensource -opengl desktop -nomake tests -no-vcproj

            build using:
            jom\jom -j4

            1 Reply Last reply
            0
            • W Offline
              W Offline
              weiyuemin
              wrote on last edited by
              #6

              noticed "Note however, that it has issues with module interdependencies, which can cause builds to fail."
              I try build using:
              jom\jom -j1
              still failed.

              And I tried nmake also:

              NMAKE : fatal error U1073: don't know how to make 'D:\Qt\0407stable\qtbase\lib\Q
              t5QmlDevTools.lib'
              Stop.
              NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
              Stop.
              NMAKE : fatal error U1077: 'cd' : return code '0x2'
              Stop.
              NMAKE : fatal error U1077: 'cd' : return code '0x2'
              Stop.
              NMAKE : fatal error U1077: 'cd' : return code '0x2'
              Stop.

              1 Reply Last reply
              0
              • martin_kyM Offline
                martin_kyM Offline
                martin_ky
                wrote on last edited by
                #7

                Hello. Kintoun's solution worked for me. Perhaps to make more clear what he meant (assuming your command line is in your Qt git repo clone root dir):

                @cd qtdeclarative\src\qmldevtools
                nmake debug
                nmake release
                @

                Then go back and retry build on the whole thing:

                @cd ......
                nmake
                @

                Please use nmake instead of jom. jom tends to have dependency problems on complex projects (i.e. builds modules ahead of time when their dependencies are still not finished).

                1 Reply Last reply
                0
                • W Offline
                  W Offline
                  weiyuemin
                  wrote on last edited by
                  #8

                  I used jom on machine A because I failed to install Windows SDK and nmake will fail and error info seemd related to Windows SDK.

                  I used nmake on machine B, and got the same error with helloworld922.

                  I'm trying this solution now, thank you :)

                  1 Reply Last reply
                  0
                  • W Offline
                    W Offline
                    weiyuemin
                    wrote on last edited by
                    #9

                    Build successfully (firstly build qmldevtools, then nmake), thank you :)

                    1 Reply Last reply
                    0
                    • B Offline
                      B Offline
                      bee.
                      wrote on last edited by
                      #10

                      Hi, I had the same problem with Qt5QmlDevTools.lib. When nmake reported an error I went into qtdeclarative\src\qmldevtools and make nmake debug and release and then got back and run nmake again. But there is a new problem:

                      bq. (set QT_PLUGIN_PATH=C:\Qt\qt-everywhere-opensource-src-5.1.0-alpha\qtbas
                      e\plugins;C:\Qt\qt-everywhere-opensource-src-5.1.0-alpha\qtsvg\plugins;C:\Qt\qt-
                      everywhere-opensource-src-5.1.0-alpha\qtdeclarative\plugins;C:\Qt\qt-everywhere-
                      opensource-src-5.1.0-alpha\qtmultimedia\plugins) & (set PATH=C:\Qt\qt-everywhere
                      -opensource-src-5.1.0-alpha\qtactiveqt\lib;C:\Qt\qt-everywhere-opensource-src-5.
                      1.0-alpha\qtbase\lib;%PATH:)=^)%) & C:\Qt\qt-everywhere-opensource-src-5.1.0-alp
                      ha\qtactiveqt\bin\dumpcpp.exe C:\WINDOWS\system32\ieframe.dll -o ieframe
                      NMAKE : fatal error U1077: '(set' : return code '0xc000007b'
                      Stop.
                      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
                      \VC\BIN\nmake.exe"' : return code '0x2'
                      Stop.

                      Has someone got any idea why it behaves like that? Should I run nmake clean before or sth? I'm running Windows 8 x64.

                      Configure Qt5 (VS2012 ×64 command prompt):

                      bq. configure -developer-build -opensource -prefix C:\Qt\Qt5.1

                      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