mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-05 16:55:25 +08:00
qt 6.5.1 original
This commit is contained in:
1
tests/auto/tools/qmake/testdata/simple_app/build/README
vendored
Normal file
1
tests/auto/tools/qmake/testdata/simple_app/build/README
vendored
Normal file
@ -0,0 +1 @@
|
||||
Here to ensure build/ exists, used by the simple_app_shadowbuild2 test.
|
14
tests/auto/tools/qmake/testdata/simple_app/main.cpp
vendored
Normal file
14
tests/auto/tools/qmake/testdata/simple_app/main.cpp
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
// 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 "test_file.h"
|
||||
#include <qguiapplication.h>
|
||||
|
||||
int main( int argc, char **argv )
|
||||
{
|
||||
QGuiApplication a( argc, argv );
|
||||
SomeObject sc;
|
||||
return a.exec();
|
||||
}
|
12
tests/auto/tools/qmake/testdata/simple_app/simple_app.pro
vendored
Normal file
12
tests/auto/tools/qmake/testdata/simple_app/simple_app.pro
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
TEMPLATE = app
|
||||
HEADERS = test_file.h
|
||||
SOURCES = test_file.cpp \
|
||||
main.cpp
|
||||
RESOURCES = test.qrc
|
||||
TARGET = "simple app"
|
||||
DESTDIR = "dest dir"
|
||||
|
||||
target.path = $$OUT_PWD/dist
|
||||
INSTALLS += target
|
||||
|
||||
!build_pass:msvc:CONFIG(debug, debug|release):message("check for pdb, please")
|
5
tests/auto/tools/qmake/testdata/simple_app/test.qrc
vendored
Normal file
5
tests/auto/tools/qmake/testdata/simple_app/test.qrc
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>test.qrc</file>
|
||||
</qresource>
|
||||
</RCC>
|
9
tests/auto/tools/qmake/testdata/simple_app/test_file.cpp
vendored
Normal file
9
tests/auto/tools/qmake/testdata/simple_app/test_file.cpp
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
// 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 "test_file.h"
|
||||
|
||||
SomeObject::SomeObject() : QObject()
|
||||
{
|
||||
}
|
12
tests/auto/tools/qmake/testdata/simple_app/test_file.h
vendored
Normal file
12
tests/auto/tools/qmake/testdata/simple_app/test_file.h
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
// 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 <qobject.h>
|
||||
|
||||
class SomeObject : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
SomeObject();
|
||||
signals:
|
||||
void someSignal();
|
||||
};
|
Reference in New Issue
Block a user