Skip to content

Instantly share code, notes, and snippets.

@mitya57
Created April 4, 2013 18:01
Show Gist options
  • Save mitya57/5312601 to your computer and use it in GitHub Desktop.
Save mitya57/5312601 to your computer and use it in GitHub Desktop.
Test for QtWebKit fonts bug
#include <QtGui/QApplication>
#include <QtWebKit/QWebView>
int main (int argc, char **argv) {
QApplication app(argc, argv);
QWidget window;
QWebView view(&window);
view.setHtml("<code>Test test test...</code>");
window.show();
return app.exec();
}
QT += webkit
SOURCES += test.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment