##// END OF EJS Templates
Added qint32 SocExplorerEngine::getEnumDeviceCount(socexplorerplugin *plugin, int VID, int PID)...
Added qint32 SocExplorerEngine::getEnumDeviceCount(socexplorerplugin *plugin, int VID, int PID) function to SocExplorer.

File last commit:

r34:a265fede2b19 default
r34:a265fede2b19 default
Show More
socexplorerplugin.prf
70 lines | 2.2 KiB | application/pics-rules | TextLexer
win32 {
DEFINES += WIN32
DEFINES += WINTRANSLATIONPATH
DEFINES += SOCEXPLORER_TRANSLATION_PATH="\"\\\"./translations"\\\"\"
SOCEXPLORER_TRANSLATION_INSTALL_PATH = translations
SOCEXPLORER_INSTALL_PATH =
SOCEXPLORER_PLUGINS_INSTALL_PATH = $$SOCEXPLORER_PLUGIN_PATH
}
unix {
DEFINES += UNIX
DEFINES += UNIXTRANSLATIONPATH
DEFINES += SOCEXPLORER_TRANSLATION_PATH="\"\\\"/etc/SocExplorer/translations"\\\"\"
SOCEXPLORER_TRANSLATION_INSTALL_PATH = /etc/SocExplorer/translations
SOCEXPLORER_INSTALL_PATH = /usr/local/SocExplorer
SOCEXPLORER_ROOT_PLUGINS_INSTALL_PATH = $$system(echo $HOME)
SOCEXPLORER_PLUGINS_INSTALL_PATH = $${SOCEXPLORER_ROOT_PLUGINS_INSTALL_PATH}"/.SocExplorer/plugins"
}
isEmpty( SOCEXPLORER_SDK_BUILD ){
message( "building a plugin" )
QT += core gui xml
contains(QT_MAJOR_VERSION, 5) {
QT += widgets
}
CONFIG += pythonqt
TEMPLATE = lib
win32:CONFIG += dll
win32:CONFIG -= static
OBJECTS_DIR = obj
MOC_DIR = moc
DESTDIR = bin
CONFIG(debug, debug|release) {
DEBUG_EXT = _d
} else {
DEBUG_EXT =
}
unix{
target.path = $${SOCEXPLORER_PLUGINS_INSTALL_PATH}
INSTALLS += target
LIBS+= -lsocexplorerengine$${DEBUG_EXT} -lsocexplorercommon$${DEBUG_EXT}
}
win32{
INCLUDEPATH += $$[QT_INSTALL_HEADERS]/SocExplorer/common/libelf
LIBS+=$$[QT_INSTALL_LIBS]/socexplorerengine$${DEBUG_EXT}.dll $$[QT_INSTALL_LIBS]/socexplorercommon$${DEBUG_EXT}.dll
}
DEFINES += SOCEXPLORER_LIBRARY
SOURCES += \
$$[QT_INSTALL_HEADERS]/SocExplorer/pluginsInterface/socexplorerplugininterface.cpp
HEADERS += \
$$[QT_INSTALL_HEADERS]/SocExplorer/genericPySysdriver.h \
$$[QT_INSTALL_HEADERS]/SocExplorer/socexplorerplugin.h
INCLUDEPATH += $$[QT_INSTALL_HEADERS]/SocExplorer/common \
$$[QT_INSTALL_HEADERS]/SocExplorer \
$$[QT_INSTALL_HEADERS]/SocExplorer/pluginsInterface
}else{
message( "building SocExplorer" )
HEADERS += \
$$[QT_INSTALL_HEADERS]/SocExplorer/genericPySysdriver.h \
$$[QT_INSTALL_HEADERS]/SocExplorer/socexplorerplugin.h
}