add core profile environment variable
Enables 3druntime scenes at macOS without calling it with extra process arguments. Task-number: QDS-553 Change-Id: I04e59f4f9061eb2a567c65406c5a8195b1896836 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
parent
2486c31e88
commit
14109aaccc
|
@ -522,7 +522,8 @@ int main(int argc, char ** argv)
|
||||||
options.resizeViewToRootItem = true;
|
options.resizeViewToRootItem = true;
|
||||||
else if (lowerArgument == QLatin1String("--multisample"))
|
else if (lowerArgument == QLatin1String("--multisample"))
|
||||||
options.multisample = true;
|
options.multisample = true;
|
||||||
else if (lowerArgument == QLatin1String("--core-profile"))
|
else if (lowerArgument == QLatin1String("--core-profile")
|
||||||
|
|| qEnvironmentVariableIsSet("QMLSCENE_CORE_PROFILE"))
|
||||||
options.coreProfile = true;
|
options.coreProfile = true;
|
||||||
else if (lowerArgument == QLatin1String("--verbose"))
|
else if (lowerArgument == QLatin1String("--verbose"))
|
||||||
options.verbose = true;
|
options.verbose = true;
|
||||||
|
|
Loading…
Reference in New Issue