1 2QT += core gui network 3 4greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 5 6CONFIG += c++11 7 8# The following define makes your compiler emit warnings if you use 9# any Qt feature that has been marked deprecated (the exact warnings 10# depend on your compiler). Please consult the documentation of the 11# deprecated API in order to know how to port your code away from it. 12DEFINES += QT_DEPRECATED_WARNINGS \ 13 "ENABLE_ICU=1" \ 14 "ENABLE_VECTOR_FONT=1" \ 15 "ENABLE_SPANNABLE_STRING=1" \ 16 "ENABLE_BITMAP_FONT=0" 17 18DEFINES += QT_COMPILER 19 20# You can also make your code fail to compile if it uses deprecated APIs. 21# In order to do so, uncomment the following line. 22# You can also select to disable deprecated APIs only up to a certain version of Qt. 23#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 24 25DESTDIR = ../libs 26 27FORMS += \ 28 main_widget.ui 29 30TRANSLATIONS += helloqt_zh_CN.ts 31 32SOURCES += \ 33 ../drivers/display/gui_thread.cpp \ 34 ../drivers/display/monitor.cpp \ 35 ../drivers/display/task_thread.cpp \ 36 ../drivers/indev/key_input.cpp \ 37 ../drivers/indev/mouse_input.cpp \ 38 ../drivers/indev/mousewheel_input.cpp \ 39 main.cpp \ 40 main_widget.cpp 41 42HEADERS += \ 43 ../drivers/config.h \ 44 ../drivers/display/gui_thread.h \ 45 ../drivers/display/task_thread.h \ 46 ../drivers/display/monitor.h \ 47 ../drivers/indev/key_input.h \ 48 ../drivers/indev/mouse_input.h \ 49 ../drivers/indev/mousewheel_input.h \ 50 main_widget.h 51 52INCLUDEPATH += \ 53 ../drivers/display \ 54 ../drivers/indev \ 55 ../drivers \ 56 ../../../../../ui_lite/frameworks \ 57 ../../../../../ui_lite/interfaces/innerkits \ 58 ../../../../../ui_lite/interfaces/kits \ 59 ../../../../../ui_lite/test/framework \ 60 ../../../../../../graphic/graphic_utils_lite/interfaces/innerkits \ 61 ../../../../../../graphic/graphic_utils_lite/interfaces/kits \ 62 ../../../../../../../third_party/freetype/freetype-2.12.1/include \ 63 ../../../../test/framework/include \ 64 ../../../../../../../third_party/bounds_checking_function/include \ 65 ../../../../test/autotest/include \ 66 67LIBS += $$OUT_PWD/../libs/libui.dll 68LIBS += $$OUT_PWD/../libs/test.dll 69LIBS += $$OUT_PWD/../libs/auto_test.dll 70