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. Confusion about QML module versions
Qt 6.11 is out! See what's new in the release blog

Confusion about QML module versions

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 744 Views 1 Watching
  • 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.
  • D Offline
    D Offline
    drmhkelley
    wrote on last edited by
    #1

    I have continuing confusion about QML module versions and haven't found adequate discussion to straighten myself out. In particular:

    1. Where do I find the latest (or for whatever reason, preferred) version number of a particular module?
    2. Where do I find info about the differences between versions?
    3. Should I be surprised at the range of module versions specified by different QML examples? For example, different QML examples import QtQuick 2.[0-7]
    4. Is there a way to specify in the import statement to use the latest module version? I find it hard enough to keep operational consitency between all .qml files without the added burden of remembering to update everything when a new version of a module comes out.

    Any suggestions appreciated

    raven-worxR 1 Reply Last reply
    0
    • D drmhkelley

      I have continuing confusion about QML module versions and haven't found adequate discussion to straighten myself out. In particular:

      1. Where do I find the latest (or for whatever reason, preferred) version number of a particular module?
      2. Where do I find info about the differences between versions?
      3. Should I be surprised at the range of module versions specified by different QML examples? For example, different QML examples import QtQuick 2.[0-7]
      4. Is there a way to specify in the import statement to use the latest module version? I find it hard enough to keep operational consitency between all .qml files without the added burden of remembering to update everything when a new version of a module comes out.

      Any suggestions appreciated

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @drmhkelley said in Confusion about QML module versions:

      Where do I find the latest (or for whatever reason, preferred) version number of a particular module?

      the latest docs always show the latest import version

      @drmhkelley said in Confusion about QML module versions:

      Is there a way to specify in the import statement to use the latest module version? I find it hard enough to keep operational consitency between all .qml files without the added burden of remembering to update everything when a new version of a module comes out.

      this would do harm your application more than you would benefit from it.
      When your application works like intended, there is no reason to upgrade the version. A higher version might introduce different behavior in some cases.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1

      • Login

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