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

Qt Quick applications are broken

    XMLWordPrintable

Details

    Description

      The commit 69d239ef00c57baf5af5c760bfedd5344d1d0090 "Enforce complete method types of QML registered classes" in qtbase breaks QML applications.
      A simple

      Item {
      	visible: true
      }
      

      fails to run with the following error:

      QQmlApplicationEngine failed to load component
      qrc:/main.qml:6:11: Invalid property assignment: unsupported type "QtPrivate::TypeAndForceComplete<bool,std::integral_constant<bool,1>>"
      

       

       

      To build qtdeclarative I had to revert qtbase/53fde3c573737592a02c5e15ad4fe253ac3304a4 "Reimplement QSequentialIterable using QMetaSequence"
      and change

      src/qml/jit/qv4assemblercommon.cpp
      @@ -112,3 +112,3 @@ static void printDisassembledOutputWithCalls(QByteArray processedOutput,
                   processedOutput = processedOutput.insert(
      -                    idx, padding + QByteArray(functionName ? functionName : symbols[it.key()]));
      +                    idx, QByteArray(padding + QByteArray(functionName ? functionName : symbols[it.key()])));
               }
      

      Attachments

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            mkrems Marcel Krems
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes