How to install two versions of Qt and specify the application to use?

I am developing an application in Qt, but using the D language (with QtD binding). I noticed that my application crashes with Qt 4.7.x, so I need to use Qt 4.6.2 instead. However, Qt 4.7.2 is installed on my system. Unfortunately, I do not do QtD work with the latest versions of Qt and (I'm afraid) to rely on QtD developers ...

The only thing I need to install the application on the Qt 4.6.2 libs system and use it, but let all other applications still use Qt 4.7.2. Is it possible? If so, how to do it?

+5
source share
2 answers

: Qt qmake, Makefile.

/opt/QtSDK/Qt-4.6.2/bin/qmake

/opt/QtSDK/Qt-4.7.3/bin/qmake

.

+5

, (rpm, deb) .

- . , id do

ls /usr/lib/ | grep libcurl

, :

libcurl-gnutls.so.3
libcurl-gnutls.so.4
libcurl-gnutls.so.4.2.0
libcurl.so.3
libcurl.so.4
libcurl.so.4.2.0

.

, , QT. ( ).

+1

All Articles