Hi,
is it possible that you linked MITK with the system Qt but now are trying to point Qt to another installed version in your directory? When you didn't give a hint to CMake, the FindQt script has most probably found the system-version of Qt. Check the Qt variables like Qt5_Core_DIR or similar in CMake to see which one was selected by the script. To manually chose the right Qt version, you would have to set CMAKE_PREFIX_PATH to /data_kruemel2/mastmeyer/Qt5.6.2/5.6/gcc_64 before (!) the first configure run. You would now need to delete *all* Qt-related cache variables and set CMAKE_PREFIX_PATH before configuring again. Double check the found Qt location then. Hope that helps, Stefan ________________________________ Von: Andre Mastmeyer <[email protected]> Gesendet: Mittwoch, 15. März 2017 18:29 An: [email protected] Betreff: [mitk-users] Problems getting started using Ubuntu 14/16 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 [email protected]<mailto:[email protected]> www.imi.uni-luebeck.de<http://www.imi.uni-luebeck.de> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
