From bcff32756504cc853ccf7265d7fdf46e734f1986 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 22 Mar 2019 19:21:04 -0700 Subject: [PATCH] Use QRC URLs for the initialView value to fix loading from the QRC blob --- app/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/main.cpp b/app/main.cpp index fe0b431c..928a2e7d 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -370,11 +370,11 @@ int main(int argc, char *argv[]) GlobalCommandLineParser parser; switch (parser.parse(app.arguments())) { case GlobalCommandLineParser::NormalStartRequested: - initialView = "PcView.qml"; + initialView = "qrc:/gui/PcView.qml"; break; case GlobalCommandLineParser::StreamRequested: { - initialView = "CliStartStreamSegue.qml"; + initialView = "qrc:/gui/CliStartStreamSegue.qml"; StreamingPreferences* preferences = new StreamingPreferences(&app); StreamCommandLineParser streamParser; streamParser.parse(app.arguments(), preferences); @@ -386,7 +386,7 @@ int main(int argc, char *argv[]) } case GlobalCommandLineParser::QuitRequested: { - initialView = "CliQuitStreamSegue.qml"; + initialView = "qrc:/gui/CliQuitStreamSegue.qml"; QuitCommandLineParser quitParser; quitParser.parse(app.arguments()); auto launcher = new CliQuitStream::Launcher(quitParser.getHost(), &app);