ArkIVI.pro 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2025-08-09T14:54:38
  4. #
  5. #-------------------------------------------------
  6. QT += core gui xml dbus
  7. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  8. TARGET = Launcher
  9. TEMPLATE = app
  10. CONFIG += c++11
  11. # The following define makes your compiler emit warnings if you use
  12. # any feature of Qt which has been marked as deprecated (the exact warnings
  13. # depend on your compiler). Please consult the documentation of the
  14. # deprecated API in order to know how to port your code away from it.
  15. DEFINES += QT_DEPRECATED_WARNINGS
  16. # You can also make your code fail to compile if you use deprecated APIs.
  17. # In order to do so, uncomment the following line.
  18. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  19. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  20. #添加编译文件安装目录
  21. include(../ArkSdk.pri)
  22. MOC_DIR = $$PWD/../Package/Ark-IVI/$$OUTPUT
  23. OBJECTS_DIR = $$PWD/../Package/Ark-IVI/$$OUTPUT
  24. RCC_DIR = $$PWD/../Package/Ark-IVI/$$OUTPUT
  25. DESTDIR = $$PWD/../Package/Ark-IVI/$$OUTPUT/bin
  26. #添加头文件的路径
  27. INCLUDEPATH += $$PWD/../Package/MultimediaService
  28. INCLUDEPATH += $$PWD/../Package/AudioService
  29. INCLUDEPATH += $$PWD/../Package/UserInterface
  30. INCLUDEPATH += $$PWD/../Package/Utility
  31. INCLUDEPATH += $$PWD/../Package/AutoConnect/
  32. INCLUDEPATH += $$PWD/../Package/UserInterface/
  33. INCLUDEPATH += $$PWD/../Package/ArkApplication/
  34. INCLUDEPATH += $$PWD/../Package/RunnableThread/
  35. INCLUDEPATH += $$PWD/UserInterface
  36. INCLUDEPATH += $$PWD/UserInterface/HomeWidget
  37. INCLUDEPATH += $$PWD/UserInterface/HomeWidget/toolWidget
  38. INCLUDEPATH += $$PWD/UserInterface/MultiMusicWidget
  39. INCLUDEPATH += $$PWD/UserInterface/MultiMusicWidget/BtMusicWidget
  40. INCLUDEPATH += $$PWD/UserInterface/MultiMusicWidget/RadioMusicWidget
  41. INCLUDEPATH += $$PWD/UserInterface/MultiMusicWidget/SdMusicWidget
  42. INCLUDEPATH += $$PWD/UserInterface/MultiMusicWidget/UsbMusicWidget
  43. INCLUDEPATH += $$PWD/UserInterface/VideoPicWidget
  44. INCLUDEPATH += $$PWD/UserInterface/VideoPicWidget/UsbVideoWidget
  45. INCLUDEPATH += $$PWD/UserInterface/VideoPicWidget/UsbPicWidget
  46. INCLUDEPATH += $$PWD/UserInterface/VideoPicWidget/SdVideoWidget
  47. INCLUDEPATH += $$PWD/UserInterface/VideoPicWidget/SdPicWidget
  48. INCLUDEPATH += $$PWD/UserInterface/SettingWidget
  49. INCLUDEPATH += $$PWD/UserInterface/SettingWidget/WifiSettingWidget
  50. INCLUDEPATH += $$PWD/UserInterface/SettingWidget/BtSettingWidget
  51. INCLUDEPATH += $$PWD/UserInterface/SettingWidget/BrightnessSettingWidget
  52. INCLUDEPATH += $$PWD/UserInterface/SettingWidget/SoundSettingWidget
  53. INCLUDEPATH += $$PWD/UserInterface/SettingWidget/MoreSettingWidget
  54. INCLUDEPATH += $$PWD/UserInterface/SettingWidget/AboutSettingWidget
  55. INCLUDEPATH += $$PWD/UserInterface/BtTelWidget
  56. INCLUDEPATH += $$PWD/BusinessLogic
  57. SOURCES += \
  58. main.cpp \
  59. UserInterface/mainwindow.cpp \
  60. UserInterface/HomeWidget/homeViewPaperWidget.cpp \
  61. UserInterface/HomeWidget/toolWidget/toolwidget.cpp \
  62. UserInterface/MultiMusicWidget/multiMusicWidget.cpp \
  63. UserInterface/MultiMusicWidget/UsbMusicWidget/usbMusicWidget.cpp \
  64. UserInterface/MultiMusicWidget/UsbMusicWidget/usbMusicPlayWidget.cpp \
  65. UserInterface/MultiMusicWidget/RadioMusicWidget/radioMusicPlayWidget.cpp \
  66. UserInterface/MultiMusicWidget/BtMusicWidget/btMusicPlayWidget.cpp \
  67. UserInterface/MultiMusicWidget/SdMusicWidget/sdMusicPlayWidget.cpp \
  68. UserInterface/MultiMusicWidget/BtMusicWidget/btMusicWidget.cpp \
  69. UserInterface/MultiMusicWidget/BtMusicWidget/btInfoPageOne.cpp \
  70. UserInterface/MultiMusicWidget/BtMusicWidget/btInfoPageTwo.cpp \
  71. UserInterface/MultiMusicWidget/RadioMusicWidget/radioMusicWidget.cpp \
  72. UserInterface/MultiMusicWidget/SdMusicWidget/sdMusicWIdget.cpp \
  73. UserInterface/VideoPicWidget/videoPicWidget.cpp \
  74. UserInterface/VideoPicWidget/UsbVideoWidget/UsbVideoListviewWidget.cpp \
  75. UserInterface/VideoPicWidget/UsbVideoWidget/UsbVideoPlayWidget.cpp \
  76. UserInterface/VideoPicWidget/UsbPicWidget/UsbPicShowWidget.cpp \
  77. UserInterface/VideoPicWidget/UsbPicWidget/UsbPicListviewWidget.cpp \
  78. UserInterface/SettingWidget/settingWidget.cpp \
  79. UserInterface/SettingWidget/BtSettingWidget/btSettingWidget.cpp \
  80. UserInterface/SettingWidget/WifiSettingWidget/wifiSettingWidget.cpp \
  81. UserInterface/SettingWidget/BrightnessSettingWidget/brightnessSettingWidget.cpp \
  82. UserInterface/SettingWidget/SoundSettingWidget/soundSettingWidget.cpp \
  83. UserInterface/SettingWidget/MoreSettingWidget/MoreSettingWidget.cpp \
  84. UserInterface/SettingWidget/AboutSettingWidget/aboutSettingWidget.cpp \
  85. UserInterface/BtTelWidget/btTelePhoneWidget.cpp \
  86. UserInterface/BtTelWidget/btTelNumBtnWidget.cpp \
  87. UserInterface/BtTelWidget/btTelCallLogWidget.cpp \
  88. UserInterface/BtTelWidget/btTelAddressBoolWidget.cpp \
  89. UserInterface/PhoneWidget/carLifeCarplayWidget.cpp \
  90. UserInterface/PhoneWidget/autoCarplayWidget.cpp \
  91. UserInterface/PhoneWidget/Hicar.cpp \
  92. UserInterface/SettingWidget/progressWidget.cpp \
  93. BusinessLogic/Multimedia.cpp \
  94. BusinessLogic/carlinkproxy.cpp \
  95. BusinessLogic/carlink.cpp \
  96. BusinessLogic/carback.cpp \
  97. BusinessLogic/Audio.cpp \
  98. BusinessLogic/Setting.cpp \
  99. UserInterface/PhoneWidget/phoneWidget.cpp \
  100. UserInterface/PhoneWidget/phoneLinkMsgWidget.cpp \
  101. UserInterface/VideoPicWidget/UsbPicWidget/PixmapWidget/PixmapWidget.cpp \
  102. UserInterface/Avin/avinWidget.cpp \
  103. BusinessLogic/Bluetooth.cpp
  104. HEADERS += \
  105. UserInterface/mainwindow.h \
  106. UserInterface/HomeWidget/homeViewPaperWidget.h \
  107. UserInterface/HomeWidget/toolWidget/toolwidget.h \
  108. UserInterface/MultiMusicWidget/multiMusicWidget.h \
  109. UserInterface/MultiMusicWidget/UsbMusicWidget/usbMusicWidget.h \
  110. UserInterface/MultiMusicWidget/UsbMusicWidget/usbMusicPlayWidget.h \
  111. UserInterface/MultiMusicWidget/RadioMusicWidget/radioMusicPlayWidget.h \
  112. UserInterface/MultiMusicWidget/BtMusicWidget/btMusicPlayWidget.h \
  113. UserInterface/MultiMusicWidget/SdMusicWidget/sdMusicPlayWidget.h \
  114. UserInterface/MultiMusicWidget/BtMusicWidget/btMusicWidget.h \
  115. UserInterface/MultiMusicWidget/BtMusicWidget/btInfoPageOne.h \
  116. UserInterface/MultiMusicWidget/BtMusicWidget/btInfoPageTwo.h \
  117. UserInterface/MultiMusicWidget/RadioMusicWidget/radioMusicWidget.h \
  118. UserInterface/MultiMusicWidget/SdMusicWidget/sdMusicWIdget.h \
  119. UserInterface/VideoPicWidget/videoPicWidget.h \
  120. UserInterface/VideoPicWidget/UsbVideoWidget/UsbVideoListviewWidget.h \
  121. UserInterface/VideoPicWidget/UsbVideoWidget/UsbVideoPlayWidget.h \
  122. UserInterface/VideoPicWidget/UsbPicWidget/UsbPicShowWidget.h \
  123. UserInterface/VideoPicWidget/UsbPicWidget/UsbPicListviewWidget.h \
  124. UserInterface/SettingWidget/settingWidget.h \
  125. UserInterface/SettingWidget/BtSettingWidget/btSettingWidget.h \
  126. UserInterface/SettingWidget/WifiSettingWidget/wifiSettingWidget.h \
  127. UserInterface/SettingWidget/BrightnessSettingWidget/brightnessSettingWidget.h \
  128. UserInterface/SettingWidget/SoundSettingWidget/soundSettingWidget.h \
  129. UserInterface/SettingWidget/MoreSettingWidget/MoreSettingWidget.h \
  130. UserInterface/SettingWidget/AboutSettingWidget/aboutSettingWidget.h \
  131. UserInterface/BtTelWidget/btTelePhoneWidget.h \
  132. UserInterface/BtTelWidget/btTelNumBtnWidget.h \
  133. UserInterface/BtTelWidget/btTelCallLogWidget.h \
  134. UserInterface/BtTelWidget/btTelAddressBoolWidget.h \
  135. UserInterface/PhoneWidget/carLifeCarplayWidget.h \
  136. UserInterface/PhoneWidget/autoCarplayWidget.h \
  137. UserInterface/PhoneWidget/Hicar.h \
  138. UserInterface/SettingWidget/progressWidget.h \
  139. BusinessLogic/Multimedia.h \
  140. BusinessLogic/LinkBase.h \
  141. BusinessLogic/configUtils.h \
  142. BusinessLogic/carlinkproxy.h \
  143. BusinessLogic/CarLinkPlayer.h \
  144. BusinessLogic/carlink.h \
  145. BusinessLogic/carback.h \
  146. BusinessLogic/Audio.h \
  147. BusinessLogic/ArkCar.h \
  148. BusinessLogic/Setting.h \
  149. BusinessLogic/display.h \
  150. UserInterface/PhoneWidget/phoneWidget.h \
  151. UserInterface/PhoneWidget/phoneLinkMsgWidget.h \
  152. UserInterface/VideoPicWidget/UsbPicWidget/PixmapWidget/PixmapWidget.h \
  153. BusinessLogic/sys_log.h \
  154. UserInterface/Avin/avinWidget.h \
  155. BusinessLogic/Bluetooth.h
  156. #SDK_OUTPUT_PATH = /home/liuhc/WorksNew/Ark1668EDBsp/ark1668ed-bsp-new/ark1668ed-bsp/output/board/ark1668ed_devb/buildroot/target/usr
  157. SDK_OUTPUT_PATH = $$PWD/../../../buildroot/target/usr
  158. INCLUDEPATH += $$SDK_OUTPUT_PATH/include/
  159. INCLUDEPATH += $$SDK_OUTPUT_PATH/include/libusb-1.0/
  160. INCLUDEPATH += $$PWD/../MultimediaService/taglib/
  161. LIBS += -L$$PWD/../Package/UserInterface/$$OUTPUT -lUserInterface
  162. LIBS += -L$$PWD/../Package/AutoConnect/$$OUTPUT -lAutoConnect
  163. LIBS += -L$$PWD/../Package/AudioService/$$OUTPUT -lAudioService
  164. LIBS += -L$$PWD/../Package/MultimediaService/$$OUTPUT -lMultimediaService
  165. LIBS += -L$$PWD/../Package/Utility/$$OUTPUT -lUtility
  166. LIBS += -L$$PWD/../Package/ArkApplication/$$OUTPUT -lArkApplication
  167. LIBS +=-L$$SDK_OUTPUT_PATH/lib -lmfc -lpthread -larkapi -lasound -lprotobuf -lfdk-aac -lusb-1.0 -lwpa_client
  168. if (contains(QMAKE_CXXFLAGS, -D_TIME_BITS=64)){
  169. LIBS +=-L$$PWD/../MultimediaService/lib_time64/ -lConvert
  170. LIBS +=-L$$PWD/../MultimediaService/lib_time64/ -ltag
  171. } else {
  172. LIBS +=-L$$PWD/../MultimediaService/lib/ -lConvert
  173. LIBS +=-L$$PWD/../MultimediaService/lib/ -ltag
  174. }
  175. ALSA = $$PWD/../AudioService/Alsa/Header
  176. INCLUDEPATH += $$ALSA
  177. DEPENDPATH += $$ALSA
  178. LIBS += -L$$PWD/../AudioService/Alsa/Library -lasound
  179. RESOURCES += \
  180. images.qrc