
Originally Posted by
wysota
It doesn't work. It still points to the original path.
echo "Prefix=/opt/" >> /tmp/bin/qt.conf
echo "Prefix=/opt/" >> /tmp/bin/qt.conf
To copy to clipboard, switch view to plain text mode
You must write
echo "Prefix=/tmp" >> /tmp/bin/qt.conf
echo "Prefix=/tmp" >> /tmp/bin/qt.conf
To copy to clipboard, switch view to plain text mode
Not "/opt/"
I don't try this on non windows machine. I think on your OS you also need modify PATH variable for founding correct qmake. It from my batch script on windows:
set QTDIR=D:\Work\qt-all-opensource-src-4.5.2_gcc440
set PATH=%QTDIR%/bin
set QTDIR=D:\Work\qt-all-opensource-src-4.5.2_gcc440
set PATH=%QTDIR%/bin
To copy to clipboard, switch view to plain text mode
So, i know what qmake has been called from QTDIR/bin path.
Bookmarks