[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    mingw status
From:       thiago () kde ! org (Thiago Macieira)
Date:       2006-02-21 10:18:51
Message-ID: 200602211118.51997.thiago () kde ! org
[Download RAW message or body]

Christian Ehrlicher wrote:
>It seems to be not supported :-(

Ok, then my suggestion is:

- wrap the method around #ifndef Q_OS_WIN32 or equivalent
- add to its documentation:
  \paragraph Warning 
    This method is not available on Win32 platforms and should, therefore, 
not be used in code intending to be portable.

There are already many such cases in Qt itself, so one more won't be a 
problem (see http://doc.trolltech.com/4.1/qobject.html#findChild and 
http://doc.trolltech.com/4.1/qvariant.html#fromValue for examples, though 
the reason why those methods aren't available is a completely different 
brain-damage by Microsoft).
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

1. On frumscafte, hwonne time_t w?s n?ht, se scieppend ?one circolwyrde 
wundorcr?ftl?ge cennede and seo eor?e w?s idel and hit w?s g?d.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060221/5da16bab/attachment.pgp 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic