diff options
Diffstat (limited to 'tests/manual/xembed-raster/main.cpp')
-rw-r--r-- | tests/manual/xembed-raster/main.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/manual/xembed-raster/main.cpp b/tests/manual/xembed-raster/main.cpp deleted file mode 100644 index 447578fcc2..0000000000 --- a/tests/manual/xembed-raster/main.cpp +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (C) 2017 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 - -#include "rasterwindow.h" -#include <QDebug> - -int main(int argc, char **argv) -{ - QGuiApplication app(argc, argv); - - QStringList args = app.arguments(); - - WId winId = 0; - if (args.count() > 1) { - bool ok; - winId = args[1].toUInt(&ok); - Q_ASSERT(ok); - } - - RasterWindow window; - window.show(); - - QWindow *foreign = QWindow::fromWinId(winId); - Q_ASSERT(foreign != 0); - - window.setParent(foreign); - - return app.exec(); -} |