Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.12.3
-
None
-
Linux on an embedded device using eglfs and Qt.Controls 2.x.
Description
I try to show some dialogs using Qt.labs.platform and this results in output like this:
qt.labs.platform.dialogs: FileDialog -> QObject(0x0)
This should be this code:
bool QQuickPlatformDialog::create() { if (!m_handle) { if (useNativeDialog()) m_handle = QGuiApplicationPrivate::platformTheme()->createPlatformDialogHelper(m_type); if (!m_handle) m_handle = QWidgetPlatform::createDialog(m_type, this); qCDebug(qtLabsPlatformDialogs) << qmlTypeName(this) << "->" << m_handle; if (m_handle) { onCreate(m_handle); connect(m_handle, &QPlatformDialogHelper::accept, this, &QQuickPlatformDialog::accept); connect(m_handle, &QPlatformDialogHelper::reject, this, &QQuickPlatformDialog::reject); } } return m_handle; }
createPlatformDialogHelper() does not appear anywhere inside qtbase/src/plugins/platforms/eglfs/ so I guess this is the culprit.