UITest.pro 1.8 KB
Newer Older
M
mamingshuai 已提交
1 2 3 4 5 6 7 8 9 10 11

QT       += core gui network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
W
wangtiantian 已提交
12 13 14
DEFINES += QT_DEPRECATED_WARNINGS \
    "ENABLE_ICU=1" \
    "ENABLE_VECTOR_FONT=1"
M
mamingshuai 已提交
15 16 17 18 19 20 21 22

DEFINES += QT_COMPILER

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

Z
zhdengc 已提交
23
DESTDIR = ../libs
M
mamingshuai 已提交
24 25 26 27 28 29 30 31 32 33

FORMS += \
    main_widget.ui

TRANSLATIONS += helloqt_zh_CN.ts

SOURCES += \
    ../drivers/display/gui_thread.cpp \
    ../drivers/display/monitor.cpp \
    ../drivers/display/task_thread.cpp \
P
pssea 已提交
34
    ../drivers/indev/key_input.cpp \
M
mamingshuai 已提交
35 36 37 38 39 40 41 42 43 44
    ../drivers/indev/mouse_input.cpp \
    ../drivers/indev/mousewheel_input.cpp \
    main.cpp \
    main_widget.cpp

HEADERS += \
    ../drivers/config.h \
    ../drivers/display/gui_thread.h \
    ../drivers/display/task_thread.h \
    ../drivers/display/monitor.h \
P
pssea 已提交
45
    ../drivers/indev/key_input.h \
M
mamingshuai 已提交
46 47 48 49 50
    ../drivers/indev/mouse_input.h \
    ../drivers/indev/mousewheel_input.h \
    main_widget.h

INCLUDEPATH += \
Z
zhdengc 已提交
51 52 53
    ../drivers/display \
    ../drivers/indev \
    ../drivers \
Z
zhdengc 已提交
54
    ../../../../../ui/frameworks \
M
mamingshuai 已提交
55 56
    ../../../../../ui/interfaces/innerkits \
    ../../../../../ui/interfaces/kits \
Z
zhdengc 已提交
57 58
    ../../../../../utils/interfaces/innerkits \
    ../../../../../utils/interfaces/kits \
M
mamingshuai 已提交
59
    ../../../../../../../third_party/freetype/include \
Z
zhdengc 已提交
60

Z
zhdengc 已提交
61 62
LIBS += $$OUT_PWD/../libs/libui.dll
LIBS += $$OUT_PWD/../libs/test.dll