[Qgis-developer] qmake not found if qt is in default Troltech's
dir
Gary Sherman
sherman at mrcc.com
Fri Sep 29 20:32:22 EDT 2006
On Sep 29, 2006, at 2:11 PM, Maciej Sieczka wrote:
> Hi,
>
> Trying to build current SVN with qt 4.1.4 built from source and
> installed in it's defualt /usr/local/Trolltech/Qt-4.1.4, I get an
> error
> around the end of QGIS compilation:
>
> ./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
>
>
> qmake and lrelease are there in the /usr/local/Trolltech/Qt-4.1.4/bin
> and I specified --with-qtdir=/usr/local/Trolltech/Qt-4.1.4 for the
> autogen.sh. Propably it fails to find the executables because it's
> using some hardcoded path instead of the /usr/local/Trolltech/
> Qt-4.1.4/bin.
>
> 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.
> Please correct this if possible.
>
> Thanks.
>
> Maciek
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Gary Sherman
Micro Resources: http://mrcc.com
*Geospatial Hosting
*Web Site Hosting
"We work virtually everywhere"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
More information about the Qgis-developer
mailing list