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. how to use qwindowsdirect2dpaintengine
Qt 6.11 is out! See what's new in the release blog

how to use qwindowsdirect2dpaintengine

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.9k 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.
  • S Offline
    S Offline
    sevenboo
    wrote on last edited by
    #1

    I want to use windows direct2d to make a Draw Tool, because the original QPainter , which is implement by windows GDI on low-level, is so slowly that satisfy my request.
    I wan't to use the QPainter that implement by Direct2D,it so fast. and i see the qt srouce code directory which has some code about Direct2D. the path is that "Qt5.7.0-x86\5.7\Src\qtbase\src\plugins\platforms\direct2d".

    It is pleasantly surprised to me, but I don't know how to apply the direct2d platform plugin in my project.
    can you give some guide or advice about this? even just some website link?

    Heartfelt thanks

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

      Hi and welcome to devnet,

      AFAIK, you can use ./your_application -platform direct2d

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A AndyE referenced this topic on

      • Login

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