Using Direct3D 9 with Qt - flicker problem According to the Qt docs, if you want to use GDI or Direct3D on Windows with Qt, you need to: 1) OverrideQWidget::paintEngineto return NULL 2) CallQWidget::setAttribute(Qt::WA_PaintOnScreen, true) 完整代码: D3D相关代码 1//QD3DWidget.h 2...
虽然DirectX在家用市场全面领先,但在专业高端绘图领域,OpenGL是不 能被取代的主角。