Created
April 4, 2013 18:01
-
-
Save mitya57/5312601 to your computer and use it in GitHub Desktop.
Test for QtWebKit fonts bug
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
#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(); | |
} |
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
QT += webkit | |
SOURCES += test.cpp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment