21 (QPlatformThemeFactoryInterface_iid,
"/platformthemes"_L1, Qt::CaseInsensitive))
23QPlatformTheme *QPlatformThemeFactory::create(
const QString& key,
const QString &platformPluginPath)
25 QStringList paramList = key.split(u':');
26 const QString platform = paramList.takeFirst().toLower();
27 ptLoader->setExtraSearchPath(platformPluginPath);
28 QPlatformTheme *theme = qLoadPlugin<QPlatformTheme, QPlatformThemePlugin>(ptLoader(), platform, paramList);
30 theme->d_func()->name = key;
Q_GLOBAL_STATIC_WITH_ARGS(PermissionStatusHash, g_permissionStatusHash,({ { qMetaTypeId< QCameraPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QMicrophonePermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QBluetoothPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QContactsPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QCalendarPermission >(), Qt::PermissionStatus::Undetermined }, { qMetaTypeId< QLocationPermission >(), Qt::PermissionStatus::Undetermined } }))