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. Qt 5.6.0 building on Windows 7 and MSVC 2013 issue
QtWS25 Last Chance

Qt 5.6.0 building on Windows 7 and MSVC 2013 issue

Scheduled Pinned Locked Moved Solved Installation and Deployment
qt 5.6.0windows 7 64 bimsvc2013build
9 Posts 5 Posters 4.6k 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.
  • E Offline
    E Offline
    enmaniac
    wrote on 23 Mar 2016, 18:45 last edited by enmaniac
    #1

    Hi all,

    I am trying to build the sources (as in a topic). My configuration is as follows:

    configure -confirm-license -prefix %QT_DIST% -icu -nomake tests -opensource -opengl desktop -developer-build
    

    At some point during the build I got these error messages:

    FAILED: C:\Python27\python.exe gyp-win-tool action-wrapper environment.x86 QtWebEngineCore_target_moc_authentication_dialog_controller_cpp_77b3603f3e0b4538e38cc
    350a4bda9c0..rsp e:/qt/qt-everywhere-opensource-src-5.6.0/qtwebengine\src\core
    moc: Cannot open options file specified with @
    QCommandLineParser: argument list cannot be empty, it should contain at least the executable name
    
    [11953/12030] ACTION QtWebEngineCore: location_provider_qt.moc_77b3603f3e0b4538e38cc350a4bda9c0
    FAILED: C:\Python27\python.exe gyp-win-tool action-wrapper environment.x86 QtWebEngineCore_target_location_provider_qt_moc_77b3603f3e0b4538e38cc350a4bda9c0..rsp
     e:/qt/qt-everywhere-opensource-src-5.6.0/qtwebengine\src\core
    moc: Cannot open options file specified with @
    QCommandLineParser: argument list cannot be empty, it should contain at least the executable name
    
    [11953/12030] ACTION QtWebEngineCore: moc_clipboard_qt.cpp_77b3603f3e0b4538e38cc350a4bda9c0
    FAILED: C:\Python27\python.exe gyp-win-tool action-wrapper environment.x86 QtWebEngineCore_target_moc_clipboard_qt_cpp_77b3603f3e0b4538e38cc350a4bda9c0..rsp e:/
    qt/qt-everywhere-opensource-src-5.6.0/qtwebengine\src\core
    moc: Cannot open options file specified with @
    QCommandLineParser: argument list cannot be empty, it should contain at least the executable name
    
    [11953/12030] ACTION QtWebEngineCore: web_engine_settings.moc_77b3603f3e0b4538e38cc350a4bda9c0
    FAILED: C:\Python27\python.exe gyp-win-tool action-wrapper environment.x86 QtWebEngineCore_target_web_engine_settings_moc_77b3603f3e0b4538e38cc350a4bda9c0..rsp
    e:/qt/qt-everywhere-opensource-src-5.6.0/qtwebengine\src\core
    moc: Cannot open options file specified with @
    QCommandLineParser: argument list cannot be empty, it should contain at least the executable name
    
    [11953/12030] ACTION QtWebEngineCore: moc_javascript_dialog_controller.cpp_77b3603f3e0b4538e38cc350a4bda9c0
    FAILED: C:\Python27\python.exe gyp-win-tool action-wrapper environment.x86 QtWebEngineCore_target_moc_javascript_dialog_controller_cpp_77b3603f3e0b4538e38cc350a
    4bda9c0..rsp e:/qt/qt-everywhere-opensource-src-5.6.0/qtwebengine\src\core
    moc: Cannot open options file specified with @
    QCommandLineParser: argument list cannot be empty, it should contain at least the executable name
    
    [11953/12030] ACTION QtWebEngineCore: moc_file_picker_controller.cpp_77b3603f3e0b4538e38cc350a4bda9c0
    FAILED: C:\Python27\python.exe gyp-win-tool action-wrapper environment.x86 QtWebEngineCore_target_moc_file_picker_controller_cpp_77b3603f3e0b4538e38cc350a4bda9c
    0..rsp e:/qt/qt-everywhere-opensource-src-5.6.0/qtwebengine\src\core
    moc: Cannot open options file specified with @
    QCommandLineParser: argument list cannot be empty, it should contain at least the executable name
    
    [11953/12030] ACTION QtWebEngineCore: moc_url_request_custom_job_delegate.cpp_77b3603f3e0b4538e38cc350a4bda9c0
    FAILED: C:\Python27\python.exe gyp-win-tool action-wrapper environment.x86 QtWebEngineCore_target_moc_url_request_custom_job_delegate_cpp_77b3603f3e0b4538e38cc3
    50a4bda9c0..rsp e:/qt/qt-everywhere-opensource-src-5.6.0/qtwebengine\src\core
    moc: Cannot open options file specified with @
    QCommandLineParser: argument list cannot be empty, it should contain at least the executable name
    
    [11953/12030] ACTION QtWebEngineCore: moc_gl_context_qt.cpp_77b3603f3e0b4538e38cc350a4bda9c0
    FAILED: C:\Python27\python.exe gyp-win-tool action-wrapper environment.x86 QtWebEngineCore_target_moc_gl_context_qt_cpp_77b3603f3e0b4538e38cc350a4bda9c0..rsp e:
    /qt/qt-everywhere-opensource-src-5.6.0/qtwebengine\src\core
    moc: Cannot open options file specified with @
    QCommandLineParser: argument list cannot be empty, it should contain at least the executable name
    
    ninja: build stopped: subcommand failed.
    NMAKE : fatal error U1077: 'E:\Qt\build-5.6.0-msvc2013_x86\qtwebengine\src\3rdparty\ninja\ninja.exe' : return code '0x1'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '(' : 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.
    

    I am not really sure what is wrong. Building the same with MSVC 2010 works like a charm.

    Is there anyone who can share some thoughts on this one, please ?

    Thanks in advance

    Cheers!

    1 Reply Last reply
    1
    • S Offline
      S Offline
      sandy.martel23
      wrote on 24 Mar 2016, 00:00 last edited by
      #2

      @enmaniac said:

      moc: Cannot open options file specified with @

      Same problem here with VS2015 64bits build.

      1 Reply Last reply
      0
      • - Offline
        - Offline
        -qutp-
        wrote on 29 Mar 2016, 14:41 last edited by
        #3

        same problem here, building Qt 5.6 on Windows 7 64bit with Visual Studio 2015 Update 1

        1 Reply Last reply
        0
        • L Offline
          L Offline
          Lestat
          wrote on 30 Mar 2016, 07:03 last edited by Lestat
          #4

          Same for me. Windows 7 64 bit, VS2015 Update 1 and 32 bit build (shadow build). :(

          1 Reply Last reply
          0
          • E Offline
            E Offline
            enmaniac
            wrote on 30 Mar 2016, 09:45 last edited by
            #5

            I have created bug report for this. Hopefully, it will be resolved.

            https://bugreports.qt.io/browse/QTBUG-52225

            Cheers!

            S 1 Reply Last reply 30 Mar 2016, 11:10
            0
            • E enmaniac
              30 Mar 2016, 09:45

              I have created bug report for this. Hopefully, it will be resolved.

              https://bugreports.qt.io/browse/QTBUG-52225

              S Offline
              S Offline
              sandy.martel23
              wrote on 30 Mar 2016, 11:10 last edited by
              #6

              @enmaniac

              I asked on the dev mailing list. There is already a bug report:

              https://bugreports.qt.io/browse/QTBUG-51847

              Apparently, it works if you compile from git, the zip is badly packaged and some files have the wrong line ending.

              I'll verify that in the next few hours.

              E 1 Reply Last reply 31 Mar 2016, 10:37
              0
              • S sandy.martel23
                30 Mar 2016, 11:10

                @enmaniac

                I asked on the dev mailing list. There is already a bug report:

                https://bugreports.qt.io/browse/QTBUG-51847

                Apparently, it works if you compile from git, the zip is badly packaged and some files have the wrong line ending.

                I'll verify that in the next few hours.

                E Offline
                E Offline
                enmaniac
                wrote on 31 Mar 2016, 10:37 last edited by
                #7

                @sandy.martel23

                Yeah, I have noticed they closed my ticket as duplicate.
                I have never tried to build QT from GIT before.

                Is it preferred way of compiling sources ?

                Cheers!

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 31 Mar 2016, 19:09 last edited by
                  #8

                  Hi,

                  No need to compile Qt completely, just clone the module from code.qt.io and use the usual combo: qmake/make/make install

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  E 1 Reply Last reply 1 Apr 2016, 10:29
                  0
                  • SGaistS SGaist
                    31 Mar 2016, 19:09

                    Hi,

                    No need to compile Qt completely, just clone the module from code.qt.io and use the usual combo: qmake/make/make install

                    E Offline
                    E Offline
                    enmaniac
                    wrote on 1 Apr 2016, 10:29 last edited by
                    #9

                    @SGaist Thx I will give it a try.

                    I am closing it as solved since the issue has been reported for bug-fixing and there are other options to make it work.

                    Cheers!

                    1 Reply Last reply
                    0

                    1/9

                    23 Mar 2016, 18:45

                    • Login

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