#------------------------------------------------- # # Project created by QtCreator 2025-08-09T14:54:38 # #------------------------------------------------- QT += core gui xml dbus greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = Launcher TEMPLATE = app CONFIG += c++11 # The following define makes your compiler emit warnings if you use # any feature of Qt which has been marked as 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. DEFINES += QT_DEPRECATED_WARNINGS # You can also make your code fail to compile if you use 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 #添加编译文件安装目录 include(../ArkSdk.pri) MOC_DIR = $$PWD/../Package/Ark-IVI/$$OUTPUT OBJECTS_DIR = $$PWD/../Package/Ark-IVI/$$OUTPUT RCC_DIR = $$PWD/../Package/Ark-IVI/$$OUTPUT DESTDIR = $$PWD/../Package/Ark-IVI/$$OUTPUT/bin #添加头文件的路径 INCLUDEPATH += $$PWD/../Package/MultimediaService INCLUDEPATH += $$PWD/../Package/AudioService INCLUDEPATH += $$PWD/../Package/UserInterface INCLUDEPATH += $$PWD/../Package/Utility INCLUDEPATH += $$PWD/../Package/AutoConnect/ INCLUDEPATH += $$PWD/../Package/UserInterface/ INCLUDEPATH += $$PWD/../Package/ArkApplication/ INCLUDEPATH += $$PWD/../Package/RunnableThread/ INCLUDEPATH += $$PWD/UserInterface INCLUDEPATH += $$PWD/UserInterface/HomeWidget INCLUDEPATH += $$PWD/UserInterface/HomeWidget/toolWidget INCLUDEPATH += $$PWD/UserInterface/MultiMusicWidget INCLUDEPATH += $$PWD/UserInterface/MultiMusicWidget/BtMusicWidget INCLUDEPATH += $$PWD/UserInterface/MultiMusicWidget/RadioMusicWidget INCLUDEPATH += $$PWD/UserInterface/MultiMusicWidget/SdMusicWidget INCLUDEPATH += $$PWD/UserInterface/MultiMusicWidget/UsbMusicWidget INCLUDEPATH += $$PWD/UserInterface/VideoPicWidget INCLUDEPATH += $$PWD/UserInterface/VideoPicWidget/UsbVideoWidget INCLUDEPATH += $$PWD/UserInterface/VideoPicWidget/UsbPicWidget INCLUDEPATH += $$PWD/UserInterface/VideoPicWidget/SdVideoWidget INCLUDEPATH += $$PWD/UserInterface/VideoPicWidget/SdPicWidget INCLUDEPATH += $$PWD/UserInterface/SettingWidget INCLUDEPATH += $$PWD/UserInterface/SettingWidget/WifiSettingWidget INCLUDEPATH += $$PWD/UserInterface/SettingWidget/BtSettingWidget INCLUDEPATH += $$PWD/UserInterface/SettingWidget/BrightnessSettingWidget INCLUDEPATH += $$PWD/UserInterface/SettingWidget/SoundSettingWidget INCLUDEPATH += $$PWD/UserInterface/SettingWidget/MoreSettingWidget INCLUDEPATH += $$PWD/UserInterface/SettingWidget/AboutSettingWidget INCLUDEPATH += $$PWD/UserInterface/BtTelWidget INCLUDEPATH += $$PWD/BusinessLogic SOURCES += \ main.cpp \ UserInterface/mainwindow.cpp \ UserInterface/HomeWidget/homeViewPaperWidget.cpp \ UserInterface/HomeWidget/toolWidget/toolwidget.cpp \ UserInterface/MultiMusicWidget/multiMusicWidget.cpp \ UserInterface/MultiMusicWidget/UsbMusicWidget/usbMusicWidget.cpp \ UserInterface/MultiMusicWidget/UsbMusicWidget/usbMusicPlayWidget.cpp \ UserInterface/MultiMusicWidget/RadioMusicWidget/radioMusicPlayWidget.cpp \ UserInterface/MultiMusicWidget/BtMusicWidget/btMusicPlayWidget.cpp \ UserInterface/MultiMusicWidget/SdMusicWidget/sdMusicPlayWidget.cpp \ UserInterface/MultiMusicWidget/BtMusicWidget/btMusicWidget.cpp \ UserInterface/MultiMusicWidget/BtMusicWidget/btInfoPageOne.cpp \ UserInterface/MultiMusicWidget/BtMusicWidget/btInfoPageTwo.cpp \ UserInterface/MultiMusicWidget/RadioMusicWidget/radioMusicWidget.cpp \ UserInterface/MultiMusicWidget/SdMusicWidget/sdMusicWIdget.cpp \ UserInterface/VideoPicWidget/videoPicWidget.cpp \ UserInterface/VideoPicWidget/UsbVideoWidget/UsbVideoListviewWidget.cpp \ UserInterface/VideoPicWidget/UsbVideoWidget/UsbVideoPlayWidget.cpp \ UserInterface/VideoPicWidget/UsbPicWidget/UsbPicShowWidget.cpp \ UserInterface/VideoPicWidget/UsbPicWidget/UsbPicListviewWidget.cpp \ UserInterface/SettingWidget/settingWidget.cpp \ UserInterface/SettingWidget/BtSettingWidget/btSettingWidget.cpp \ UserInterface/SettingWidget/WifiSettingWidget/wifiSettingWidget.cpp \ UserInterface/SettingWidget/BrightnessSettingWidget/brightnessSettingWidget.cpp \ UserInterface/SettingWidget/SoundSettingWidget/soundSettingWidget.cpp \ UserInterface/SettingWidget/MoreSettingWidget/MoreSettingWidget.cpp \ UserInterface/SettingWidget/AboutSettingWidget/aboutSettingWidget.cpp \ UserInterface/BtTelWidget/btTelePhoneWidget.cpp \ UserInterface/BtTelWidget/btTelNumBtnWidget.cpp \ UserInterface/BtTelWidget/btTelCallLogWidget.cpp \ UserInterface/BtTelWidget/btTelAddressBoolWidget.cpp \ UserInterface/PhoneWidget/carLifeCarplayWidget.cpp \ UserInterface/PhoneWidget/autoCarplayWidget.cpp \ UserInterface/PhoneWidget/Hicar.cpp \ UserInterface/SettingWidget/progressWidget.cpp \ BusinessLogic/Multimedia.cpp \ BusinessLogic/carlinkproxy.cpp \ BusinessLogic/carlink.cpp \ BusinessLogic/carback.cpp \ BusinessLogic/Audio.cpp \ BusinessLogic/Setting.cpp \ UserInterface/PhoneWidget/phoneWidget.cpp \ UserInterface/PhoneWidget/phoneLinkMsgWidget.cpp \ UserInterface/VideoPicWidget/UsbPicWidget/PixmapWidget/PixmapWidget.cpp \ UserInterface/Avin/avinWidget.cpp \ BusinessLogic/Bluetooth.cpp HEADERS += \ UserInterface/mainwindow.h \ UserInterface/HomeWidget/homeViewPaperWidget.h \ UserInterface/HomeWidget/toolWidget/toolwidget.h \ UserInterface/MultiMusicWidget/multiMusicWidget.h \ UserInterface/MultiMusicWidget/UsbMusicWidget/usbMusicWidget.h \ UserInterface/MultiMusicWidget/UsbMusicWidget/usbMusicPlayWidget.h \ UserInterface/MultiMusicWidget/RadioMusicWidget/radioMusicPlayWidget.h \ UserInterface/MultiMusicWidget/BtMusicWidget/btMusicPlayWidget.h \ UserInterface/MultiMusicWidget/SdMusicWidget/sdMusicPlayWidget.h \ UserInterface/MultiMusicWidget/BtMusicWidget/btMusicWidget.h \ UserInterface/MultiMusicWidget/BtMusicWidget/btInfoPageOne.h \ UserInterface/MultiMusicWidget/BtMusicWidget/btInfoPageTwo.h \ UserInterface/MultiMusicWidget/RadioMusicWidget/radioMusicWidget.h \ UserInterface/MultiMusicWidget/SdMusicWidget/sdMusicWIdget.h \ UserInterface/VideoPicWidget/videoPicWidget.h \ UserInterface/VideoPicWidget/UsbVideoWidget/UsbVideoListviewWidget.h \ UserInterface/VideoPicWidget/UsbVideoWidget/UsbVideoPlayWidget.h \ UserInterface/VideoPicWidget/UsbPicWidget/UsbPicShowWidget.h \ UserInterface/VideoPicWidget/UsbPicWidget/UsbPicListviewWidget.h \ UserInterface/SettingWidget/settingWidget.h \ UserInterface/SettingWidget/BtSettingWidget/btSettingWidget.h \ UserInterface/SettingWidget/WifiSettingWidget/wifiSettingWidget.h \ UserInterface/SettingWidget/BrightnessSettingWidget/brightnessSettingWidget.h \ UserInterface/SettingWidget/SoundSettingWidget/soundSettingWidget.h \ UserInterface/SettingWidget/MoreSettingWidget/MoreSettingWidget.h \ UserInterface/SettingWidget/AboutSettingWidget/aboutSettingWidget.h \ UserInterface/BtTelWidget/btTelePhoneWidget.h \ UserInterface/BtTelWidget/btTelNumBtnWidget.h \ UserInterface/BtTelWidget/btTelCallLogWidget.h \ UserInterface/BtTelWidget/btTelAddressBoolWidget.h \ UserInterface/PhoneWidget/carLifeCarplayWidget.h \ UserInterface/PhoneWidget/autoCarplayWidget.h \ UserInterface/PhoneWidget/Hicar.h \ UserInterface/SettingWidget/progressWidget.h \ BusinessLogic/Multimedia.h \ BusinessLogic/LinkBase.h \ BusinessLogic/configUtils.h \ BusinessLogic/carlinkproxy.h \ BusinessLogic/CarLinkPlayer.h \ BusinessLogic/carlink.h \ BusinessLogic/carback.h \ BusinessLogic/Audio.h \ BusinessLogic/ArkCar.h \ BusinessLogic/Setting.h \ BusinessLogic/display.h \ UserInterface/PhoneWidget/phoneWidget.h \ UserInterface/PhoneWidget/phoneLinkMsgWidget.h \ UserInterface/VideoPicWidget/UsbPicWidget/PixmapWidget/PixmapWidget.h \ BusinessLogic/sys_log.h \ UserInterface/Avin/avinWidget.h \ BusinessLogic/Bluetooth.h #SDK_OUTPUT_PATH = /home/liuhc/WorksNew/Ark1668EDBsp/ark1668ed-bsp-new/ark1668ed-bsp/output/board/ark1668ed_devb/buildroot/target/usr SDK_OUTPUT_PATH = $$PWD/../../../buildroot/target/usr INCLUDEPATH += $$SDK_OUTPUT_PATH/include/ INCLUDEPATH += $$SDK_OUTPUT_PATH/include/libusb-1.0/ INCLUDEPATH += $$PWD/../MultimediaService/taglib/ LIBS += -L$$PWD/../Package/UserInterface/$$OUTPUT -lUserInterface LIBS += -L$$PWD/../Package/AutoConnect/$$OUTPUT -lAutoConnect LIBS += -L$$PWD/../Package/AudioService/$$OUTPUT -lAudioService LIBS += -L$$PWD/../Package/MultimediaService/$$OUTPUT -lMultimediaService LIBS += -L$$PWD/../Package/Utility/$$OUTPUT -lUtility LIBS += -L$$PWD/../Package/ArkApplication/$$OUTPUT -lArkApplication LIBS +=-L$$SDK_OUTPUT_PATH/lib -lmfc -lpthread -larkapi -lasound -lprotobuf -lfdk-aac -lusb-1.0 -lwpa_client if (contains(QMAKE_CXXFLAGS, -D_TIME_BITS=64)){ LIBS +=-L$$PWD/../MultimediaService/lib_time64/ -lConvert LIBS +=-L$$PWD/../MultimediaService/lib_time64/ -ltag } else { LIBS +=-L$$PWD/../MultimediaService/lib/ -lConvert LIBS +=-L$$PWD/../MultimediaService/lib/ -ltag } ALSA = $$PWD/../AudioService/Alsa/Header INCLUDEPATH += $$ALSA DEPENDPATH += $$ALSA LIBS += -L$$PWD/../AudioService/Alsa/Library -lasound RESOURCES += \ images.qrc