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. Shared library on windows fails when using moc
QtWS25 Last Chance

Shared library on windows fails when using moc

Scheduled Pinned Locked Moved Solved General and Desktop
41 Posts 4 Posters 10.9k Views
  • 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.
  • C Christian Ehrlicher
    7 Jun 2023, 18:59

    I did not see (and not use by myself) qt_standard_project_setup() so you're correct with the automoc.

    You use the same define for the export definition for both libraries - how should this work?

    M Offline
    M Offline
    Mesrine
    wrote on 7 Jun 2023, 19:06 last edited by Mesrine 6 Jul 2023, 19:25
    #41

    @Christian-Ehrlicher
    Thats a good point. Thanks!
    Using the same definition for both libraries if not included correctly the headers could define the export on the symbol that should have an import statement.

    This is not completely clear to me so Let me try.
    I let you know :).

    Yes, that was the problem. Many thanks.

    1 Reply Last reply
    0
    • M Mesrine has marked this topic as solved on 7 Jun 2023, 19:22

    41/41

    7 Jun 2023, 19:06

    • Login

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