-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0
-
None
-
Windows 10
-
460df286548cae41bdb22a5499ab442202b4e9ea
How to reproduce:
1) Create a new Qt Quick 2 Application using Qt Creator
2) Add the "import QtQuick.Controls.Material 2.0" and choose Material style
2) Drag a TextInput onto the canvas in Qt Quick Designer
3) The qml2puppet crashes in the TextInput constructor (see stacktrace).
Without the QtQuick.Controls 2 import TextInput does work.
It seems like something is not properly initialized in qml2puppet (QQuickProxyTheme).
Any ideas?
Qt5QuickControls2d.dll!QQuickProxyTheme::themeHint(QPlatformTheme::ThemeHint hint) Line 129 C++
Qt5Guid.dll!themeableHint(QPlatformTheme::ThemeHint th, QPlatformIntegration::StyleHint ih) Line 62 C++
Qt5Guid.dll!QStyleHints::passwordMaskCharacter() Line 376 C++
Qt5Quickd.dll!QQuickTextInputPrivate::QQuickTextInputPrivate() Line 133 C++
Qt5Quickd.dll!QQuickTextInput::QQuickTextInput(QQuickItem * parent) Line 93 C++
[External Code]
Qt5Quickd.dll!QQmlPrivate::createInto<QQuickTextInput>(void * memory) Line 108 C++
Qt5Qmld.dll!QQmlType::create() Line 746 C++
| For Gerrit Dashboard: QTBUG-54995 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 168897,3 | QQuickStylePlugin: avoid re-creating the proxy theme | 5.7 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |