blob: e8a34a14f79897e1ca4c0bfa10f751572380d2b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright (C) 2019 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include <QGuiApplication>
#include "window.h"
#include "compositor.h"
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
Compositor compositor;
Window window(&compositor);
compositor.setWindow(&window);
window.resize(800, 600);
window.show();
return app.exec();
}
|