mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-07 09:45:25 +08:00
qt 6.5.1 original
This commit is contained in:
11
tests/auto/tools/qmake/testdata/include_dir/foo.pro
vendored
Normal file
11
tests/auto/tools/qmake/testdata/include_dir/foo.pro
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
UI_DIR =
|
||||
MOC_DIR=
|
||||
TEMPLATE=app
|
||||
TARGET=foo
|
||||
FORMS=untitled.ui
|
||||
HEADERS=test_file.h
|
||||
SOURCES=\
|
||||
test_file.cpp\
|
||||
main.cpp
|
||||
CONFIG -= debug_and_release_target
|
||||
QT += widgets
|
13
tests/auto/tools/qmake/testdata/include_dir/main.cpp
vendored
Normal file
13
tests/auto/tools/qmake/testdata/include_dir/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 <qapplication.h>
|
||||
|
||||
int main( int argc, char **argv )
|
||||
{
|
||||
QApplication a( argc, argv );
|
||||
SomeObject sc;
|
||||
return a.exec();
|
||||
}
|
10
tests/auto/tools/qmake/testdata/include_dir/test_file.cpp
vendored
Normal file
10
tests/auto/tools/qmake/testdata/include_dir/test_file.cpp
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
// 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() : QWidget()
|
||||
{
|
||||
setupUi( this );
|
||||
}
|
14
tests/auto/tools/qmake/testdata/include_dir/test_file.h
vendored
Normal file
14
tests/auto/tools/qmake/testdata/include_dir/test_file.h
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 <qwidget.h>
|
||||
|
||||
#include "ui_untitled.h"
|
||||
|
||||
class SomeObject : public QWidget, public Ui_Form
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
SomeObject();
|
||||
signals:
|
||||
void someSignal();
|
||||
};
|
22
tests/auto/tools/qmake/testdata/include_dir/untitled.ui
vendored
Normal file
22
tests/auto/tools/qmake/testdata/include_dir/untitled.ui
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
<ui version="4.0" >
|
||||
<author></author>
|
||||
<comment></comment>
|
||||
<exportmacro></exportmacro>
|
||||
<class>Form</class>
|
||||
<widget class="QWidget" name="Form" >
|
||||
<property name="geometry" >
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle" >
|
||||
<string>Form</string>
|
||||
</property>
|
||||
</widget>
|
||||
<pixmapfunction></pixmapfunction>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
Reference in New Issue
Block a user