[Qt-interest] 'qmake' help

Arnold Krille arnold at arnoldarts.de
Tue Jun 30 23:22:13 CEST 2009


On Tuesday 30 June 2009 20:25:05 Andreas Pakulat wrote:
> On 30.06.09 12:35:07, Zongheng Zhou wrote:
> > I have installed QT 4.5 and everything works fine. Now, I am trying to
> > create a new project with an almost empty main.cpp. When I try to use
> > 'qmake' to generate the Makefile, I got the following errors:
> > /mydir/qt-x11-opensource-src-4.5.1/.qmake.cache:2: Unknown replace
> > function: quote
> > /mydir/qt-x11-opensource-src-4.5.1/.qmake.cache:3: Unknown replace
> > function: quote
> > /mydir/qt-x11-opensource-src-4.5.1/mkspecs/solaris-cc/qmake.conf:90:
> > Unknown test function: load
> Sounds like you're not executing qmake from your Qt installation, but
> another from Qt3. Check "which qmake" to see which one is being
> executed, or use the absolute path to make sure you're executing the
> right one.

Better yet: try "qmake --version" as you can't really say whether 
/usr/bin/qmake is qt3 or qt4 ;-)

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090630/806525d3/attachment.bin 


More information about the Qt-interest-old mailing list