Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. WPF within Qt
Forum Updated to NodeBB v4.3 + New Features

WPF within Qt

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 1.0k Views 2 Watching
  • 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.
  • MassiM Offline
    MassiM Offline
    Massi
    wrote on last edited by
    #1

    Good day,

    I'm not familiar with WPF, I recently heard about and apparently it's a good tool for graphic interaction/display. My question, is it possible to integrate WPF in QGraphicscene? if yes, how about the WPF functionalities? for example I want to have a signal connected to something in WPF graphics.

    Thanks!

    Massi

    Software Design Engineer at Ford - Canada

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by Chris Kawa
      #2

      Why on earth would you want a Frankenstein's monster like that? Apart from the obvious maintenance and debugging nightmare the only way this would work is if you had a widget container with embedded native window hooked up somehow to allow .Net painting on it. While possible to do, any kind of performance is out the window and there would be z-ordering problems for sure.

      Qt and WPF are two completely different technologies. Qt has its own set of excellent graphics related classes. If you have a Qt app go with Qt's graphics stack. If you have a WPF app go with that. Don't mix and match. It's only gonna hurt you in the long (and probably short too) run.

      MassiM 1 Reply Last reply
      2
      • Chris KawaC Chris Kawa

        Why on earth would you want a Frankenstein's monster like that? Apart from the obvious maintenance and debugging nightmare the only way this would work is if you had a widget container with embedded native window hooked up somehow to allow .Net painting on it. While possible to do, any kind of performance is out the window and there would be z-ordering problems for sure.

        Qt and WPF are two completely different technologies. Qt has its own set of excellent graphics related classes. If you have a Qt app go with Qt's graphics stack. If you have a WPF app go with that. Don't mix and match. It's only gonna hurt you in the long (and probably short too) run.

        MassiM Offline
        MassiM Offline
        Massi
        wrote on last edited by
        #3

        @Chris-Kawa Thanks for your reply! indeed I realized how it is complex and it's better to go either with WPF alone or Qt with some extra libraries...

        Software Design Engineer at Ford - Canada

        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