Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-9088

Cannot run Qt5 projects "Error: Unknown options: qml-runtime"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • QDS 4.0
    • QML Live Preview
    • None
    • f766c2f5d (qds/dev)

    Description

      Steps to reproduce:

      • Create Qt 5.15.5 target project
      • Click Run or Live Preview
      • -> qml app does not open, application output shows
      08:18:07: Starting C:\Users\qt\RTA\QtDesignStudio_4.0.0\Tools\QtDesignStudio-4.0.0-preview\qt5_design_studio_reduced_version\bin\qml2puppet-4.0.0.exe --qml-runtime -I C:/Users/qt/rta_test_projects/Project3DTemplate5/imports -I C:/Users/qt/rta_test_projects/Project3DTemplate5/asset_imports C:/Users/qt/rta_test_projects/Project3DTemplate5/content/App.qml...
      Info: Starting QML Puppet ((null):0, (null))
      Error: Unknown options: qml-runtime, I, I.
      Note: --qml-runtime is only availabe when Qt is 6.4.x or higher
      
      Usage: C:\Users\qt\RTA\QtDesignStudio_4.0.0\Tools\QtDesignStudio-4.0.0-preview\qt5_design_studio_reduced_version\bin\qml2puppet-4.0.0.exe [options]
      QML Runtime Provider for QDS
      
      Options:
        --qml-puppet                                       Run QML Puppet (default)
        --appinfo                                          Print build information
        --test                                             Run test mode
        --readcapturedstream <inputStream, [outputStream]> Read captured stream.
        --rendericon <size, fileName, sourceQml>           Renders icon.
        --import3dAsset <sourceAsset, outDir, importOptJso Import 3d asset.
        n>
        -?, -h, --help                                     Displays help on
                                                           commandline options.
        --help-all                                         Displays help including Qt
                                                           specific options.
        -v, --version                                      Displays version
                                                           information.
      08:18:07: C:\Users\qt\RTA\QtDesignStudio_4.0.0\Tools\QtDesignStudio-4.0.0-preview\qt5_design_studio_reduced_version\bin\qml2puppet-4.0.0.exe exited with code 1 

      Attachments

        For Gerrit Dashboard: QDS-9088
        # Subject Branch Project Status CR V

        Activity

          People

            tjenssen Tim Jenssen
            tanja_remes Tanja Remes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes