IMHO.WS

IMHO.WS (https://www.imho.ws/index.php)
-   Пингвинятник (ОС *NIX) (https://www.imho.ws/forumdisplay.php?f=76)
-   -   qt-mt не хотят цепляться при компиляции (https://www.imho.ws/showthread.php?t=45014)

Pink_Punk 03.12.2003 01:55

qt-mt не хотят цепляться при компиляции
 
Я уже готов на стену лезть qt-mt libraries есть,но не подключаются при компиляции практически ни одной программой.
Что делать?

aivs 03.12.2003 22:34

посмотри
./configure --help
чтоб библиотеки использовались надо писать типа
./configure -PREFIX***=/lib/qt/***
чтото вроде этого

Pink_Punk 03.12.2003 22:35

aivs
Не поможет,я уж и "носом тыкал" проги в эти либы эффект тот же.

aivs 03.12.2003 23:10

ldconfig пробывал

Innocead 04.12.2003 00:43

Pink_Punk
ты в документации читал, в qt надо добавить переменную, в которой будет хранится путь, где вся эта байда установленна!!! Может из-за этого не цепляется!!!!

Pink_Punk 04.12.2003 15:29

Цитата:

в qt надо добавить переменную, в которой будет хранится путь,
Ёпрст...Этого ещё не хватает.

Innocead 04.12.2003 20:34

Цитата:

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 - the directory in which you're building 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

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/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH

export QTDIR PATH MANPATH LD_LIBRARY_PATH

In .login (in case your shell is csh or tcsh), add the following lines:

setenv QTDIR /usr/local/qt
setenv PATH $QTDIR/bin:$PATH
setenv MANPATH $QTDIR/doc/man:$MANPATH
setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH

After you have done this, you will need to login again, or
re-source the profile before continuing, so that at least $QTDIR
and $PATH are set. Without these the installation will halt with an error
message.


On AIX set LIBPATH and on HP-UX set SHLIB_PATH instead of LD_LIBRARY_PATH.

If you use IRIX MIPSpro o32 or Sun CC 5.0 you need to run the
qt32castcompat script found in $QTDIR/bin before compiling Qt.


Часовой пояс GMT +4, время: 01:22.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.