uidab:你pro里是怎么写的?
(2017-04-18 11:31)
nclude ($$(VDOO)/src/vdoo.pri)
QT += core gui widgets
TARGET = QtVidyoSample
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp \
vsroomlink.cpp \
VsPlugin.cpp \
VsStatus.cpp
HEADERS += mainwindow.h \
vsroomlink.h \
VsPlugin.h \
VsStatus.h
FORMS += mainwindow.ui \
vsroomlink.ui
INCLUDEPATH += VidyoClient/include
macx {
DEFINES +=Q_WS_MAC
QMAKE_INFO_PLIST = resources/macx/info.plist
}
win32 {
DEFINES +=Q_WS_WIN
RC_FILE = resources/win32/win32.rc
}
MOC_DIR = $$VDOO_OBJ_PATH/QtVidyoSample/.moc
UI_DIR = $$VDOO_OBJ_PATH/QtVidyoSample/.ui
OBJECTS_DIR = $$VDOO_OBJ_PATH/QtVidyoSample/
DESTDIR = $$VDOO_BIN_PATH
unix {
macx {
LIBS += \
../QtVidyoSample/VidyoClient/lib/mac/VidyoClientDll.dylib
} else {
LIBS += \
$$VDOO_LIB_PATH/libVidyoClientDll.so\
-LVidyoClient/lib\
-lblkid\
-lXrandr\
-lanl\
-lpthread\
-lGL -lGLU -lX11\
-lrt
}
}
win32 {
LIBS += $$VDOO_LIB_PATH/VidyoClientDll.lib
}