Development environment details
OS details : Linux ( Ubuntu 12.04 LTS )
Application framework: Qt Creator 2.7.0 Based on Qt 5.0.2 (32 bit)
Test 1 : Running a QT application on a Ubuntu environment where there is no qt installed on the current user account. ( Note : Other user account has a Qt creator installed in it )
Result : Application is working perfectly.
Test 2: Trying to run the same application on a Ubuntu environment where none of the user Accounts has Qt installed on it.
Result : Error : Failed to load platform plugin “xcb”. Available platforms are:
Aborted (core dumped).
Other details:
Using following .sh file to redirect the qt library path. ( Application is taking the lib files perfectly from the user
defined path)
#!/bin/sh
appname=`basename $0 | sed s,\.sh$,,`
dirname=`dirname $0`
tmp="${dirname#?}"
if [ "${dirname%$tmp}" != "/" ]; then
dirname=$PWD/$dirname
fi
#LD_LIBRARY_PATH=$dirname
LD_LIBRARY_PATH=$PWD/lib
export LD_LIBRARY_PATH
$dirname/$appname "$@"
Anybody please help me to find the solution for the following error:
*Failed to load platform plugin “xcb”. Available platforms are:
Aborted (core dumped).*
OR: Please help me to add plugins to deployment ,
↧