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_BITMAP_FONT=0" 16 17DEFINES += QT_COMPILER 18 19# You can also make your code fail to compile if it uses deprecated APIs. 20# In order to do so, uncomment the following line. 21# You can also select to disable deprecated APIs only up to a certain version of Qt. 22#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 23 24DESTDIR = ../libs 25 26FORMS += \ 27 main_widget.ui 28 29TRANSLATIONS += helloqt_zh_CN.ts 30 31SOURCES += \ 32 ../drivers/display/gui_thread.cpp \ 33 ../drivers/display/monitor.cpp \ 34 ../drivers/display/task_thread.cpp \ 35 ../drivers/indev/key_input.cpp \ 36 ../drivers/indev/mouse_input.cpp \ 37 ../drivers/indev/mousewheel_input.cpp \ 38 main.cpp \ 39 main_widget.cpp 40 41HEADERS += \ 42 ../drivers/config.h \ 43 ../drivers/display/gui_thread.h \ 44 ../drivers/display/task_thread.h \ 45 ../drivers/display/monitor.h \ 46 ../drivers/indev/key_input.h \ 47 ../drivers/indev/mouse_input.h \ 48 ../drivers/indev/mousewheel_input.h \ 49 main_widget.h 50 51INCLUDEPATH += \ 52 ../drivers/display \ 53 ../drivers/indev \ 54 ../drivers \ 55 ../../../../../ui/frameworks \ 56 ../../../../../ui/interfaces/innerkits \ 57 ../../../../../ui/interfaces/kits \ 58 ../../../../../ui/test/framework \ 59 ../../../../../utils/interfaces/innerkits \ 60 ../../../../../utils/interfaces/kits \ 61 ../../../../../../../third_party/freetype/include \ 62 63LIBS += $$OUT_PWD/../libs/libui.dll 64LIBS += $$OUT_PWD/../libs/test.dll 65