QT5.8 multimeadia module mediaplay failed
-
i' ve witten a program under qt5.7 it works well, for some reason, i try to develop it under qt5.8 ,
when start debug, there is an info:
defaultServiceProvider:requestService():no service found for "org.qt-project.qt.mediaplayer"
couldn't dlopen libudev.so1 or libudev.so.o, dirver detection may be broken
can some one helps me ? thank you ! -
i' ve witten a program under qt5.7 it works well, for some reason, i try to develop it under qt5.8 ,
when start debug, there is an info:
defaultServiceProvider:requestService():no service found for "org.qt-project.qt.mediaplayer"
couldn't dlopen libudev.so1 or libudev.so.o, dirver detection may be broken
can some one helps me ? thank you !@JiujiuTong said in QT5.8 multimeadia module mediaplay failed:
i' ve witten a program under qt5.7 it works well, for some reason, i try to develop it under qt5.8 ,
when start debug, there is an info:
defaultServiceProvider:requestService():no service found for "org.qt-project.qt.mediaplayer"
couldn't dlopen libudev.so1 or libudev.so.o, dirver detection may be broken
can some one helps me ? thank you !when the infor promps the debug stop for sigabrt . many thanks !
-
@JiujiuTong said in QT5.8 multimeadia module mediaplay failed:
i' ve witten a program under qt5.7 it works well, for some reason, i try to develop it under qt5.8 ,
when start debug, there is an info:
defaultServiceProvider:requestService():no service found for "org.qt-project.qt.mediaplayer"
couldn't dlopen libudev.so1 or libudev.so.o, dirver detection may be broken
can some one helps me ? thank you !when the infor promps the debug stop for sigabrt . many thanks !
@JiujiuTong said in QT5.8 multimeadia module mediaplay failed:
couldn't dlopen libudev.so1 or libudev.so.o, dirver detection may be broken
Install libudev package
-
@JiujiuTong said in QT5.8 multimeadia module mediaplay failed:
couldn't dlopen libudev.so1 or libudev.so.o, dirver detection may be broken
Install libudev package
This post is deleted! -
@JiujiuTong said in QT5.8 multimeadia module mediaplay failed:
couldn't dlopen libudev.so1 or libudev.so.o, dirver detection may be broken
Install libudev package
@jsulm
my host is Centos 64bit
and i find the libudev.so under /usr/lib64/,
is it matter? or how to set my qt env? -
@jsulm
my host is Centos 64bit
and i find the libudev.so under /usr/lib64/,
is it matter? or how to set my qt env?@JiujiuTong Is your app 32bit or 64bit?
-
@JiujiuTong Is your app 32bit or 64bit?
@jsulm
it should be 64bit . -
@jsulm
it should be 64bit .@JiujiuTong I'm not sure the problem is this libudev or missing GStreamer packages which are used by QtMultimedia.
Maybe anybody else knows? -
@JiujiuTong I'm not sure the problem is this libudev or missing GStreamer packages which are used by QtMultimedia.
Maybe anybody else knows?@jsulm
well ,thank you ,the problem is sloved, because the libudev.so is linked to a null path.Thank you!
another question:
I need to include activemq in my pro. and I download the source and install it, but the default is install under /usr/local/lib not /usr/lib64, and i include the path in .pro file, but the output of ldd is still linked to not found, how to fix this bug? thank you -
@jsulm
well ,thank you ,the problem is sloved, because the libudev.so is linked to a null path.Thank you!
another question:
I need to include activemq in my pro. and I download the source and install it, but the default is install under /usr/local/lib not /usr/lib64, and i include the path in .pro file, but the output of ldd is still linked to not found, how to fix this bug? thank you@JiujiuTong It should install in the same directory where your Qt libs are located. Did you use the correct qmake?
What path do you include in pro file? -
@JiujiuTong It should install in the same directory where your Qt libs are located. Did you use the correct qmake?
What path do you include in pro file?@jsulm
sorry for my mistake, the libudev.so is linked to correct path ,but the issue still exist.
the acitvemq-cpp.so is resolved by ldconfig. thank you !
i need to solve the problem:
defaultServiceProvider:requestService():no service found for "org.qt-project.qt.mediaplayer"
couldn't dlopen libudev.so1 or libudev.so.o, dirver detection may be broken -
@JiujiuTong It should install in the same directory where your Qt libs are located. Did you use the correct qmake?
What path do you include in pro file?@jsulm
I install the acitvemq before qt, so do you think is is necessary to reinstall it again ?
the qmake make will install the activemq to Qt libs ? -
@jsulm
I install the acitvemq before qt, so do you think is is necessary to reinstall it again ?
the qmake make will install the activemq to Qt libs ?@JiujiuTong Oh, sorry. ActiveMQ isn't a Qt project.
You can change the target directory from /usr/local/lib to /usr/lib64 when configuring ActiveMQ. -
@JiujiuTong Oh, sorry. ActiveMQ isn't a Qt project.
You can change the target directory from /usr/local/lib to /usr/lib64 when configuring ActiveMQ.@jsulm
but the default output file libactivemq-cpp.so , is it 32bit or 64bit? should i set some parameter to make it 64bit? it seems the default is 32bit .so file
and my app is 64bit, can i use 32bit lib? -
@jsulm
but the default output file libactivemq-cpp.so , is it 32bit or 64bit? should i set some parameter to make it 64bit? it seems the default is 32bit .so file
and my app is 64bit, can i use 32bit lib?@JiujiuTong You can easily check with:
file libactivemq-cpp.so
in a terminal.
Default is actually 64bit on a 64bit system.