Andre Mastmeyer
2017-03-15 17:29:43 UTC
Hi,
I have spent a couple of hours to get the binaries running
following some of the obvious steps:
1. install gcc-4.9 and libstdc++6.0.20
2. install Qt 5.6.2 in a out of system directory
3. adapt the launcher shell script MitkWorkbench.sh:
#!/bin/sh
*export QT_DEBUG_PLUGINS=1**
**export QT_QPA_PLATFORM=''**
**export
QT_PLUGIN_PATH=/data_kruemel2/mastmeyer/Qt5.6.2/5.6/gcc_64/plugins**
**export
QT_QPA_PLUGIN_PATH=/data_kruemel2/mastmeyer/Qt5.6.2/5.6/gcc_64/plugins*
binpath=$(dirname "$(readlink -f "$0")")
appname=$(basename "$0" .sh)
export
LD_LIBRARY_PATH="$binpath/bin":"$binpath/bin/plugins":"*/usr/lib/gcc/x86_64-linux-gnu/4.9*":$LD_LIBRARY_PATH
"$binpath/bin/$appname" "$@"
4. Hopy and try it - now I am stuck with:
Cannot load library
/data_kruemel2/mastmeyer/Qt5.6.2/5.6/gcc_64/plugins/platforms/libqxcb.so:
(/data_kruemel2/mastmeyer/Qt5.6.2/5.6/gcc_64/plugins/platforms/../../lib/libQt5XcbQpa.so.5:
symbol _ZN20QEventDispatcherUNIX6selectEiP6fd_setS1_S1_P8timespec,
version Qt_5_PRIVATE_API not defined in file libQt5Core.so.5 with link
time reference)
QLibraryPrivate::loadPlugin failed on
"/data_kruemel2/mastmeyer/Qt5.6.2/5.6/gcc_64/plugins/platforms*/libqxcb.so"
: "Cannot load library
/data_kruemel2/mastmeyer/Qt5.6.2/5.6/gcc_64/plugins/platforms/libqxcb.so:
(/data_kruemel2/mastmeyer/Qt5.6.2/5.6/gcc_64/plugins/platforms/../../lib/libQt5XcbQpa.so.5:
symbol _ZN20QEventDispatcherUNIX6selectEiP6fd_setS1_S1_P8timespec,
*version Qt_5_PRIVATE_API not defined in file libQt5Core.so.5 with link
time reference)"
This application failed to start because it could not find or load the
Qt platform plugin "xcb"
in "".
5. Test it on a Ubuntu 16.04 - also problems with libqxcb.so:
Qt_5_PRIVATE_API not found.
Maybe someone has already gone through this and can share his experience?
Best,
Andre
--
Dr. Andre Mastmeyer
Wissenschaftlicher Mitarbeiter
Research Assistant
UNIVERSITÃT ZU LÃBECK
UNIVERSITY OF LUEBECK, GERMANY
INSTITUT FÃR MEDIZINISCHE INFORMATIK
INSTITUTE OF MEDICAL INFORMATICS
Ratzeburger Allee 160
Rm. 064.100 2000 010.00
23538 LÃŒbeck
GERMANY
Tel +49 451 3101 5608
Fax +49 451 3101 5604
***@imi.uni-luebeck.de
www.imi.uni-luebeck.de
I have spent a couple of hours to get the binaries running
following some of the obvious steps:
1. install gcc-4.9 and libstdc++6.0.20
2. install Qt 5.6.2 in a out of system directory
3. adapt the launcher shell script MitkWorkbench.sh:
#!/bin/sh
*export QT_DEBUG_PLUGINS=1**
**export QT_QPA_PLATFORM=''**
**export
QT_PLUGIN_PATH=/data_kruemel2/mastmeyer/Qt5.6.2/5.6/gcc_64/plugins**
**export
QT_QPA_PLUGIN_PATH=/data_kruemel2/mastmeyer/Qt5.6.2/5.6/gcc_64/plugins*
binpath=$(dirname "$(readlink -f "$0")")
appname=$(basename "$0" .sh)
export
LD_LIBRARY_PATH="$binpath/bin":"$binpath/bin/plugins":"*/usr/lib/gcc/x86_64-linux-gnu/4.9*":$LD_LIBRARY_PATH
"$binpath/bin/$appname" "$@"
4. Hopy and try it - now I am stuck with:
Cannot load library
/data_kruemel2/mastmeyer/Qt5.6.2/5.6/gcc_64/plugins/platforms/libqxcb.so:
(/data_kruemel2/mastmeyer/Qt5.6.2/5.6/gcc_64/plugins/platforms/../../lib/libQt5XcbQpa.so.5:
symbol _ZN20QEventDispatcherUNIX6selectEiP6fd_setS1_S1_P8timespec,
version Qt_5_PRIVATE_API not defined in file libQt5Core.so.5 with link
time reference)
QLibraryPrivate::loadPlugin failed on
"/data_kruemel2/mastmeyer/Qt5.6.2/5.6/gcc_64/plugins/platforms*/libqxcb.so"
: "Cannot load library
/data_kruemel2/mastmeyer/Qt5.6.2/5.6/gcc_64/plugins/platforms/libqxcb.so:
(/data_kruemel2/mastmeyer/Qt5.6.2/5.6/gcc_64/plugins/platforms/../../lib/libQt5XcbQpa.so.5:
symbol _ZN20QEventDispatcherUNIX6selectEiP6fd_setS1_S1_P8timespec,
*version Qt_5_PRIVATE_API not defined in file libQt5Core.so.5 with link
time reference)"
This application failed to start because it could not find or load the
Qt platform plugin "xcb"
in "".
5. Test it on a Ubuntu 16.04 - also problems with libqxcb.so:
Qt_5_PRIVATE_API not found.
Maybe someone has already gone through this and can share his experience?
Best,
Andre
--
Dr. Andre Mastmeyer
Wissenschaftlicher Mitarbeiter
Research Assistant
UNIVERSITÃT ZU LÃBECK
UNIVERSITY OF LUEBECK, GERMANY
INSTITUT FÃR MEDIZINISCHE INFORMATIK
INSTITUTE OF MEDICAL INFORMATICS
Ratzeburger Allee 160
Rm. 064.100 2000 010.00
23538 LÃŒbeck
GERMANY
Tel +49 451 3101 5608
Fax +49 451 3101 5604
***@imi.uni-luebeck.de
www.imi.uni-luebeck.de