mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-04 08:15:30 +08:00
qt 6.5.1 original
This commit is contained in:
20
tests/auto/tools/qmake/testdata/install_depends/foo.pro
vendored
Normal file
20
tests/auto/tools/qmake/testdata/install_depends/foo.pro
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
TEMPLATE=app
|
||||
TARGET=foo
|
||||
CONFIG -= debug_and_release_target
|
||||
|
||||
HEADERS=test_file.h
|
||||
SOURCES=\
|
||||
test_file.cpp\
|
||||
main.cpp
|
||||
|
||||
test1.files=test1
|
||||
test1.path=dist
|
||||
INSTALLS+=test1
|
||||
|
||||
test2.files=test2
|
||||
test2.path=dist
|
||||
INSTALLS+=test2
|
||||
|
||||
target.path=dist
|
||||
target.depends=install_test1 install_test2
|
||||
INSTALLS+=target
|
13
tests/auto/tools/qmake/testdata/install_depends/main.cpp
vendored
Normal file
13
tests/auto/tools/qmake/testdata/install_depends/main.cpp
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
// 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();
|
||||
}
|
0
tests/auto/tools/qmake/testdata/install_depends/test1
vendored
Normal file
0
tests/auto/tools/qmake/testdata/install_depends/test1
vendored
Normal file
0
tests/auto/tools/qmake/testdata/install_depends/test2
vendored
Normal file
0
tests/auto/tools/qmake/testdata/install_depends/test2
vendored
Normal file
9
tests/auto/tools/qmake/testdata/install_depends/test_file.cpp
vendored
Normal file
9
tests/auto/tools/qmake/testdata/install_depends/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/install_depends/test_file.h
vendored
Normal file
12
tests/auto/tools/qmake/testdata/install_depends/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