Skip to content

Instantly share code, notes, and snippets.

@zester
Created August 30, 2011 03:07
Show Gist options
  • Save zester/1180077 to your computer and use it in GitHub Desktop.
Save zester/1180077 to your computer and use it in GitHub Desktop.
Howto load an external qt stylesheet
QFile file(":/qss/default.qss");
file.open(QFile::ReadOnly);
QString styleSheet = QLatin1String(file.readAll());
setStyleSheet(styleSheet);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment