ext Patric wrote:
> #ifndef OIDNAMESPACES_H
>
> #define OIDNAMESPACES_H
>
>
>
>
>
> namespace Test {
>
> static const QByteArray test = "1";
>
> }
>
> #endif // OIDNAMESPACES_H
>
>
> Check this out. It works. But I think it shouldn't.
>
> Patric
And indeed it doesn't:
oidnamespaces.h:11: error: ‘QByteArray’ does not name a type
The only reason that might work is because the header is included only
in files that have already included QByteArray.
Regards,
Bjørn
--
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Software
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator