Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. import xxxxx checkversion installed?
Forum Updated to NodeBB v4.3 + New Features

import xxxxx checkversion installed?

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 2.1k 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.
  • S Offline
    S Offline
    shokarta
    wrote on last edited by
    #1

    Hello all,

    as I'm swithing between different versions of Qt (ie 5.14.0 vs 5.15.2)
    I'm having errors for older version such as:

    module "QtQuick.Controls" version 2.15 is not installed
    

    but in 5.12.2 it works fine...

    this is what I'm experiencing in lots of modules,
    by trying to include lower version of QtQuick.Controls (ie 2.5 works fine) I'm only testing how much lower I can go...

    but doing -0.1 version for every module and trying to compile to see if there is an error or not is terible terible job...

    so is there any posibility to find out what version of each module is installed so I can cleary see what version I can use?

    PS: I compiled static version for 5.14.0 but 5.15.2 is out of maintenance tool.
    so I still have sources I build Qt version 5.14.0 from... so if i can check even on sources level then its fine...
    otherwise if I can check withing installed version is even better

    PS2: QT Creator offers me the version which si not working anyway,
    same issue with QtMultimedia (5.15 is not working, but 5.14 is working just fine) but QtCreator offers 5.15:
    3bb9b3bd-4dfe-461f-a4f0-a661224c5bc1-image.png

    • this same applies for all modules
    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Minor numbers are the same as Qt minor number:

      Controls 2.15 == Qt 5.15.

      So you should set the number to the lowest version Qt you are using. 2.12 in your case.

      (Z(:^

      1 Reply Last reply
      1
      • S Offline
        S Offline
        shokarta
        wrote on last edited by
        #3

        sweet, good to know.
        Is there any way to do it programaticaly by variable? so if I use QT Version 5.12.x then controls will automaticaly set to 2.12,
        but it if I switch to 5.14 then controls will auso automaticaly be used 2.14?

        sierdzioS 1 Reply Last reply
        0
        • S shokarta

          sweet, good to know.
          Is there any way to do it programaticaly by variable? so if I use QT Version 5.12.x then controls will automaticaly set to 2.12,
          but it if I switch to 5.14 then controls will auso automaticaly be used 2.14?

          sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          @shokarta said in import xxxxx checkversion installed?:

          sweet, good to know.
          Is there any way to do it programaticaly by variable? so if I use QT Version 5.12.x then controls will automaticaly set to 2.12,
          but it if I switch to 5.14 then controls will auso automaticaly be used 2.14?

          No and there is no need to do it at all. Importing different version does not give you any benefits apart from enabling new APIs (if there are any).

          You are still getting all security and performance improvements of Qt 5.15 even if you import QtQuick 2.0. Just set it to lowest Qt version you're supporting and forget about it :-)

          (Z(:^

          1 Reply Last reply
          0

          • Login

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