mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-04 00:05:25 +08:00
qt 6.5.1 original
This commit is contained in:
15
tests/manual/repaint/toplevel/CMakeLists.txt
Normal file
15
tests/manual/repaint/toplevel/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#####################################################################
|
||||
## tst_manual_toplevel Binary:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_manual_test(tst_manual_toplevel
|
||||
SOURCES
|
||||
../shared/shared.h
|
||||
main.cpp
|
||||
LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
15
tests/manual/repaint/toplevel/main.cpp
Normal file
15
tests/manual/repaint/toplevel/main.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
// 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 "../shared/shared.h"
|
||||
|
||||
#include <QApplication>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
QApplication app(argc, argv);
|
||||
StaticWidget widget;
|
||||
widget.show();
|
||||
return app.exec();
|
||||
}
|
||||
|
6
tests/manual/repaint/toplevel/toplevel.pro
Normal file
6
tests/manual/repaint/toplevel/toplevel.pro
Normal file
@ -0,0 +1,6 @@
|
||||
CONFIG += console
|
||||
QT += widgets
|
||||
|
||||
TARGET = tst_manual_toplevel
|
||||
HEADERS += ../shared/shared.h
|
||||
SOURCES += main.cpp
|
Reference in New Issue
Block a user