Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to Import Library that compiled with Visual Studio



  • Hi, I'm new here. I need and answer about compiling. I am currently developing a Qt based desktop application. It's a simple corporal software and i need to import a 64 dll that compiled with visual studio. I tried so many ways, so many kits but i'm always getting unreferenced error. What should i do to import this dll and use it.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    First thing: use matching kit in terms of architecture and compiler. The only exception currently is VS2017 which is backward compatible with VS2015 but you still have to have the same architecture.

    Then, did you follow the Creating Shared Libraries chapter of Qt's documentation ?


Log in to reply