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 (https://www.digitalrune.com/Text-Editor-Control ) . Any easy way to link these items? My application needs to call this library


  • Moderators

    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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.