Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to install the Qt6 version of the QML Runtime Tool?

How to install the Qt6 version of the QML Runtime Tool?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
5 Posts 2 Posters 613 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RokeJulianLockhart
    wrote on 24 Apr 2024, 13:50 last edited by RokeJulianLockhart 2 Dec 2025, 22:26
    #1

    As github.com/qt/qtdoc/blob/6f57506953cc1efaf474368393ecb1df38c9f46a/doc/src/qmlapp/qml.qdoc explains, the qml tool has allowed me in the past (when developing with Qt5) to run .QML files from the terminal, without needing to get IDE-specific stuff like github.com/orcun-gokbulut/qml-debug/blob/69b74cf92e547fb7383f8aa6f03ddea71fadfd4b/README.md#description working.

    However, although installing qt5-qtdeclarative-5.15.13-1.fc40 allows me to run qml, I intend to utilize Qt6, and qt6-qtdeclarative-6.7.0-2.fc40 does not install the qml binary to qEnvironmentVariable("PATH"):

    1. #!/usr/bin/env sh
      dnf provides qml
      
    2. dnf provides qml
      Updating and loading repositories:
       Fedora 41 - x86_64 - Updates                                                                                                                                                                                                                                                      100% |   3.2 MiB/s |  26.1 MiB |  00m08s
       RPM Fusion for Fedora 41 - Free tainted                                                                                                                                                                                                                                           100% |  67.3 KiB/s |  16.4 KiB |  00m00s
       ProtonVPN Fedora Beta repository                                                                                                                                                                                                                                                  100% |  76.3 KiB/s |  25.6 KiB |  00m00s
       RPM Fusion for Fedora 41 - Nonfree - Updates                                                                                                                                                                                                                                      100% | 429.4 KiB/s | 127.5 KiB |  00m00s
       warpdotdev                                                                                                                                                                                                                                                                        100% |  13.2 KiB/s |   4.1 KiB |  00m00s
       Fedora 41 - x86_64                                                                                                                                                                                                                                                                100% |   3.1 MiB/s |  62.0 MiB |  00m20s
       Visual Studio Code                                                                                                                                                                                                                                                                100% |   2.8 MiB/s |   6.2 MiB |  00m02s
       RPM Fusion for Fedora 41 - Nonfree tainted                                                                                                                                                                                                                                        100% |  83.6 KiB/s |  19.9 KiB |  00m00s
       google-chrome-canary                                                                                                                                                                                                                                                              100% |   6.7 KiB/s |   7.6 KiB |  00m01s
       Fedora 41 openh264 (From Cisco) - x86_64                                                                                                                                                                                                                                          100% |   8.4 KiB/s |   8.6 KiB |  00m01s
       RPM Fusion for Fedora 41 - Nonfree                                                                                                                                                                                                                                                100% | 497.5 KiB/s | 297.0 KiB |  00m01s
       RPM Fusion for Fedora 41 - Free                                                                                                                                                                                                                                                   100% | 883.9 KiB/s | 569.2 KiB |  00m01s
       Copr repo for Koi owned by birkch                                                                                                                                                                                                                                                 100% |  10.1 KiB/s |   5.8 KiB |  00m01s
       RPM Fusion for Fedora 41 - Free - Updates                                                                                                                                                                                                                                         100% | 654.2 KiB/s | 187.1 KiB |  00m00s
      Repositories loaded.
      qt5-qtdeclarative-devel-5.15.15-1.fc41.i686 : Development files for qt5-qtdeclarative
      Repo         : fedora
      Matched From : 
      Filename     : /usr/bin/qml
      
      qt5-qtdeclarative-devel-5.15.15-1.fc41.x86_64 : Development files for qt5-qtdeclarative
      Repo         : fedora
      Matched From : 
      Filename     : /usr/bin/qml
      

    Consequently, how am I to acquire the QML Runtime Tool for Qt6?

    When using a forum, remember to tag the person you are responding to, in case they are not subscribed to the thread.

    G R 2 Replies Last reply 24 Apr 2024, 15:50
    0
    • R RokeJulianLockhart
      12 Feb 2025, 22:29

      @RokeJulianLockhart, filed at bugzilla.redhat.com/show_bug.cgi?id=2345428.

      R Offline
      R Offline
      RokeJulianLockhart
      wrote on 13 Feb 2025, 19:51 last edited by
      #5

      @RokeJulianLockhart, per bugzilla.redhat.com/show_bug.cgi?id=2345428#c1:

      The real binary is installed into /usr/lib64/qt6/bin/qml, and symlinked to /usr/bin as qml-qt6 to not conflict with the Qt5 version.

      When using a forum, remember to tag the person you are responding to, in case they are not subscribed to the thread.

      1 Reply Last reply
      0
      • R RokeJulianLockhart
        24 Apr 2024, 13:50

        As github.com/qt/qtdoc/blob/6f57506953cc1efaf474368393ecb1df38c9f46a/doc/src/qmlapp/qml.qdoc explains, the qml tool has allowed me in the past (when developing with Qt5) to run .QML files from the terminal, without needing to get IDE-specific stuff like github.com/orcun-gokbulut/qml-debug/blob/69b74cf92e547fb7383f8aa6f03ddea71fadfd4b/README.md#description working.

        However, although installing qt5-qtdeclarative-5.15.13-1.fc40 allows me to run qml, I intend to utilize Qt6, and qt6-qtdeclarative-6.7.0-2.fc40 does not install the qml binary to qEnvironmentVariable("PATH"):

        1. #!/usr/bin/env sh
          dnf provides qml
          
        2. dnf provides qml
          Updating and loading repositories:
           Fedora 41 - x86_64 - Updates                                                                                                                                                                                                                                                      100% |   3.2 MiB/s |  26.1 MiB |  00m08s
           RPM Fusion for Fedora 41 - Free tainted                                                                                                                                                                                                                                           100% |  67.3 KiB/s |  16.4 KiB |  00m00s
           ProtonVPN Fedora Beta repository                                                                                                                                                                                                                                                  100% |  76.3 KiB/s |  25.6 KiB |  00m00s
           RPM Fusion for Fedora 41 - Nonfree - Updates                                                                                                                                                                                                                                      100% | 429.4 KiB/s | 127.5 KiB |  00m00s
           warpdotdev                                                                                                                                                                                                                                                                        100% |  13.2 KiB/s |   4.1 KiB |  00m00s
           Fedora 41 - x86_64                                                                                                                                                                                                                                                                100% |   3.1 MiB/s |  62.0 MiB |  00m20s
           Visual Studio Code                                                                                                                                                                                                                                                                100% |   2.8 MiB/s |   6.2 MiB |  00m02s
           RPM Fusion for Fedora 41 - Nonfree tainted                                                                                                                                                                                                                                        100% |  83.6 KiB/s |  19.9 KiB |  00m00s
           google-chrome-canary                                                                                                                                                                                                                                                              100% |   6.7 KiB/s |   7.6 KiB |  00m01s
           Fedora 41 openh264 (From Cisco) - x86_64                                                                                                                                                                                                                                          100% |   8.4 KiB/s |   8.6 KiB |  00m01s
           RPM Fusion for Fedora 41 - Nonfree                                                                                                                                                                                                                                                100% | 497.5 KiB/s | 297.0 KiB |  00m01s
           RPM Fusion for Fedora 41 - Free                                                                                                                                                                                                                                                   100% | 883.9 KiB/s | 569.2 KiB |  00m01s
           Copr repo for Koi owned by birkch                                                                                                                                                                                                                                                 100% |  10.1 KiB/s |   5.8 KiB |  00m01s
           RPM Fusion for Fedora 41 - Free - Updates                                                                                                                                                                                                                                         100% | 654.2 KiB/s | 187.1 KiB |  00m00s
          Repositories loaded.
          qt5-qtdeclarative-devel-5.15.15-1.fc41.i686 : Development files for qt5-qtdeclarative
          Repo         : fedora
          Matched From : 
          Filename     : /usr/bin/qml
          
          qt5-qtdeclarative-devel-5.15.15-1.fc41.x86_64 : Development files for qt5-qtdeclarative
          Repo         : fedora
          Matched From : 
          Filename     : /usr/bin/qml
          

        Consequently, how am I to acquire the QML Runtime Tool for Qt6?

        G Online
        G Online
        GrecKo
        Qt Champions 2018
        wrote on 24 Apr 2024, 15:50 last edited by
        #2

        @BEEDELL-ROKE-JULIAN-LOCKHART said in How to install the Qt6 version of the QML Runtime Tool?:

        does not install the qml binary to $PATH.

        Does it install it in the bin directory of the Qt installation?

        R 1 Reply Last reply 19 May 2024, 12:37
        1
        • G GrecKo
          24 Apr 2024, 15:50

          @BEEDELL-ROKE-JULIAN-LOCKHART said in How to install the Qt6 version of the QML Runtime Tool?:

          does not install the qml binary to $PATH.

          Does it install it in the bin directory of the Qt installation?

          R Offline
          R Offline
          RokeJulianLockhart
          wrote on 19 May 2024, 12:37 last edited by
          #3

          @GrecKo, apologies for the wait. Do you know how to ascertain where that is? I ask because I didn't choose a location, so it must have been predetermined.

          When using a forum, remember to tag the person you are responding to, in case they are not subscribed to the thread.

          1 Reply Last reply
          0
          • R RokeJulianLockhart
            24 Apr 2024, 13:50

            As github.com/qt/qtdoc/blob/6f57506953cc1efaf474368393ecb1df38c9f46a/doc/src/qmlapp/qml.qdoc explains, the qml tool has allowed me in the past (when developing with Qt5) to run .QML files from the terminal, without needing to get IDE-specific stuff like github.com/orcun-gokbulut/qml-debug/blob/69b74cf92e547fb7383f8aa6f03ddea71fadfd4b/README.md#description working.

            However, although installing qt5-qtdeclarative-5.15.13-1.fc40 allows me to run qml, I intend to utilize Qt6, and qt6-qtdeclarative-6.7.0-2.fc40 does not install the qml binary to qEnvironmentVariable("PATH"):

            1. #!/usr/bin/env sh
              dnf provides qml
              
            2. dnf provides qml
              Updating and loading repositories:
               Fedora 41 - x86_64 - Updates                                                                                                                                                                                                                                                      100% |   3.2 MiB/s |  26.1 MiB |  00m08s
               RPM Fusion for Fedora 41 - Free tainted                                                                                                                                                                                                                                           100% |  67.3 KiB/s |  16.4 KiB |  00m00s
               ProtonVPN Fedora Beta repository                                                                                                                                                                                                                                                  100% |  76.3 KiB/s |  25.6 KiB |  00m00s
               RPM Fusion for Fedora 41 - Nonfree - Updates                                                                                                                                                                                                                                      100% | 429.4 KiB/s | 127.5 KiB |  00m00s
               warpdotdev                                                                                                                                                                                                                                                                        100% |  13.2 KiB/s |   4.1 KiB |  00m00s
               Fedora 41 - x86_64                                                                                                                                                                                                                                                                100% |   3.1 MiB/s |  62.0 MiB |  00m20s
               Visual Studio Code                                                                                                                                                                                                                                                                100% |   2.8 MiB/s |   6.2 MiB |  00m02s
               RPM Fusion for Fedora 41 - Nonfree tainted                                                                                                                                                                                                                                        100% |  83.6 KiB/s |  19.9 KiB |  00m00s
               google-chrome-canary                                                                                                                                                                                                                                                              100% |   6.7 KiB/s |   7.6 KiB |  00m01s
               Fedora 41 openh264 (From Cisco) - x86_64                                                                                                                                                                                                                                          100% |   8.4 KiB/s |   8.6 KiB |  00m01s
               RPM Fusion for Fedora 41 - Nonfree                                                                                                                                                                                                                                                100% | 497.5 KiB/s | 297.0 KiB |  00m01s
               RPM Fusion for Fedora 41 - Free                                                                                                                                                                                                                                                   100% | 883.9 KiB/s | 569.2 KiB |  00m01s
               Copr repo for Koi owned by birkch                                                                                                                                                                                                                                                 100% |  10.1 KiB/s |   5.8 KiB |  00m01s
               RPM Fusion for Fedora 41 - Free - Updates                                                                                                                                                                                                                                         100% | 654.2 KiB/s | 187.1 KiB |  00m00s
              Repositories loaded.
              qt5-qtdeclarative-devel-5.15.15-1.fc41.i686 : Development files for qt5-qtdeclarative
              Repo         : fedora
              Matched From : 
              Filename     : /usr/bin/qml
              
              qt5-qtdeclarative-devel-5.15.15-1.fc41.x86_64 : Development files for qt5-qtdeclarative
              Repo         : fedora
              Matched From : 
              Filename     : /usr/bin/qml
              

            Consequently, how am I to acquire the QML Runtime Tool for Qt6?

            R Offline
            R Offline
            RokeJulianLockhart
            wrote on 12 Feb 2025, 22:29 last edited by
            #4

            @RokeJulianLockhart, filed at bugzilla.redhat.com/show_bug.cgi?id=2345428.

            When using a forum, remember to tag the person you are responding to, in case they are not subscribed to the thread.

            R 1 Reply Last reply 13 Feb 2025, 19:51
            0
            • R RokeJulianLockhart has marked this topic as solved on 12 Feb 2025, 22:29
            • R RokeJulianLockhart
              12 Feb 2025, 22:29

              @RokeJulianLockhart, filed at bugzilla.redhat.com/show_bug.cgi?id=2345428.

              R Offline
              R Offline
              RokeJulianLockhart
              wrote on 13 Feb 2025, 19:51 last edited by
              #5

              @RokeJulianLockhart, per bugzilla.redhat.com/show_bug.cgi?id=2345428#c1:

              The real binary is installed into /usr/lib64/qt6/bin/qml, and symlinked to /usr/bin as qml-qt6 to not conflict with the Qt5 version.

              When using a forum, remember to tag the person you are responding to, in case they are not subscribed to the thread.

              1 Reply Last reply
              0
              • R RokeJulianLockhart has marked this topic as solved on 13 Feb 2025, 19:51

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved