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 <[email protected]> | 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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Releasing mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/releasing

Reply via email to