Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.1.0 unable to use concatenated #define for QtPlugin IID
Forum Updated to NodeBB v4.3 + New Features

Qt 5.1.0 unable to use concatenated #define for QtPlugin IID

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 974 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    D0IT
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved