Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. requesting advice on using QtSharp/CppSharp
QtWS25 Last Chance

requesting advice on using QtSharp/CppSharp

Scheduled Pinned Locked Moved Unsolved Brainstorm
3 Posts 3 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.
  • M Offline
    M Offline
    merqt
    wrote on 9 Nov 2018, 08:40 last edited by
    #1

    Hello,

    I need to use the wonderful C++ application littlenavmap in a C# project.

    Would CppSharp/QtSharp help me accomplish this?
    If not, are there any other projects which can be used to write bindings?

    Thank you

    1 Reply Last reply
    0
    • V Offline
      V Offline
      VRonin
      wrote on 9 Nov 2018, 09:14 last edited by
      #2

      You can use C++/CLI (that is C++ building for CLR) to build a simple wrapper on the unmanaged C++ code that can be exposed directly to C#. If you want an example of exposing a Qt API to .Net you can check here

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      2
      • D Offline
        D Offline
        Davis3
        Banned
        wrote on 13 May 2019, 10:47 last edited by Davis3
        #3
        This post is deleted!
        1 Reply Last reply
        -1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved