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. Explicitly linking custom object in mingw
Qt 6.11 is out! See what's new in the release blog

Explicitly linking custom object in mingw

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 877 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.
  • M Offline
    M Offline
    mohsen
    wrote on last edited by
    #1

    hey guys,
    Happy new year (with delay)!

    i know here's not the place for such questions, just wanted to understand if someone has experienced these kinds of worries!
    in order to export a symbol in c++ and loading dynamically (maybe QLibrary) MSVC doesn't support user defined return types. for example
    @
    extern "C" lib QStringList anything();
    @
    not a valid export in MSVC while it's done pretty with Mingw as i've tested successfully on my projects.
    now I Doubt, if there's a registered standard by Microsoft which prevents such kinds of linking, could it be a leading to problems while persist on doing a "non-standard" solution from Microsoft eyes?
    i've hadn't problem until now, just worry to have it tomorrow!

    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