[Qgis-developer] qmake not found if qt is in default Troltech's dir

Magnus Homann magnus at homann.se
Sat Sep 30 03:23:59 EDT 2006


Gary Sherman wrote:
> 
> On Sep 29, 2006, at 2:11 PM, Maciej Sieczka wrote:

>> ./create_qm_files.sh: line 12: qmake: command not found
>> Creating qm files
>> ./create_qm_files.sh: line 14: lrelease: command not found
>> Removing qmake project file
>> rm: nie można usunąć `qgis_qm.pro': No such file or directory

>> I had to work it around by creating symlinks in /usr/local/bin.
>>
> The Qt utilities need to be in your PATH. You should add $QTDIR/bin to 
> your path prior to compiling. There is no hardcoded path and
> specifying --with-qtdir doesn't add it to your path during configure.

Actually, the create_qm_files.sh relies on that the environment variable 
QTDIR is set. It calls "$QTDIR/bin/qmake", instead of just "qmake". I 
had to "export QTDIR=/usr", and then it ran.

I propose we change this and just use "qmake" instead?

Magnus
-- 
Magnus Homann
magnus at homann.se
+46 702 399 558



More information about the Qgis-developer mailing list