Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-52225

Windows compilation issues (VC2013, VC2015)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.6.0
    • Fix Version/s: None
    • Component/s: Build System, WebEngine
    • Labels:
      None
    • Environment:
      Windows 7 64-bit, MSVC2010, MSVC2013, MSVC2015

      Description

      Hi all,

      I was trying to build the Qt 5.6.0 sources using msvc2013. My configuration was 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.
      

      Building with MSVC2015 leads to the same errors.
      However, building the same with MSVC2010 works like a charm.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              jbornema Joerg Bornemann
              Reporter:
              enmaniac Albert Banaszkiewicz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes