Qt 4.6

Aurélien Gâteau aurelien.gateau at canonical.com
Wed Jun 10 13:48:16 BST 2009

Christoph Feck wrote:
> What I currently do is to add something like this:
> +#if defined Q_WS_X11
> +    #undef Bool
> +#endif
> +
>  #include "kmodifierkeyinfo.moc"
> Another option would be to force including <QMetaType> before the X11 headers, 
> but I am not sure which solution is cleaner.

Isn't it possible to add these 3 lines either to QMetaType itself or to
the generated .moc file?


More information about the kde-core-devel mailing list