You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sailfish-qml currently only accepts one possitional argument, which is the application name. Appending any additional arguments results in an error. This prevents application that are being launched by sailfish-qml from receiving custom CLI argument and options.
Suggestion:
arguments passed after the application name should be added to argv, example:
sailfish.qml harbour-foo --bar baz
should result in Qt.application.arguments being equal to:
sailfish-qml,harbour-modrana,-bar,baz
if [bug] --help and --version options are interpretted as input #14 is fixed, my suggestion is to only handle --help and --version if no application name is provided, if application name is provided --help and --version should be added to agv and not handled so that the application can handle it itself
if [RFE] add support for appending to QML import path to sailfish-qml #15 is fixed, the import path option flag & path should be handled & appened to argv, which is what qmlscene does & the flag should be something that does not collide with often used flag names, for example -I as with qmlscene or --qml_import_path_append
Usecase:
The modRana navigation system has various command line options and if sailfish-qml adds support for option passing, it will be possible for users and
other applications to make use of them. For example:
sailfish-qml currently only accepts one possitional argument, which is the application name. Appending any additional arguments results in an error. This prevents application that are being launched by sailfish-qml from receiving custom CLI argument and options.
Suggestion:
Usecase:
The modRana navigation system has various command line options and if sailfish-qml adds support for option passing, it will be possible for users and
other applications to make use of them. For example:
or
The text was updated successfully, but these errors were encountered: