how to use qwindowsdirect2dpaintengine
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?
Hi and welcome to devnet,
AFAIK, you can use
./your_application -platform direct2d