summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/droprectangle/main.cpp
blob: b4f7c2dc9411bc457d28f72c55b2f0985298afe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#include <QtGui>

#include "window.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    Window *window = new Window;
    window->show();
    return app.exec();
}