diff options
Diffstat (limited to 'src/qdoc/qdoc/doc/examples/main.cpp')
-rw-r--r-- | src/qdoc/qdoc/doc/examples/main.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/qdoc/qdoc/doc/examples/main.cpp b/src/qdoc/qdoc/doc/examples/main.cpp new file mode 100644 index 000000000..0898fa5f7 --- /dev/null +++ b/src/qdoc/qdoc/doc/examples/main.cpp @@ -0,0 +1,16 @@ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +#include <QApplication> +#include <QPushButton> + +int main(int argc, char *argv[]) +{ + QApplication app(argc, argv); + + QPushButton hello("Hello world!"); + hello.resize(100, 30); + + hello.show(); + return app.exec(); +} |