[Releasing] Qt 5.0 final packages with qtchooser

Stephen Kelly stephen.kelly at kdab.com
Wed Dec 19 16:55:01 CET 2012


On Tuesday, December 18, 2012 11:12:31 Thiago Macieira wrote:
> Finally, when building qtbase, I recommend these arguments be included:
>         -prefix /usr
>         -datadir /usr/share/qt5
>         -libdir $LIBDIR
>         -archdatadir $LIBDIR/qt5
>         -bindir $LIBDIR/qt5/bin

Note that due to a bug in Qt 5.0.0, the cmake files are still a little bit 
broken if using a configure line like that. The location of the mkspecs dir in 
$LIBDIR/cmake/Qt5Core/Qt5CoreConfigExtras.cmake will not match the actual 
location of the directory. 

A candidate fix for that issue is here:

https://codereview.qt-project.org/#change,43261

If packaging or testing a package, please try to run the unit tests for cmake 
which are in each repo with something like this:

 cd tests/auto/cmake && mkdir build && cd build && cmake .. && ctest

Each module source package has those tests.

Note that this does not work in general for all unit tests in Qt (as many of 
them require Qt to be configured with -developer-build), but it will work for 
the cmake tests. Please report any failures.

Thanks,

-- 
Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/releasing/attachments/20121219/1c9f7c54/attachment.sig>


More information about the Releasing mailing list