Mac C++, Xcode, KDevelop

Agurri

macrumors 6502
Original poster
May 8, 2005
289
0
Québec, Canada
Hello guys,

I'm currently taking a programmtion class in C++ based with KDevelop under Linux. For the first work, there was no problem coding with xCode and C++. But for the second work, we had to use a library called QT. In KDevelop, you had to add some redirection like -I$QTDIR/include under CXXFLAGS. I couldnt find a way to do the same thing wih XCode. I would like to be able to use this library, because I'll need it to make our next work. Is there anybody out there know how to do this ?

Thanks, Oliver
 

Sayer

macrumors 6502a
Jan 4, 2002
981
0
Austin, TX
Uhm, drag the Qt sources/headers folder to the Xcode project's "External Frameworks and Libraries" group in "Groups & Files."

And make sure the project's preferences (click on the top-most item in Groups & Files and type command-i) has "Always search user paths" checked.
 

-::ubermann::-

macrumors regular
Sep 9, 2006
213
0
hey how much did it take you to compile QT?
after entered the 'make' command more than 1 hour has passed and its still compiling...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.