[arch-general] Qt3 path setting, is it right?
Hi, I've been building bouml (from AUR) successfully until Qt4 arrived. Examining the build failure it appears that although QTDIR is correctly set for Qt3, the placement of QTDIR/bin at the end of PATH in qt3.sh results in Qt4's qmake taking precedence over that of Qt3. For bouml's build mechanism (no ./configure involved) this leads to qmake-generated files containing resource paths of Qt4. I've managed to get the build to work by placing QTDIR/bin at the head of PATH, using a sed command, but it's seems hackish to me. Is the sourcing of qt3.sh from /etc/profile.d a sensible idea? Would it be better provided as part of the qt3 package and sourced into the PKGBUILD's environment directly? And, surely, placing QTDIR/bin at the end of PATH is not a good idea? Regards, Neil Darlow
On Jan 22, 2008 6:30 AM, Neil Darlow <neil@darlow.co.uk> wrote:
Is the sourcing of qt3.sh from /etc/profile.d a sensible idea? Would it be better provided as part of the qt3 package and sourced into the PKGBUILD's environment directly?
Either this, or simply call qmake by its full filesystem path (/opt/qt/bin/qmake).
And, surely, placing QTDIR/bin at the end of PATH is not a good idea?
False. Then this exact same problem would come up when building a QT4 package. -Dan
participants (2)
-
Dan McGee
-
Neil Darlow