Shouldn't this work?
I tried both installing QtCreator SDK and Qt4-mac from Macports. In the QtCreator preferences it says Qt was found in my PATH variable. I also export the path to my Qt-libs in my .profile file (export PATH=/lib:/bin:/sbin:/usr/lib:/usr/bin:/usr/sbin:/usr/local/lib:/usr/local/bin:/usr/local/Qt4.6:$PATH).
Compiling with QtCreator works (with XCode too). But i really like to write small projects just with TextMate and compile them with my gcc in a terminal window. When i try to import <QtGui> oder "QtGui.h" i always get "no such file or directory"-errors.
What do i do wrong?
(i guess this totally newbie question was asked a hundred times, but i couldn't find an answer)
Bookmarks