Qt4 shouldn't require X11, even on Unix

Thiago Macieira thiago at kde.org
Mon Jul 7 04:42:43 CEST 2008


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 believe the requirement should be only in kdelibs and kdebase (because 
of workspace). Other applications should require X11 on a case-by-case 
basis. It'll also make it easier to tell which applications are not 
portable.

I guess we'll have to wait for the 4.2-unfreeze.
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20080706/edf5d407/attachment.pgp 


More information about the Kde-buildsystem mailing list