-
Notifications
You must be signed in to change notification settings - Fork 185
/
Copy pathExample.pro
executable file
·47 lines (36 loc) · 1 KB
/
Example.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#-------------------------------------------------
#
# Project created by QtCreator 2016-08-05T15:36:47
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = NBaseUiKit_Example
TEMPLATE = app
SOURCES += main.cpp \
nbaseuikittest.cpp
HEADERS += \
nbaseuikittest.h
# 定义输出路径
CONFIG += debug_and_release
CONFIG(release, debug|release) {
target_path = ./build_/dist
} else {
target_path = ./build_/debug
}
DESTDIR = ../bin
MOC_DIR = $$target_path/moc
RCC_DIR = $$target_path/rcc
UI_DIR = $$target_path/ui
OBJECTS_DIR = $$target_path/obj
# 引入测试类库
LIBS += -L$$OUT_PWD/../bin/ -lNBaseUiKit
include(../NBaseUiKit/NBaseUiKit_inc.pri)
# 输出编译套件信息
message(Qt version: $$[QT_VERSION])
message(Qt is installed in $$[QT_INSTALL_PREFIX])
message(the NBaseUiKit_Example will create in folder: $$target_path)
RESOURCES += \
example_resources.qrc
FORMS += \
nbaseuikittest.ui