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. Creating forward compatible DLL file
Forum Updated to NodeBB v4.3 + New Features

Creating forward compatible DLL file

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.5k 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
    moonrising
    wrote on last edited by
    #1

    Hi!
    I created a DLL file and works as intended, but when someone with a newer version of Qt wants to use it the program chrashes.
    My DLL file works on Qt 5.2 but not on 5.3.
    Is there a specific way to create a forward compatible DLL file?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Qt is already forward compatible. Are you using both the same Visual Studio runtime ? The same Visual Studio version ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        moonrising
        wrote on last edited by
        #3

        Visual Studio? No.
        We both use MinGW.
        I installed the newest Qt to another machine, tried it there and it did not work. I can tell it's because of the DLL file, because if I compile it without the DLL and include the source files to the project instead, it works perfectly.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Any dependencies ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • M Offline
            M Offline
            moonrising
            wrote on last edited by
            #5

            I just downloaded a library and wanted to use it as a DLL.
            I don't know anything about dependencies.

            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