MultimediaService.pro 1.8 KB

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