import xxxxx checkversion installed?
-
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 betterPS2: 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:
- this same applies for all modules
-
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. -
@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 :-)