[Qt-interest] QtDBus on Windows7 + VS2008
Thiago Macieira
thiago at kde.org
Sun Feb 6 20:36:58 CET 2011
On Sunday, 6 de February de 2011 18:19:35 Anes Lihovac wrote:
> When now compiling the project under Win32, I get errors regarding all
> occurences of the name "interface" coming from the Qt Dbus Headers, like
>
> someFunction(QString interface -> qdbusmessage.h Line 75
> or
> QString interface() ...
> etc.
>
> It looks like the compiler doesn't like it, when something is called
> "interface".
> However, why on earth did he then compiled QtDbus4.dll in
> the first place or did not fail on the Qt Dbus Examples.
Because it's not a compiler thing.
Some Windows header has a #define for interface. The difference between what
compiles and what doesn't is the headers that are #included.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
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: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110206/bc9ebac0/attachment.bin
More information about the Qt-interest-old
mailing list