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

[REG 5.9.0 -> 5.9.1] Qt Quick Compiler generated code doesn't compile with MSVC2013

    XMLWordPrintable

Details

    Description

      While QTBUG-60604 was fixed in 5.9.0, it broke again in 5.9.1.

      1. Open sensor_explorer example in Creator.
        It's in Examples\Qt-5.9\sensors\sensor_explorer\sensor_explorer.qml
      2. Configure it to use MSVC2013 64 bit in Release mode.
      3. Try to build the project.
        Building fails:
        .qtquickcompiler\sensor_explorer_qml.cpp(1783) : error C2143: Syntaxfehler: Es fehlt ';' vor 'Typ'
        .qtquickcompiler\sensor_explorer_qml.cpp(1783) : error C3409: Ein leerer Attributblock ist nicht zul„ssig
        .qtquickcompiler\sensor_explorer_qml.cpp(1783) : error C2059: Syntaxfehler: '='
        .qtquickcompiler\sensor_explorer_qml.cpp(1783) : error C2143: Syntaxfehler: Es fehlt ';' vor '{'
        .qtquickcompiler\sensor_explorer_qml.cpp(1783) : error C2447: '{': Funktionsheader fehlt - Parameterliste im alten Stil?
        

      It should be possible to build this example. Building succeeds when using any of the following:

      • MSVC2015
      • Qt 5.8
      • disabling Qt Quick Compiler

      Attachments

        Issue Links

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

          Activity

            People

              shausman Simon Hausmann
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes