Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4.0
-
None
Description
When using the zip project with the qtquickcompiler it will crash. If not using the `qt6_add_qml_module` cmake instruction and just adding resources it will work.
QJSValuePrivate::encode qjsvalue_p.h:69 QJSValuePrivate::setValue qjsvalue_p.h:151 QJSValue::operator= qjsvalue.cpp:866 <lambda_9eb103b7e50936d9410b6178e6a34230>::operator() crash3dquickcompiler_SceneRoot_qml.cpp:442 QmlCacheGeneratedCode::_scene_SceneRoot_qml::wrapCall<<lambda_9eb103b7e50936d9410b6178e6a34230>> crash3dquickcompiler_SceneRoot_qml.cpp:354 <lambda_1c809ca9aa799bf5272e1e7f4d9e33d3>::operator() crash3dquickcompiler_SceneRoot_qml.cpp:454 <lambda_1c809ca9aa799bf5272e1e7f4d9e33d3>::<lambda_invoker_cdecl> crash3dquickcompiler_SceneRoot_qml.cpp:454 QV4::Moth::VME::exec qv4vme_moth.cpp:476 QV4::Function::call qv4function.cpp:40 QQmlJavaScriptExpression::evaluate qqmljavascriptexpression.cpp:270 QQmlBinding::evaluate qqmlbinding_p.h :116 QQmlNonbindingBinding::doUpdate qqmlbinding.cpp:237 QQmlBinding::update qqmlbinding.cpp:165 QQmlBinding::setEnabled qqmlbinding.cpp:636 QQmlObjectCreator::finalize qqmlobjectcreator.cpp:1393 QQmlComponentPrivate::complete qqmlcomponent.cpp:1019 QQmlComponentPrivate::completeCreate qqmlcomponent.cpp:1112 QQmlComponent::completeCreate qqmlcomponent.cpp:1099 QQmlComponent::create qqmlcomponent.cpp:830 QQmlApplicationEnginePrivate::finishLoad qqmlapplicationengine.cpp:122 QQmlApplicationEnginePrivate::startLoad qqmlapplicationengine.cpp:106 QQmlApplicationEngine::load qqmlapplicationengine.cpp:287 main main.cpp:38 invoke_main exe_common.inl:79 __scrt_common_main_seh exe_common.inl:288 __scrt_common_main exe_common.inl:331 mainCRTStartup exe_main.cpp:17 BaseThreadInitThunk KERNEL32 RtlUserThreadStart ntdll
Attachments
Issue Links
- duplicates
-
QTBUG-111986 qmlsc generates invalid code
- Closed