No private headers for QtLocation and QtPositioning

Asked by Vladimir Ermakov

Hello,

I cant find vivid devel packages where have QtLocation and QtPositioning private headers.
This is needed to build QGroundControl, which wants Qt 5.4+ and adds it's own location plugin (which wants `location-private` and `positioning-private`).

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu qtlocation-opensource-src Edit question
Assignee:
No assignee Edit question
Solved by:
Vladimir Ermakov
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

It seems that the last version that contained these private headers was the trusty version 5.0~git20130805-0ubuntu4 which had a qtlocation5-private-dev package.

The higher versions contain this information in the change log:

qtlocation-opensource-src (5.2.1-0ubuntu1) trusty; urgency=low
...
* Sync with Debian WIP packaging
  - Remove private headers
...

The installation instructions of QGroundControl refer to the ppa:beineri/opt-qt541-trusty repository (for trusty). Maybe you can use that one instead of the official Ubuntu ones to get a Qt version with those private headers.

Revision history for this message
Vladimir Ermakov (vooon341) said :
#2

I used this PPA on 14.10, but i prefer system provided libs when it passes version dependency.
Yes, off course i can install Qt libs from prebuilt tarball, but it is workaround.

So i must ask debian maintainers why they decided that private headers not needed?

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Are you aware of the following comments of the former Ubuntu package:

 qtlocation5-private-dev: Qt 5 Location private development files

 Qt is a cross-platform C++ application framework. Qt's primary feature
 is its rich set of widgets that provide standard GUI functionality.
 .
 This package contains the private header development files for building some
 Qt 5 applications using location private headers.
 .
 Use at your own risk.
 .
 WARNING: This module is not an official part of Qt 5, but instead a git
 snapshot of an ongoing development. The package is very likely to
 change in a binary incompatible way, and no guarantees are given.

It seems to me that Debian started with that package after Ubuntu, and Ubuntu decided later to take over the state as it was in Debian. So most probably Debian started without that unofficial addition, and Ubuntu decided to follow.

Revision history for this message
Vladimir Ermakov (vooon341) said :
#4

For now i installed Qt 5.4 from http://www.qt.io/download-open-source/#section-2 .
That workaround allow me to build QGC, but i really don't understand why private parts is not official, when it comes in official qt installer.

Revision history for this message
Don Gagne (q-don) said :
#5

The standard install provided directly by Qt through their online installers always install private as well as public headers. This is standard behavior. The Ubuntu packages should mirror the behavior of Qt. For QtLocation the only way to create QtLocation plugins is through the use of private header. This is a standard thing to do.

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

You could create a bug report with the request to include these ...-private header files in the package.
Probably a similar request should also be made against the Debian package.