Edwin Leuven wrote:
Peter Kümmel wrote:
I'm wrong, moc is better now. Here (4.3) this macro check works:

#if (QT_VERSION >= QT_VERSION_CHECK(4, 2, 0))

and

#if QT_VERSION >= QT_VERSION_CHECK(4, 2, 0)

compiles but with the following messages:

1>c:\lyx\trunk\src\frontends\qt4\IconPalette.h(20) : warning C4067: unexpected tokens following preprocessor directive - expected a newline 1>c:\lyx\trunk\src\frontends\qt4\IconPalette.h(20) : warning C4067: unexpected tokens following preprocessor directive - expected a newline 1>c:\lyx\trunk\src\frontends\qt4\IconPalette.h(30) : warning C4067: unexpected tokens following preprocessor directive - expected a newline 1>c:\lyx\trunk\src\frontends\qt4\IconPalette.h(30) : warning C4067: unexpected tokens following preprocessor directive - expected a newline

Reply via email to