diff options
Diffstat (limited to 'examples/qpa/windows/main.cpp')
-rw-r--r-- | examples/qpa/windows/main.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/qpa/windows/main.cpp b/examples/qpa/windows/main.cpp new file mode 100644 index 0000000000..99c24fa017 --- /dev/null +++ b/examples/qpa/windows/main.cpp @@ -0,0 +1,19 @@ +#include <QGuiApplication> + +#include "window.h" + +int main(int argc, char **argv) +{ + QGuiApplication app(argc, argv); + + Window a; + a.setVisible(true); + + Window b; + b.setVisible(true); + + Window child(&b); + child.setVisible(true); + + return app.exec(); +} |