Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
QDS 4.0, QDS 4.0.1
Description
Qt DS 4.0 now wraps command line arguments in double quotes, which breaks the QML Runtime behaviour.
Steps to reproduce
- Load the attached project
- In the Run Settings, add "-S custom" (without quotes) as the "Command line arguments"
- Click "Run" (Ctrl+R)
Expected outcomes (Qt DS 3.9.0)
The application window shows the text, "Custom Selected Screen"
The Application Output pane (Alt+3) shows:
(Qt 5 kit)
Starting C:\Qt\Tools\QtDesignStudio\qt5_design_studio_reduced_version\bin\qmlscene.exe -S custom C:/Test/QtDSSelector/content/App.qml...
(Qt 6 kit)
Starting C:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\bin\qml.exe -S custom C:/Test/QtDSSelector/content/App.qml...
Actual outcomes (Qt DS 4.0.0), Qt 5 kit
The application window shows the text, "Default Screen"
The Application Output pane (Alt+3) shows:
Starting C:\Qt\Tools\QtDesignStudio\qt5_design_studio_reduced_version\bin\qmlscene.exe "-S custom" C:/Test/QtDSSelector/content/App.qml...
Actual outcomes (Qt DS 4.0.0), Qt 6 kit
The application window does not appear at all.
The Application Output pane (Alt+3) shows:
Starting C:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\bin\qml2puppet-4.0.0.exe --qml-runtime "-S custom" C:/Test/QtDSSelector/content/App.qml... ... Error: Unknown option 'S custom'.