[Qt-interest] 'qmake' help

Zongheng Zhou zongheng.zhou at gmail.com
Tue Jun 30 18:35:07 CEST 2009


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


I have set the 3 environment variables:
export QTDIR=/mydir/qt-x11-opensource-src-4.5.1
export QMAKESPEC=/mydir/qt-x11-opensource-src-4.5.1/mkspecs/solaris-cc
export PATH=$PATH:$QTDIR/bin

Then I go to the existing examples coming with QT, and type 'qmake'. and I
got the same errors as above.

I guess I need to set some other things. Can anybody tell me what I need to
set else?

Thanks in advance for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090630/71b7d8d8/attachment.html 


More information about the Qt-interest-old mailing list