Quero instalar duas versões diferentes da Qt
Ulá-
Preciso instalar duas versões diferentes da Qt (2.3 e 3.0).
O sistema não pode quebrar :-))
Alguém sugere como? Pergunto porque a página de instalação da Qt
sugere alterar algumas variáveis globais. Eu não vejo como eu
poderia ter duas bibliotecas Qt diferentes com estas instruções.
Desculpe a GNUrância, anyway.
<http://doc.trolltech.com/2.3/install-x11.html>
Set some environment variables in the file .profile (or .login,
depending on your shell) in your home directory. (Create the
file if it is not there already.)
QTDIR
wherever you installed Qt
PATH
to locate the moc program and other Qt tools
MANPATH
to access the Qt man pages
LD_LIBRARY_PATH
for the shared Qt library
QT_FONTPATH
optional. A list of
directories where Qt can find type1 or true type fonts for print embedding.
This is done like this:
In .profile (if your shell is bash, ksh, zsh or sh), add the following lines:
QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH
grazie,
[ ]s
Henry
Reply to: