|
|
作者: 5trnga 出自: |
QTDIR -- 你安装Qt的路径
PATH -- 用来定位moc程序和其它Qt工具
MANPATH -- 访问Qt man格式帮助文档的路径
LD_LIBRARY_PATH -- 共享Qt库的路径
上面列出的在Fedora中QT使用的路径。
[root@localhost bin]# export $LD_LIBRARY_PATH declare -x CCACHE_DIR="/var/cache/ccache" declare -x CCACHE_UMASK="002" declare -x COLORTERM="gnome-terminal" declare -x CVS_RSH="ssh" declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-HGMvxBV8DE,guid=22537dca482808a2e6a3790047f2a5d5" declare -x DESKTOP_SESSION="default" declare -x DESKTOP_STARTUP_ID="" declare -x DISPLAY=":0.0" declare -x GDMSESSION="default" declare -x GDM_LANG="zh_CN.UTF-8" declare -x GDM_XSERVER_LOCATION="local" declare -x GNOME_DESKTOP_SESSION_ID="Default" declare -x GNOME_KEYRING_PID="2588" declare -x GNOME_KEYRING_SOCKET="/tmp/keyring-oWNepS/socket" declare -x GTK_IM_MODULE="scim-bridge" declare -x GTK_MODULES="gnomebreakpad" declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2" declare -x G_BROKEN_FILENAMES="1" declare -x HISTSIZE="1000" declare -x HOME="/root" declare -x HOSTNAME="localhost.localdomain" declare -x INPUTRC="/etc/inputrc" declare -x KDEDIRS="/usr" declare -x KDE_IS_PRELINKED="1" declare -x LANG="zh_CN.UTF-8" declare -x LD_LIBRARY_PATH declare -x LESSOPEN="|/usr/bin/lesspipe.sh %s" declare -x LOGNAME="root" declare -x LS_COLORS="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:" declare -x MAIL="/var/spool/mail/root" declare -x OLDPWD="/opt/qt4.4.0beta" declare -x PATH="/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin" declare -x PWD="/opt/qt4.4.0beta/bin" declare -x QTINC="/usr/lib/qt-3.3/include" declare -x QTLIB="/usr/lib/qt-3.3/lib" declare -x QT_IM_MODULE="scim" declare -x SESSION_MANAGER="local/unix:@/tmp/.ICE-unix/2589,unix/unix:/tmp/.ICE-unix/2589" declare -x SHELL="/bin/bash" declare -x SHLVL="2" declare -x SSH_AGENT_PID="2710" declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass" declare -x SSH_AUTH_SOCK="/tmp/ssh-Vsvcyn2589/agent.2589" declare -x TERM="xterm" declare -x USER="root" declare -x WINDOWID="60823276" declare -x WINDOWPATH="7" declare -x XAUTHORITY="/tmp/.gdmS6WY8T" declare -x XDG_DATA_DIRS="/usr/local/share/:/usr/share/:/usr/share/gdm/" declare -x XDG_SESSION_COOKIE="fd10ba36cb6569a0eae3050047e21c00-1207084500.136090-277021702" declare -x XMODIFIERS="@im=SCIM" [root@localhost bin]# [root@localhost bin]#
红色的部分冲突了。
上面这个是我的Fedora,编译过QT4.4.0beta之后export $LD_LIBRARY_PATH | |
阅读(397) | 评论(0) | 转发(0) |