blob: eff79edbdcacbba41a1f56e0e1c6a73eb60c598b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include <QtWidgets/QApplication>
#include <QtWidgets/QLabel>
#include <stdio.h>
int main(int argc, char **argv)
{
QApplication app(argc, argv);
QLabel label("This process is just waiting to die");
label.show();
int c;
Q_UNUSED(c);
fgetc(stdin); // block until fed
qDebug("Process is running");
return 0;
}
|