Important: Please read the Qt Code of Conduct -

QT application linking with .net ?

  • I have a QT application, and I need to link to a external library written in .Net. Based on this code ( ) . Any easy way to link these items? My application needs to call this library

  • Lifetime Qt Champion

    I don't think this is easy or even possible. C++ applications are compiled to native binary code (running directly on the CPU), .Net applications are compiled to intermediate code which then is translated to native binary code during runtime by the .Net Common Language Runtime (CLR) - same concept as Java. So, a native application cannot access .Net DLLs directly. It is possible to use native binaries (like DLLs using Qt) from a .Net application.

Log in to reply