Created
December 27, 2010 19:52
-
-
Save elpuri/756478 to your computer and use it in GitHub Desktop.
Enabling hardware accelerated painting on Qt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(int argc, char *argv[]) | |
{ | |
QApplication::setGraphicsSystem("openvg"); // Use "opengl" for systems not supporting OpenVG | |
QApplication a(argc, argv); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment