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

Qt5.9.2 MSVC2013 x64: quickcompiler not compiling example

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.2, 5.10.0 Alpha
    • Fix Version/s: None
    • Component/s: Quick: Other
    • Labels:
    • Environment:
      Windows msvc2013 x64

      Description

      Install Qt5.9.2 content from staging server (testclient), launch creator and try to compile example location/mapviewer, build fails with following log:

      cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zi -MDd -W3 -w34100 -w34189 -w44996 -EHsc /Fddebug\qml_location_mapviewer.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_QML_DEBUG -DQT_LOCATION_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\mapviewer -I. -I..\..\..\..\5.9.2\msvc2013_64\include -I..\..\..\..\5.9.2\msvc2013_64\include\QtLocation -I..\..\..\..\5.9.2\msvc2013_64\include\QtQuick -I..\..\..\..\5.9.2\msvc2013_64\include\QtGui -I..\..\..\..\5.9.2\msvc2013_64\include\QtANGLE -I..\..\..\..\5.9.2\msvc2013_64\include\QtQml -I..\..\..\..\5.9.2\msvc2013_64\include\QtNetwork -I..\..\..\..\5.9.2\msvc2013_64\include\QtPositioning -I..\..\..\..\5.9.2\msvc2013_64\include\QtCore -I..\..\..\..\5.9.2\msvc2013_64\include\QtQml\5.9.2 -I..\..\..\..\5.9.2\msvc2013_64\include\QtQml\5.9.2\QtQml -I..\..\..\..\5.9.2\msvc2013_64\include\QtCore\5.9.2 -I..\..\..\..\5.9.2\msvc2013_64\include\QtCore\5.9.2\QtCore -Idebug -I..\..\..\..\5.9.2\msvc2013_64\mkspecs\win32-msvc -Fodebug\ @C:\Users\joaijala\AppData\Local\Temp\forms_RouteCoordinate_qml.obj.7996.265.jom
      
      forms_RouteCoordinate_qml.cpp
      
      .qtquickcompiler\forms_RouteCoordinate_qml.cpp(521) : error C2143: syntax error : missing ';' before 'type'
      
      .qtquickcompiler\forms_RouteCoordinate_qml.cpp(521) : error C3409: empty attribute block is not allowed
      
      .qtquickcompiler\forms_RouteCoordinate_qml.cpp(521) : error C2059: syntax error : '='
      
      .qtquickcompiler\forms_RouteCoordinate_qml.cpp(521) : error C2143: syntax error : missing ';' before '{'
      
      .qtquickcompiler\forms_RouteCoordinate_qml.cpp(521) : error C2447: '{' : missing function header (old-style formal list?)
      
      jom: E:\Qt\Qt_tc_ent\Examples\Qt-5.9.2\location\build-mapviewer-Desktop_Qt_5_9_2_MSVC2013_64bit-Debug\Makefile.Debug [debug\helper_js.obj] Error 2
      
      jom: E:\Qt\Qt_tc_ent\Examples\Qt-5.9.2\location\build-mapviewer-Desktop_Qt_5_9_2_MSVC2013_64bit-Debug\Makefile.Debug [debug\forms_RouteCoordinate_qml.obj] Error 2
      
      jom: E:\Qt\Qt_tc_ent\Examples\Qt-5.9.2\location\build-mapviewer-Desktop_Qt_5_9_2_MSVC2013_64bit-Debug\Makefile.Debug [debug\forms_ReverseGeocode_qml.obj] Error 2
      
      jom: E:\Qt\Qt_tc_ent\Examples\Qt-5.9.2\location\build-mapviewer-Desktop_Qt_5_9_2_MSVC2013_64bit-Debug\Makefile.Debug [debug\forms_RouteAddress_qml.obj] Error 2
      
      jom: E:\Qt\Qt_tc_ent\Examples\Qt-5.9.2\location\build-mapviewer-Desktop_Qt_5_9_2_MSVC2013_64bit-Debug\Makefile.Debug [debug\mapviewer_qml.obj] Error 2
      
      jom: E:\Qt\Qt_tc_ent\Examples\Qt-5.9.2\location\build-mapviewer-Desktop_Qt_5_9_2_MSVC2013_64bit-Debug\Makefile.Debug [debug\forms_GeocodeForm.ui_qml.obj] Error 2
      
      jom: E:\Qt\Qt_tc_ent\Examples\Qt-5.9.2\location\build-mapviewer-Desktop_Qt_5_9_2_MSVC2013_64bit-Debug\Makefile.Debug [debug\forms_RouteList_qml.obj] Error 2
      
      jom: E:\Qt\Qt_tc_ent\Examples\Qt-5.9.2\location\build-mapviewer-Desktop_Qt_5_9_2_MSVC2013_64bit-Debug\Makefile [debug] Error 2
      
      13:38:37: The process "E:\Qt\Qt_tc_ent\Tools\QtCreator\bin\jom.exe" exited with code 2.
      
      Error while building/deploying project mapviewer (kit: Desktop Qt 5.9.2 MSVC2013 64bit)
      
      When executing step "Make"
      

      If project is cleaned and CONFIG += qtquickcompiler removed from pro file, project builds fine.

      Works on linux, MSVC2015 x64 and MSVC2017 x64.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              shausman Simon Hausmann
              Reporter:
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes