Preferred way to test for a Qt feature?
Thiago Macieira
thiago at kde.org
Sun Aug 24 10:56:04 CEST 2008
Brad Hards wrote:
>I'm planning to add a feature that depends on a particular feature in Qt
> 4.5.
>
>Obviously I don't want to break current compilation with Qt 4.5
>
>Should I write a specific test for the required class, or can I just
> work off the Qt version?
>
>Any recommendations for an example to copy?
#if QT_VERSION >= 0x040500
#endif
--
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/20080824/b3df1c06/attachment.sig
More information about the Kde-buildsystem
mailing list