在qt .pro中包含gstreamer for windows

时间:2018-05-16 16:35:20

标签: windows qt gstreamer qmake

我试图链接一个gstreamer,但不断得到一个未定义的引用不同的函数gstreamer。 GSTREAMER _1_0_ROOT_X86_64存在于环境变量中且路径正确

GSTREAMER_PATH=$$(GSTREAMER_1_0_ROOT_X86_64)
INCLUDEPATH = $${GSTREAMER_PATH}/include/gstreamer-1.0
INCLUDEPATH += $${GSTREAMER_PATH}/include/glib-2.0
INCLUDEPATH += $${GSTREAMER_PATH}/lib/glib-2.0/include
INCLUDEPATH += $${GSTREAMER_PATH}/lib/gstreamer-1.0/include

LIBS = $$files($${GSTREAMER_PATH}lib/*.lib, true)

0 个答案:

没有答案