Skip to content

Instantly share code, notes, and snippets.

@elpuri
Created December 27, 2010 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elpuri/756478 to your computer and use it in GitHub Desktop.
Save elpuri/756478 to your computer and use it in GitHub Desktop.
Enabling hardware accelerated painting on Qt
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