20 (QPlatformThemeFactoryInterface_iid,
"/platformthemes"_L1, Qt::CaseInsensitive))
22QPlatformTheme *QPlatformThemeFactory::create(
const QString& key,
const QString &platformPluginPath)
24 QStringList paramList = key.split(u':');
25 const QString platform = paramList.takeFirst().toLower();
26 ptLoader->setExtraSearchPath(platformPluginPath);
27 QPlatformTheme *theme = qLoadPlugin<QPlatformTheme, QPlatformThemePlugin>(ptLoader(), platform, paramList);
29 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 } }))