I need to play the video in qnx 7. Actually video player code written in qt using Qmultimedia widgets is working fine on windows. but when i am trying to compile with Qnx and run these binaries on target i am facing the following error:
I assume you meant LIBS and not INCLUDEPATH.
Those shared libraries are part of the QNX sysroot.
You need to have them installed via the QNX software manager so that you can build against, and when you create your VM you need to have something like:
@#########################################
@## more libraries
@#########################################
@/lib/libfreetype.so.1=usr/lib/libfreetype.so.1
@/lib/libpng16.so.0=usr/lib/libpng16.so.0
So that you have the libraries in the VM to be able to run your Qt application. Or package them alongside your application.
@jsulm
yes, I have built for QNX.
This is the procedure I have followed:
I have installed Qt 5.15.2 using this "qt-unified-linux-x64-online.run" file.
Followed this link https://doc.qt.io/qt-5/qnx.html for building Qt for QNX.
after "source qnxsdpenv.sh" the configure file used for build is :
...........................................................................
srcpath=dirname $0
srcpath=(cd "$srcpath"; pwd)
configure=$srcpath/qtbase/configure
if [ ! -e "$configure" ]; then
echo "$configure not found. Did you forget to run "init-repository"?" >&2
exit 1
fi
mkdir -p qtbase || exit
echo "+ cd qtbase"
cd qtbase || exit
echo "+ $configure -top-level $@"
exec "$configure" -top-level "$@"
.......................................................................
This is DirectConnection, because you send signal from this to this, which are obviously in same thread. It actually can be replaced with direct method call (virtual if you have class hierarchy and slot if implemented in derived class)
It's a little bit late to ask for help here, but I faced the same problem mentioned above. Environment variables are set and libraries are also present. Has anybody find out how to fix this bug? I'm targeting QNX 6.6 installed on VMWare.