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

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

int main(int argc, char *argv[])
{
    qRegisterMetaType<StyleSheet>("StyleSheet");

    QCoreApplication::setOrganizationName("QtExamples");
    QApplication a(argc, argv);
    MainWindow w(QUrl("http://qt.io"));
    w.show();
    return a.exec();
}