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. What macro is to be used in order to export from a DLL?
QtWS25 Last Chance

What macro is to be used in order to export from a DLL?

Scheduled Pinned Locked Moved Unsolved General and Desktop
plugincustomwidget
2 Posts 2 Posters 254 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.
  • J Offline
    J Offline
    jdent
    wrote on 16 Mar 2024, 18:18 last edited by
    #1

    I have a Qt Designer custom widget but the .lib does not seem to be exporting the constructor!!
    What macro may we use for that??

    Something like __declspec(dllexport) in Visual C++

    C 1 Reply Last reply 16 Mar 2024, 18:26
    0
    • J jdent
      16 Mar 2024, 18:18

      I have a Qt Designer custom widget but the .lib does not seem to be exporting the constructor!!
      What macro may we use for that??

      Something like __declspec(dllexport) in Visual C++

      C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 16 Mar 2024, 18:26 last edited by
      #2

      See https://doc.qt.io/qt-6/sharedlibrary.html

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1

      2/2

      16 Mar 2024, 18:26

      • Login

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