[Development] CMake, PRLs, static Qt and private Qt deps

Tim Blechmann tim at klingt.org
Sat May 14 14:30:47 CEST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

> Before Qt 5.0 was released, the CMake helper files included a
> useful feature that read .prl files in order to find and include
> Qt dependencies (such as, say, libqtpcre, but also dynamic system 
> libraries, and whatever else) in CMake builds against a statically 
> linked Qt.
> 
> This was removed by the following change:
> 
> https://codereview.qt-project.org/#/c/37307/ 
> https://github.com/qtproject/qtbase/commit/102e1822ffcdc9954d3c698f863
734a8083e349c
>
>  This means that building against a static Qt simply isn't
> practical using Qt's CMake support, in that you'd have to manually
> specify the internal dependencies, or include a CMake-based prl
> reader in your own source tree.
> 
> Are there any new developments regarding this?

https://bugreports.qt.io/browse/QTBUG-38913

the bug celebrated it's 2-year anniversary last week. labeled as
'Reported_by_support_silver', but i wouldn't bet that anything happens
here as building qt projects with cmake doesn't seem to have any
priority for the upstream devs.

using private qt headers is also not possible with the upstream cmake
files :/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXNxp3AAoJEAIkvWiom07DI6IQAIMxA1+ZqdtwIP46BGGAU2Nn
qJUARfYYBHmQpPl4eek+Bz8gC8W4QIZnCWKYnDYUEYwKzlaeTu68Q3uF+l+7ntU3
qaMxIoo3/+WjlHOKRfI5R+li/v4Lg506pWUSCPdOBOR1Zk3/XGUxJLqYTBu1Guo7
w8g8El/7LOwO5OCPM4TKCi83B8mzqN8kwIcQyf2pYt54SE2TU3zG6EzLaAmNa8Kc
SLlCj6cDb/FZ0qd1FRUSV7DPmyRyVn3mVkLBQ31HvEaxhaZ9qXJuP0XP+CC2uU5n
uPLAoAYfX9KQhu2JEsIQWfFniWrHX1vh7fE3MnzJ5faXoDekHc9Il8czuRhT+x17
hqSbze4/1Z8R+gQTbSf1dqDx6mT0xhjG2p1oXwZznBFZdbS/cviCmjz7o8oOQ/PD
gU22EPo+FXZztZQ3Kh0MDIEu2dBBFgTERg3yrxldTCDBmkTrYlZ2uw15U66Cv+NL
QDuYIAojma2u88z9PDBfz2sT5UYyB93vTSKyx7Fo37fnmaKkai89sFVd/R9vdeko
Iq/V3JgK00fNUio4ruV07wHeuZS9kl70cVYgtL408ea2p0/UbCvTeKwUmQf4MzpH
Nc7H32Nz0+IyFa0fK6Ul/cFIrpHZEErbxjDSRdQI6sBgtByn780w5ITHiH8J9gDy
ge0OkmpI9wUjgK2kYlIR
=LAmF
-----END PGP SIGNATURE-----




More information about the Development mailing list