-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
6.9.1
Attached application creates an object and sets Layout attached property through initial parameters from QML and it works, but trying to do the same from a .js file crashes.
If import statement for QtQuick.Layouts in .qml file is removed it seems to also crash in QML side as well, so it probably relates to it not being known.
1 QV4::Object::put qv4object_p.h 281 0x7ffff7b3b78d 2 QQmlComponentPrivate::setInitialProperty qqmlcomponent.cpp 400 0x7ffff7b3b78d 3 QQmlComponentPrivate::createWithProperties qqmlcomponent.cpp 983 0x7ffff7b3fea3 4 QQmlComponent::createObject qqmlcomponent.cpp 1955 0x7ffff7b40125 7 QQmlObjectOrGadget::metacall qqmlobjectorgadget.cpp 14 0x7ffff7bd129d 9 QV4::QObjectMethod::callPrecise qv4qobjectwrapper.cpp 2076 0x7ffff7a72050 10 operator() qv4qobjectwrapper.cpp 3078 0x7ffff7a73991 11 operator()<QV4::QObjectMethod::callInternal(const QV4::Value *, const QV4::Value *, int) const::<lambda()>> qv4qobjectwrapper.cpp 3055 0x7ffff7a73991 12 QV4::QObjectMethod::callInternal qv4qobjectwrapper.cpp 3078 0x7ffff7a73991 13 QV4::FunctionObject::call qv4functionobject_p.h 187 0x7ffff7adb5df 14 QV4::Moth::VME::interpret qv4vme_moth.cpp 798 0x7ffff7adb5df 15 QV4::Moth::VME::exec qv4vme_moth.cpp 487 0x7ffff7ae0ee3 16 qfoDoCall qv4functionobject.cpp 527 0x7ffff7a183d8 17 QV4::FunctionObject::call qv4functionobject_p.h 187 0x7ffff7adb5df 18 QV4::Moth::VME::interpret qv4vme_moth.cpp 798 0x7ffff7adb5df 19 QV4::Moth::VME::exec qv4vme_moth.cpp 487 0x7ffff7ae0ee3 20 QV4::doCall qv4function.cpp 52 0x7ffff7a1397a
- relates to
-
QTBUG-123861 Passing a string that contains a dot to `QQmlComponent::createWithInitialProperties` will crash the application
-
- Closed
-
For Gerrit Dashboard: QTBUG-138825 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
673127,2 | WIP: be aware of attached properties when setting initial ones | dev | qt/qtdeclarative | Status: NEW | -2 | 0 |
673181,2 | WIP: simplify setInitialProperty and fix crash | dev | qt/qtdeclarative | Status: NEW | -2 | -1 |