summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/cookiebrowser/main.cpp
blob: 5722b69a46f8e79c634d3247186ca54317cf3fca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#include "mainwindow.h"
#include <QApplication>
#include <QUrl>

int main(int argc, char *argv[])
{
    QCoreApplication::setOrganizationName("QtExamples");
    QApplication app(argc, argv);
    MainWindow window(QUrl("http://qt.io"));
    window.resize(1024, 768);
    window.show();
    return app.exec();
}