Skip to content

Instantly share code, notes, and snippets.

@elpuri
Created December 27, 2010 19:52
Show Gist options
  • 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