包qt5gstreamerquick - 1.0未找到

时间:2021-10-21 16:53:44

Did anybody got the luck to know the reason for: "Project ERROR: Package Qt5GStreamerQuick-1.0 not found".

有没有人幸运地知道原因:“项目错误:没有找到Qt5GStreamerQuick-1.0软件包”。

I have installed: qt-gstreamer-dev package Not working even after manually adding PKG_CONFIG_LIBDIR: export PKG_CONFIG_LIBDIR=/home/manojsahu/qt-gstreamer-1.2.0/src/QGst/QtGStreamer-1.0.pc.in

我已经安装了:qt-gstreamer-dev包,即使手动添加PKG_CONFIG_LIBDIR之后也不能工作:export PKG_CONFIG_LIBDIR=/home/manojsahu/qt-gstreamer-1.2.0/src/QGst/QtGStreamer-1.0.pc.in

I have also added PKGCONFIG alternatively in .pro file like: PKGCONFIG += Qt5GStreamerQuick-1.0 PKGCONFIG += QtGStreamer-1.0

我还在.pro文件中添加了PKGCONFIG,比如:PKGCONFIG += Qt5GStreamerQuick-1.0 PKGCONFIG += QtGStreamer-1.0

Can anybody help to resolve this error. I am trying to compile example in below mentioned link:

谁能帮忙解决这个错误吗?我正在尝试编译下面提到的链接的例子:

https://github.com/detrout/qt-gstreamer/tree/master/examples/qmlplayer

https://github.com/detrout/qt-gstreamer/tree/master/examples/qmlplayer

1 个解决方案

#1


0  

Thanks, I have got one work around to solve "Project ERROR: Package Qt5GStreamerQuick-1.0 not found".

谢谢,我有一个工作可以解决“Project ERROR: Package Qt5GStreamerQuick-1.0 not found”。

  1. "Qt5GStreamerQuick-1.0" has dependency with "gstreamer-1". Download "gstreamer-1.6.3" and perform make then make install.

    “Qt5GStreamerQuick-1.0”与“gstreamer1”有依赖关系。下载“gstreamer-1.6.3”,然后执行make安装。

  2. Download the qt-gstreamer code, extract freshly and navigate to extracted folder. In my case it is

    下载qt-gstreamer代码,重新提取并导航到提取的文件夹。对我来说是这样

    cd ~/home/manojsahu/qt-gstreamer-1.2.0/ cmake CMakeLists.txt then make then sudo make install Image of the qmlplayer built

    cd ~ / home / manojsahu / qt-gstreamer-1.2.0 cmake CMakeLists。txt然后使sudo使安装映像的qmlplayer构建

Now the example qmlplayer gets built. But facing error "Failed to create qtvideosink. Make sure it is installed correctly". Perhaps It did not installed properly. Any workaround to build completely would be appreciated highly.

现在构建了示例qmlplayer。但面对错误“未能创建qtvideosink。确保安装正确。也许它没有正确安装。任何完全构建的解决方案都将受到高度赞赏。

#1


0  

Thanks, I have got one work around to solve "Project ERROR: Package Qt5GStreamerQuick-1.0 not found".

谢谢,我有一个工作可以解决“Project ERROR: Package Qt5GStreamerQuick-1.0 not found”。

  1. "Qt5GStreamerQuick-1.0" has dependency with "gstreamer-1". Download "gstreamer-1.6.3" and perform make then make install.

    “Qt5GStreamerQuick-1.0”与“gstreamer1”有依赖关系。下载“gstreamer-1.6.3”,然后执行make安装。

  2. Download the qt-gstreamer code, extract freshly and navigate to extracted folder. In my case it is

    下载qt-gstreamer代码,重新提取并导航到提取的文件夹。对我来说是这样

    cd ~/home/manojsahu/qt-gstreamer-1.2.0/ cmake CMakeLists.txt then make then sudo make install Image of the qmlplayer built

    cd ~ / home / manojsahu / qt-gstreamer-1.2.0 cmake CMakeLists。txt然后使sudo使安装映像的qmlplayer构建

Now the example qmlplayer gets built. But facing error "Failed to create qtvideosink. Make sure it is installed correctly". Perhaps It did not installed properly. Any workaround to build completely would be appreciated highly.

现在构建了示例qmlplayer。但面对错误“未能创建qtvideosink。确保安装正确。也许它没有正确安装。任何完全构建的解决方案都将受到高度赞赏。