FS#7939 - QMAKESPEC not set in qt 3.3.8-5
Attached to Project:
Arch Linux
Opened by Massimiliano Brocchini (proc) - Sunday, 02 September 2007, 17:43 GMT
Last edited by Jan de Groot (JGC) - Sunday, 02 September 2007, 19:23 GMT
Opened by Massimiliano Brocchini (proc) - Sunday, 02 September 2007, 17:43 GMT
Last edited by Jan de Groot (JGC) - Sunday, 02 September 2007, 19:23 GMT
|
Details
Description:
QMAKESPEC variable is not set so qmake is useless Additional info: package Qt 3.3.8-5 Steps to reproduce: Trying to build a qt application with qmake yields the following error: QMAKESPEC has not been set, so configuration cannot be deduced. Due to this bug applications can't be built against qt (without modifying build scripts) |
This task depends upon
qt 3.3.8-5
[jan@laptop ~]$ cat /etc/profile.d/qt.sh
export QTDIR=/opt/qt
export QT_XFT=true
export QMAKESPEC=$QTDIR/mkspecs/linux-g++
export PATH=$PATH:$QTDIR/bin
export MANPATH=$MANPATH:$QTDIR/man
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/qt/lib/pkgconfig
QMAKESPEC is set, but you did not re-login after installing Qt. That's why almost every PKGBUILD that uses these special prefixes have a line that checks if the file has been sourced and sources it.