I'm trying to develop a KDE widget that should display a map. At the moment I can't get the widget to load, because of the errors module "QtLocation" is not installed
and module "QtPositioning" is not installed
.
I'm running Ubuntu 18.04. Looking at this page, I've made sure that libqt5positioning5
and libqt5location5
are installed. The widget still does not load with the above errors.
On reddit someone told me that I also need to install the QML bindings. What are the package names I need?
As you are talking about developing, in other words about programming, then you need to install development packages with headers:
qtlocation5-dev
for /usr/include/x86_64-linux-gnu/qt5/QtLocation/QtLocation;qtpositioning5-dev
for /usr/include/x86_64-linux-gnu/qt5/QtPositioning/QtPositioning.Install them along with QML bindings with
Next time you can use the file search on packages.ubuntu.com.