Lua: Remove unsupported Flags

State and GenericStateLocation are only supported with
Qt 6.7 and onwards

Change-Id: I48490a090c04185706b793b70238037393a5d7bf
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Marcus Tillmanns
2024-10-07 12:26:15 +02:00
committed by Jarek Kobus
parent d245374da7
commit 0f1526ed25
2 changed files with 2 additions and 7 deletions

View File

@@ -152,11 +152,8 @@ void setupQtModule()
"AppDataLocation", QStandardPaths::AppDataLocation, "AppDataLocation", QStandardPaths::AppDataLocation,
"AppConfigLocation", QStandardPaths::AppConfigLocation, "AppConfigLocation", QStandardPaths::AppConfigLocation,
"PublicShareLocation", QStandardPaths::PublicShareLocation, "PublicShareLocation", QStandardPaths::PublicShareLocation,
"TemplatesLocation", QStandardPaths::TemplatesLocation, "TemplatesLocation", QStandardPaths::TemplatesLocation
"StateLocation", QStandardPaths::StateLocation, ));
"GenericStateLocation", QStandardPaths::GenericStateLocation
)
);
// clang-format on // clang-format on
return qt; return qt;

View File

@@ -134,8 +134,6 @@ qt.QStandardPaths = {
AppConfigLocation = 0, AppConfigLocation = 0,
PublicShareLocation = 0, PublicShareLocation = 0,
TemplatesLocation = 0, TemplatesLocation = 0,
StateLocation = 0,
GenericStateLocation = 0,
} }
} }