Всем доброго. Раньше проблем с несоклькими версиями не было, устанавливал их с префиксом и пользовался qmake'ом нужной версии. Но это было на Слаке. А вот в Дженте не получается. Конфигурю так:
./configure \
-prefix /opt/qt/4.6.0 \
-opensource \
-qt-sql-psql \
-verbose \
-nomake examples \
-nomake demos
Cannot mix incompatible Qt libraries
Аварийный останов
linux-vdso.so.1 => (0x00007fffd6dff000)
libExtensionSystem.so.1 => /mnt/other/software/update/qtcreator/qt-creator/bin/../lib/qtcreator/libExtensionSystem.so.1 (0x00007fd00697c000)
libAggregation.so.1 => /mnt/other/software/update/qtcreator/qt-creator/bin/../lib/qtcreator/libAggregation.so.1 (0x00007fd006777000)
libQtGui.so.4 => /opt/qt/4.6.0/lib/libQtGui.so.4 (0x00007fd005ae5000)
libQtNetwork.so.4 => /opt/qt/4.6.0/lib/libQtNetwork.so.4 (0x00007fd0057bb000)
libQtCore.so.4 => /opt/qt/4.6.0/lib/libQtCore.so.4 (0x00007fd005331000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fd005115000)
libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/libstdc++.so.6 (0x00007fd004e09000)
libm.so.6 => /lib/libm.so.6 (0x00007fd004b87000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fd004970000)
libc.so.6 => /lib/libc.so.6 (0x00007fd00461a000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fd004416000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007fd004211000)
librt.so.1 => /lib/librt.so.1 (0x00007fd004008000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fd003d29000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00007fd003b03000)
libz.so.1 => /lib/libz.so.1 (0x00007fd0038ed000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fd003658000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007fd003413000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x00007fd00320a000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x00007fd002fed000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007fd002de3000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007fd002bae000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fd00299b000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fd002663000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd006ba3000)
libuuid.so.1 => /lib/libuuid.so.1 (0x00007fd00245e000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fd002235000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fd002017000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fd001e11000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fd001c0d000)