Skip to content

Instantly share code, notes, and snippets.

@mseeley
Created July 16, 2019 10:18
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 mseeley/8f2af49d140fa8bea24e96dbf7205c9f to your computer and use it in GitHub Desktop.
Save mseeley/8f2af49d140fa8bea24e96dbf7205c9f to your computer and use it in GitHub Desktop.
int main(int argc, char *argv[])
{
QCoreApplication::setOrganizationName("QtExamples");
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication app(argc, argv);
QUrl url = QUrl(QStringLiteral("http://localhost:8080/select.html?t=12132"));
QWebEngineView view;
view.setUrl(url);
view.resize(1024, 750);
view.show();
return app.exec();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment