[Qt-interest] 'qmake' help

Andreas Pakulat apaku at gmx.de
Tue Jun 30 20:25:05 CEST 2009


On 30.06.09 12:35:07, Zongheng Zhou wrote:
> Hi,
> 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.

Andreas 

-- 
You should go home.



More information about the Qt-interest-old mailing list