On 25 August 2017 at 23:40, Lubomir I. Ivanov <[email protected]> wrote: > On 25 August 2017 at 22:19, Dirk Hohndel <[email protected]> wrote: >> >>> On Aug 25, 2017, at 11:58 AM, Lubomir I. Ivanov <[email protected]> wrote: >>>>>>> >>>>>>> On a fresh Ubuntu 16.10, after installing everything that's listed in >>>>>>> INSTALL I get: >>>>>>> >>>>>>> qmake ../googlemaps.pro >>>>>>> Project ERROR: Unknown module(s) in QT: location-private >>>>>>> positioning-private >>>>>> >>>>>> That is what I hit also when attempting this build manually. (Ubuntu >>>>>> 16.04 with Qt 5.9.1) >>>>>> >>>>> >>>>> do you guys have the package "qtlocation5-dev" installed and if so do >>>>> it install a folder named "QtLocation/private" in the folder which >>>>> contains the Qt headers? >>>> >>>> It is installed, but no prviate directory. I do also have >>>> qtpositioning5-dev installed. >>>> >>> >>> it now looks like an debian/ubuntu packaging issue. >>> >>> the fedora dev package has them: >>> http://webcache.googleusercontent.com/search?q=cache:HE27r0iiXaQJ:rpmfind.net/linux/RPM/fedora/devel/rawhide/aarch64/q/qt5-qtlocation-devel-5.9.0-2.fc27.aarch64.html+&cd=1&hl=bg&ct=clnk&gl=us >> >> I have googled up and down and indeed it seems like Debian based distros >> don't bundle the private headers / private qmake files, whereas Red Hat >> based distros as well as Arch Linux do. I haven't looked on OpenSUSE, yet. >> >> That's of course a problem... any creative solutions how we can help people >> on Ubuntu to be able to build this module? >> > > here is my script to pull the headers locally from the Qt source code > git repository. > from there it's a matter of "sudo cp"-ing them in the correct Qt > header's folder - e.g.: > /usr/include/qt5/QtLocation/5.9.1/QtLocation/private/ > > usage: > $sh ./get_qtlocation_private_headers.sh 5.9.1 > > the alternative is to use packages from other distros - already mentioned. >
ermm...any idea how to obtain the "5.9.1" tag of the already installed Qt version? lubomir -- _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
