views:

256

answers:

3

At work, I was told to configure and build Qt 4.6 with the cocoa flag

./configure -cocoa

Instead I just ran configure without any flags on my Mac OS X 10.6 machine.

Does that mean I have to reconfigure or is cocoa linked by default in Snow Leopard?

Alternatively, how can I check if my Qt build is linked against cocoa?

+1  A: 

Set your qt using project to build for 64bit or 32/64 hybrid. If it builds and links, it cocoa!

Chris Becke
A: 

Wouldn't it be quickest just to run configure again?

Graham Lee
yes, except I've already ran make and make install =p
Rollin_s
+3  A: 

According to this post -cocoa is only default for 64 bit builds in 4.6 - you have to either supply the -cocoa or -arch x86_64.
If you want to make sure ask configure for its options and look for the defaults.

Georg Fritzsche