| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- QT += core xml dbus
- CONFIG += c++11
- #TARGET = MultimediaService
- #TEMPLATE = lib
- #CONFIG += staticlib
- TARGET = MultimediaService
- TEMPLATE = app
- # 指定生成的库文件是共享库
- #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 \
- main.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
- include(../ArkSdk.pri)
- SDK_OUTPUT_PATH = /home/liuhc/WorksNew/Ark1668EDBsp/ark1668ed-bsp-new/ark1668ed-bsp/output/board/ark1668ed_devb/buildroot/staging/usr
- LIBS += -rdynamic -ldl
- LIBS +=-L$$PWD/../Package/AutoConnect/$$OUTPUT -lAutoConnect
- LIBS += -L$$PWD/../Package/RunnableThread/$$OUTPUT -lRunnableThread
- LIBS +=-L$$SDK_OUTPUT_PATH/lib -ltag
- if (contains(QMAKE_CXXFLAGS, -D_TIME_BITS=64)){
- LIBS +=-L$$PWD/lib_time64/ -lConvert
- } else {
- LIBS +=-L$$PWD/../MultimediaService/lib/ -lConvert
- }
- system(mkdir -p $$PWD/../Package/$$TARGET/$$OUTPUT)
- system(cp MultimediaPersistent.h $$PWD/../Package/$$TARGET)
- system(cp MultimediaService.h $$PWD/../Package/$$TARGET)
- INCLUDEPATH += $$PWD/../Package/AutoConnect
- INCLUDEPATH += $$PWD/../Package/UserInterface
- INCLUDEPATH += $$PWD/../Package/Utility
- INCLUDEPATH += $$PWD/taglib
|