Preferred way to test for a Qt feature?
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
>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
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
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