1 2QT += network 3 4CONFIG += qt 5 6TEMPLATE = lib 7 8CONFIG += c++11 9 10# The following define makes your compiler emit warnings if you use 11# any Qt feature that has been marked deprecated (the exact warnings 12# depend on your compiler). Please consult the documentation of the 13# deprecated API in order to know how to port your code away from it. 14DEFINES += QT_DEPRECATED_WARNINGS \ 15 "ENABLE_ICU=1" \ 16 "ENABLE_VECTOR_FONT=1" \ 17 "ENABLE_SPANNABLE_STRING=1" \ 18 "ENABLE_BITMAP_FONT=0" \ 19 "ENABLE_MULTI_FONT=1" \ 20 "ENABEL_UI_AUTO_TEST=0" \ 21 "GRAPHIC_ENABLE_LINECAP_FLAG=1" \ 22 "GRAPHIC_ENABLE_LINEJOIN_FLAG=1" \ 23 "GRAPHIC_ENABLE_ELLIPSE_FLAG=1" \ 24 "GRAPHIC_ENABLE_BEZIER_ARC_FLAG=1" \ 25 "GRAPHIC_ENABLE_ARC_FLAG=1" \ 26 "GRAPHIC_ENABLE_ROUNDEDRECT_FLAG=1" \ 27 "GRAPHIC_ENABLE_DASH_GENERATE_FLAG=1" \ 28 "GRAPHIC_ENABLE_BLUR_EFFECT_FLAG=1" \ 29 "GRAPHIC_ENABLE_SHADOW_EFFECT_FLAG=1" \ 30 "GRAPHIC_ENABLE_GRADIENT_FILL_FLAG=1" \ 31 "GRAPHIC_ENABLE_PATTERN_FILL_FLAG=1" \ 32 "GRAPHIC_ENABLE_DRAW_IMAGE_FLAG=1" \ 33 "GRAPHIC_ENABLE_DRAW_TEXT_FLAG=1" \ 34 "DEFAULT_ANIMATION=1" 35 36DEFINES += QT_COMPILER 37#DEFINES += ENABLE_GIFLIB 38 39# You can also make your code fail to compile if it uses deprecated APIs. 40# In order to do so, uncomment the following line. 41# You can also select to disable deprecated APIs only up to a certain version of Qt. 42#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 43 44DESTDIR = ../libs 45 46SOURCES += \ 47 ../../../../test/autotest/src/auto_test_manager.cpp \ 48 ../../../../test/autotest/src/compare_tools.cpp \ 49 ../../../../test/autotest/src/socket_thread.cpp \ 50 ../../../../test/autotest/src/tcp_socket.cpp \ 51 ../../../../test/autotest/src/tcp_socket_manager.cpp \ 52 ../../../../test/autotest/src/ui_auto_test.cpp \ 53 54HEADERS += \ 55 ../../../../test/autotest/include/auto_test_manager.h \ 56 ../../../../test/autotest/include/compare_tools.h \ 57 ../../../../test/autotest/include/scoket_thread.h \ 58 ../../../../test/autotest/include/tcp_socket.h \ 59 ../../../../test/autotest/include/tcp_socket_manager.h \ 60 ../../../../test/autotest/include/ui_auto_test.h \ 61 ../../../../test/autotest/include/ui_test_message.h \ 62 63INCLUDEPATH += \ 64 ../../../../frameworks \ 65 ../../../../../../graphic/graphic_utils_lite/frameworks/windows \ 66 ../../../../../../graphic/graphic_utils_lite/interfaces/innerkits \ 67 ../../../../../../graphic/graphic_utils_lite/interfaces/kits \ 68 ../../../../../ui_lite/interfaces/frameworks \ 69 ../../../../../ui_lite/interfaces/innerkits \ 70 ../../../../../ui_lite/interfaces/kits \ 71 ../../../../test/framework \ 72 ../../../../test/framework/include \ 73 ../../../../test/autotest/src \ 74 ../../../../test/autotest/include \ 75 ../../../../test/uitest \ 76 ../../../../../../../third_party/bounds_checking_function/include \ 77 ../../../../../../../third_party/harfbuzz \ 78 ../../../../../../../third_party/icu/icu4c/source/common \ 79 ../../../../../../../third_party/freetype/include \ 80 ../../../../../../../third_party/cJSON \ 81 ../../../../../../../third_party/libjpeg-turbo \ 82 ../../../../../../../third_party/libpng 83 84if(contains(DEFINES, ENABLE_GIFLIB)){ 85 INCLUDEPATH += ../../../../../../../third_party/giflib 86} 87 88LIBS += $$OUT_PWD/../libs/libui.dll 89LIBS += $$OUT_PWD/../libs/test.dll 90