FS#11631 - qt3-3.3.8-9: PATH in profile file is incorrectly set

Attached to Project: Arch Linux
Opened by Bram Schoenmakers (bram85) - Tuesday, 30 September 2008, 19:55 GMT
Last edited by Pierre Schmitz (Pierre) - Friday, 05 December 2008, 04:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The PATH variable of the qt3.sh profile file is set like this

PATH=$PATH:/opt/qt/bin

However, files sourcing this still call the Qt4 version of the Qt tools (qmake, linguist, etc.). So I suggest to set the PATH like this:

PATH=/opt/qt/bin:$PATH
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Friday, 05 December 2008, 04:51 GMT
Reason for closing:  Works for me
Additional comments about closing:  Sorry, but if packages in our repo are not affected this is not a real bug for me.

And I am not sure about side effects on QT4 apps if we flip those paths.
Comment by Pierre Schmitz (Pierre) - Friday, 31 October 2008, 05:49 GMT
Could you tell us which package does not work with the current profile? I don't have any problems with it.
Comment by Bram Schoenmakers (bram85) - Friday, 31 October 2008, 07:17 GMT
I was working on a PKGBUILD for a Qt 3 application, it's not in any repository. I source'd the qt3.sh file, but every time qmake of Qt 4 was being invoked. If I replaced the source call with the contents of qt3.sh with the path order swapped, it worked fine.

Loading...