[Development] Installing Qt5Config.cmake from the Qt repo?

Stephen Kelly stephen.kelly at kdab.com
Thu Nov 3 16:34:21 CET 2011


On Thursday, November 03, 2011 01:05:49 Stephen Kelly wrote:
> I think ossi still has some feedback on it that we can work on later, but
> I've  tested it, and it works just as the shell script version worked.
> Additionally, as most of the reusable functionality is now defined in the
> mkspec directory, it should be trivial to add cmake config files to modules
> outside of qtbase.git too.

The latest version incorporates the feedback.

https://qt.gitorious.org/+kdab-developers/qt/kdab-developers-
qtbase/commit/5f20b95e3376fd4af3051cc1eb5d60c05fd8cde1

The two remaining issues are:
* Generated cmake files are put in the source directory. There is no way to get 
    the build directory within qmake. There is QT.core.sources but this points 
    to the build directory, which I suspect is a bug. It should point to the  
    source dir, leaving me with no way to get the build dir.
* It only works for modules inside qtbase.git. The reason is that qmake has no 
    way to find files from the installed mkspecs location. I believe this has to 
    be fixed in qmake anyway and there are patches coming.

Thanks,

-- 
Stephen Kelly <stephen 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/development/attachments/20111103/7e014680/attachment.sig>


More information about the Development mailing list