aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/debugger/gui/tst_gui.cpp
blob: 1a264c678a5b230e7daf3a68bb0fbd99a80b8df9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

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

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    qDebug() << "pid=" <<  QApplication::applicationPid();
    Foo::MainWindow w;
    w.show();
    return a.exec();
}