| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- QT += xml dbus
- CONFIG += c++11
- TARGET = MultimediaService
- TEMPLATE = lib
- CONFIG += staticlib
- # 指定生成的库文件是共享库
- #CONFIG += plugin
- CONFIG += release
- SOURCES += MultimediaService.cpp \
- DeviceWatcher/DiskScanner/DiskScanner.cpp \
- DeviceWatcher/DeviceWatcher.cpp \
- ImagePlayer/ImagePlayer.cpp \
- MusicPlayer/MusicPlayer.cpp \
- VideoPlayer/VideoPlayer.cpp \
- MultimediaPersistent.cpp \
- MultimediaServiceProxy.cpp \
- DeviceWatcher/DiskDetach/DiskDetach.cpp \
- DeviceWatcher/DiskDeviceWatcher/DiskDeviceWatcher.cpp \
- MusicPlayer/MusicInformation/MusicInformation.cpp \
- RunnableThread.cpp
- # DeviceWatcher/DiskScanner/magickCore.c
- HEADERS += MultimediaService.h \
- DeviceWatcher/DiskScanner/DiskScanner.h \
- DeviceWatcher/DeviceWatcher.h \
- ImagePlayer/ImagePlayer.h \
- MusicPlayer/MusicPlayer.h \
- VideoPlayer/VideoPlayer.h \
- MultimediaServiceProxy.h \
- MultimediaPersistent.h \
- DeviceWatcher/DiskDetach/DiskDetach.h \
- DeviceWatcher/DiskDeviceWatcher/DiskDeviceWatcher.h \
- MusicPlayer/MusicInformation/MusicInformation.h \
- configUtils.h \
- RunnableThread.h
- LIBS += -rdynamic -ldl
- include(../ArkSdk.pri)
- system(mkdir -p $$PWD/../Package/$$TARGET/$$OUTPUT)
- system(cp MultimediaPersistent.h $$PWD/../Package/$$TARGET)
- system(cp MultimediaService.h $$PWD/../Package/$$TARGET)
- system(cp MultimediaServiceProxy.h $$PWD/../Package/$$TARGET)
- INCLUDEPATH += $$PWD/../Package/AutoConnect
- INCLUDEPATH += $$PWD/../Package/UserInterface
- INCLUDEPATH += $$PWD/../Package/Utility
- INCLUDEPATH += $$PWD/taglib
- if (contains(QMAKE_CXXFLAGS, -D_TIME_BITS=64)){
- LIBS +=-L$$PWD/lib_time64/ -lConvert
- LIBS +=-L$$PWD/lib_time64/ -ltag
- } else {
- LIBS +=-L$$PWD/lib/ -lConvert
- LIBS +=-L$$PWD/lib/ -ltag
- }
|