Qt 5.1.0 unable to use concatenated #define for QtPlugin IID

  • Hi,
    Just ported an application from Qt 4.8.4 to Qt 5.1.0. In Qt 4.8.4 I was using a concatenated preprocessor definition for the plugin name (different #defines for e.g. plugin name, major/minor/etc. version number). That was working without a problem. Now, in Qt 5.1.0 I get a compile error (parsing error in the file defining the preprocessor definition).
    Is there something wrong with the way moc is parsing the preprocessor definitions (was reading, that moc in Qt 5 is now completely parsing and using preprocessor definitions in the changelog)? Does anyone have comparable experience with this or any helpful information?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.