nemotransferengine-plugin.prf 780 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
###################################################################
# transferengine plugin feature
###################################################################

!contains(DEFINES, BUILD_LIBTRANSFERENGINE) {

    CONFIG += qt plugin
    QT += network

    LIBTRANSFERENGINE_INC_DIR = /usr/include/TransferEngine   

    INCLUDEPATH += $${LIBTRANSFERENGINE_INC_DIR}
    DEPENDPATH  += $${LIBTRANSFERENGINE_INC_DIR}

    # We need to include these for MOC.
    HEADERS += $${INCLUDEPATH}/transferplugininterface.h
    HEADERS += $${INCLUDEPATH}/mediatransferinterface.h

    LIBTRANSFERENGINE_LIB_DIR = /usr/lib
    unix: QMAKE_FLAGS += $${QMAKE_LFLAGS_RPATH}$${LIBTRANSFERENGINE_LIB_DIR}
    LIBS += -L$${LIBTRANSFERENGINE_LIB_DIR}
    qtAddLibrary(nemotransferengine)
}