Don't run configuration checks for CLI launches
This commit is contained in:
parent
fad197fdce
commit
37b9b6ed9e
2 changed files with 12 additions and 9 deletions
|
|
@ -926,6 +926,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
if (hasGUI) {
|
||||
engine.rootContext()->setContextProperty("initialView", initialView);
|
||||
engine.rootContext()->setContextProperty("runConfigChecks", commandLineParserResult == GlobalCommandLineParser::NormalStartRequested);
|
||||
|
||||
// Load the main.qml file
|
||||
engine.load(QUrl(QStringLiteral("qrc:/gui/main.qml")));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue