Hi,
I have problems using the QtLocation module with Qt5 in QML.
I’m working on a program that worked fine with Qt5-Alpha but doesn’t work any more. The “import QtLocation 5.0” statement works, at least it says “read typeinfo files successfully”, but if I use QML elements like “Coordinate” or “Map” it says “unknown Component”.
Has the API changed recently? Because all documentation that I could find said that there is a component called Coordinate in this module.
Some of the official examples have similar problems, though I haven’t found one using Coordinate so far.
But maybe the Module is not installed correctly. I have problems installing other modules (Qt3D, above all), too. I get all the latest modules directly from git and use a standard “qmake && make && make install” to build the modules. This works well for all Qt-Essential modules like qtquick. Do I have to do anything else?
I’m using QtCreator 2.6.1 and Qt5 in a virtual Fedora Linux.
↧