Error QtPositioning and QtLocation import
-
hello,
I have this error when i compil my code : : -1: erreur : Project ERROR: Unknown module(s) in QT: locationIn the .pro, i have :
QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets qml quickwidgets location CONFIG += c++11
And, i have this message : QML module not found (QTPositioning) and QML module not found (QTLocation)
my version :
Qt creato 4.15.2
base : Qt 5.15i search on google but, i don't have the solution...
thank's for you help.
-
@vin212 said in Error QtPositioning and QtLocation import:
my version :
Qt creato 4.15.2
base : Qt 5.15This is the Qt Creator version, is not relevant here. Qt Creator is "just" an IDE. What you have to specify is:
- which OS you are using
- which QT Kit you are using
It seems that the Qt Kit you are using do not have been build with QtLocation support.
-1: erreur : Project ERROR: Unknown module(s) in QT: location
Did you build yourself the Qt Kit or do you use an official Qt Kit?
=> AFAIK, QtLocation is available since Qt 5.5. -
@vin212 said in Error QtPositioning and QtLocation import:
For the install, i use the default option "Design Tools" + "QT 6.1 for desktop development" + "Qt 6.1 for mobile development"
Qt 6.x is a "work in progress", many Qt 5 modules are not all supported or have moved/merged to/with other modules.
Qt Location is one of the modules which don't have any planned porting date.I don't know if it will be ever available in Qt 6.
-
@KroMignon said in Error QtPositioning and QtLocation import:
Qt 6.x is a "work in progress", many Qt 5 modules are not all supported or have moved/merged to/with other modules.
Qt Location is one of the modules which don't have any planned porting date.
I don't know if it will be ever available in Qt 6.This is a bad news.
I left Qt since a while but today I tried to move back but the first thing I struggled with is building my old Android app using Qt 6 which uses Qt Positioning!
May you please ask on behalf of one the community what if QtPositioning & QtLocation will be supported in Qt 6 or not?
It's vital for me to know the future of Qt 6 because Qt 5 LTS will end on 2021-12-05 so I've to make the decision to keep with Qt or leave it once again. -
@mbnoimi said in Error QtPositioning and QtLocation import:
It's vital for me to know the future of Qt 6 because Qt 5 LTS will end on 2021-12-05 so I've to make the decision to keep with Qt or leave it once again.
Take a look at this Qt blog entry: https://www.qt.io/blog/qt-6.2-vs.-qt-5.15-the-feature-parity-comparison
-
@mbnoimi said in Error QtPositioning and QtLocation import:
@SGaist @sierdzio @JKSH
May you please help me/us in this matter?@KroMignon already gave you the answer.