Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
6.0
-
None
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()]))); }