KDE/kdelibs

Alexander Neundorf neundorf at kde.org
Mon Dec 7 19:28:20 CET 2009


On Monday 07 December 2009, Alexander Neundorf wrote:
> On Saturday 05 December 2009, Mike Arthur wrote:
> > On 5 Dec 2009, at 20:37, Alexander Neundorf wrote:
>
> ...
>
> > > Please make one source dir where UseQt4.cmake is used, and run cmake on
> > > that source dir, and send me the resulting build dir (including
> > > CMakeCache.txt and the CMakeFiles/ subdir).
> > >
> > > And for comparison, please do the same without using UseQt4.cmake, run
> > > cmake, and send me the resulting build tree (which will not build
> > > successfully).
> >
> > Please find it attached.
>
> Thanks :-)
> Is this with the FindQt4.cmake from KDE or from cmake ?

I think I'm starting to understand how this works.
How far do you get with the attached patch (against current svn HEAD) ?

The Qt frameworks are problematic, because we also want to use 
#include <QWidget>
instead of always
#include <QtGui/QWidget>
which would be the correct way for using it as a framework.
If we would support only that second case, then the built-in support for 
frameworks in cmake would probably does everything we need.
But as it is we need the special logic in FindQt4.cmake

With the attached patch there should now be a "-F" flag when compiling source 
files.

Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt4-frameworks.patch
Type: text/x-diff
Size: 1037 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20091207/b308dc81/attachment.bin 


More information about the Kde-buildsystem mailing list