Qt4 in Mac

I have been programming in C, C++ and VisualBasic for a number of years. A couple of years ago I started learning Qt4 within Windows and I was successful building very simple programs. I stop doing Qt4 and now I want to start again, this time in a Mac environment. For this reason I qualify myself as "beginner".

I am using OS X Lion. I downloaded the Qt4 4.7.3 into "/user/QtSDK". Nokia provides a tutorial to build the classic "hello world" which is located in "/user/QtSDK/Examples/4.7/qmake/tutorial”. I created the file "hello.pro" in this subdirectory and supposedly I am ready to build the program. The instructions from the tutorial tell me to go to “Terminal”, change to the directory where my files are and type:
qmake –o Makefile hello.pro

The problem is that “Terminal” comes back saying:
-bash: qmake: command not found

I found “qmake” in “user/QtSDK/Desktop/Qt/473/gcc/bin”. I placed a copy of this “qmake” where the “hello” files are but the result is the same.

I tried a number of tweaks including deletion and re-installation of Qt4 but nothing works.

Any ideas about solving this problem?


Topic archived. No new replies allowed.