Qt4 shouldn't require X11, even on Unix
Alexander Neundorf
neundorf at kde.org
Mon Jul 7 21:02:44 CEST 2008
On Monday 07 July 2008, Thiago Macieira wrote:
> This section of FindQt4.cmake seems bogus to me:
>
> IF(UNIX)
> # on OS X X11 may not be required
> IF (Q_WS_X11)
> FIND_PACKAGE(X11 REQUIRED)
> ENDIF (Q_WS_X11)
>
> It's not necessary to have X11 headers in order to compile Qt4
> applications or KDE 4 ones. There are no X11 headers included in any
> public Qt4 application.
I just checked, a check for X11 is part of FindQt4.cmake since rev 1.1 in
cmake cvs, almost exactly 3 years old.
Do you think it's worth changing this ?
(adds a difference to the version from cmake and might break some builds which
accidentially use the X11 vars defined by this FIND_PACKAGE(X11) )
Alex
More information about the Kde-buildsystem
mailing list