MultimediaService.pro 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. QT += core xml dbus
  2. CONFIG += c++11
  3. #TARGET = MultimediaService
  4. #TEMPLATE = lib
  5. #CONFIG += staticlib
  6. TARGET = MultimediaService
  7. TEMPLATE = app
  8. # 指定生成的库文件是共享库
  9. #CONFIG += plugin
  10. CONFIG += release
  11. SOURCES += MultimediaService.cpp \
  12. DeviceWatcher/DiskScanner/DiskScanner.cpp \
  13. DeviceWatcher/DeviceWatcher.cpp \
  14. ImagePlayer/ImagePlayer.cpp \
  15. MusicPlayer/MusicPlayer.cpp \
  16. VideoPlayer/VideoPlayer.cpp \
  17. MultimediaPersistent.cpp \
  18. MultimediaServiceProxy.cpp \
  19. DeviceWatcher/DiskDetach/DiskDetach.cpp \
  20. DeviceWatcher/DiskDeviceWatcher/DiskDeviceWatcher.cpp \
  21. MusicPlayer/MusicInformation/MusicInformation.cpp \
  22. #RunnableThread.cpp \
  23. main.cpp
  24. # DeviceWatcher/DiskScanner/magickCore.c
  25. HEADERS += MultimediaService.h \
  26. DeviceWatcher/DiskScanner/DiskScanner.h \
  27. DeviceWatcher/DeviceWatcher.h \
  28. ImagePlayer/ImagePlayer.h \
  29. MusicPlayer/MusicPlayer.h \
  30. VideoPlayer/VideoPlayer.h \
  31. MultimediaServiceProxy.h \
  32. MultimediaPersistent.h \
  33. DeviceWatcher/DiskDetach/DiskDetach.h \
  34. DeviceWatcher/DiskDeviceWatcher/DiskDeviceWatcher.h \
  35. MusicPlayer/MusicInformation/MusicInformation.h \
  36. configUtils.h
  37. #RunnableThread.h
  38. include(../ArkSdk.pri)
  39. SDK_OUTPUT_PATH = /home/liuhc/WorksNew/Ark1668EDBsp/ark1668ed-bsp-new/ark1668ed-bsp/output/board/ark1668ed_devb/buildroot/staging/usr
  40. LIBS += -rdynamic -ldl
  41. LIBS +=-L$$PWD/../Package/AutoConnect/$$OUTPUT -lAutoConnect
  42. LIBS += -L$$PWD/../Package/RunnableThread/$$OUTPUT -lRunnableThread
  43. LIBS +=-L$$SDK_OUTPUT_PATH/lib -ltag
  44. if (contains(QMAKE_CXXFLAGS, -D_TIME_BITS=64)){
  45. LIBS +=-L$$PWD/lib_time64/ -lConvert
  46. } else {
  47. LIBS +=-L$$PWD/../MultimediaService/lib/ -lConvert
  48. }
  49. system(mkdir -p $$PWD/../Package/$$TARGET/$$OUTPUT)
  50. system(cp MultimediaPersistent.h $$PWD/../Package/$$TARGET)
  51. system(cp MultimediaService.h $$PWD/../Package/$$TARGET)
  52. INCLUDEPATH += $$PWD/../Package/AutoConnect
  53. INCLUDEPATH += $$PWD/../Package/UserInterface
  54. INCLUDEPATH += $$PWD/../Package/Utility
  55. INCLUDEPATH += $$PWD/taglib