Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. QT application linking with .net ?
Forum Updated to NodeBB v4.3 + New Features

QT application linking with .net ?

Scheduled Pinned Locked Moved Unsolved Language Bindings
2 Posts 2 Posters 1.0k 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.
  • B Offline
    B Offline
    baskar
    wrote on last edited by
    #1

    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

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

      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.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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