I'm trying to compile Qt program in MAC. i'm facing following error :
Qt Code:
  1. Configuration unchanged, skipping QMake step.
  2. Starting: /usr/bin/make -w
  3. make: Entering directory `/Users/gauranga/ajinkya/pcan'
  4. g++ -c -pipe -g -gdwarf-2 -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.5/mkspecs/macx-g++ -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/usr/include -I. -I. -F/Library/Frameworks -o pcanusb.o pcanusb.cpp
  5. g++ -headerpad_max_install_names -o pcan.app/Contents/MacOS/pcan main.o widget.o pcanusb.o moc_widget.o -F/Library/Frameworks -L/Library/Frameworks -framework QtGui -framework Carbon -framework AppKit -framework QtCore -lz -lm -framework ApplicationServices
  6. Undefined symbols:
  7. "_IOObjectRelease", referenced from:
  8. _disconnectDevice in pcanusb.o
  9. ld: symbol(s) not found
  10. collect2: ld returned 1 exit status
  11. make: *** [pcan.app/Contents/MacOS/pcan] Error 1
  12. make: Leaving directory `/Users/gauranga/ajinkya/pcan'
To copy to clipboard, switch view to plain text mode 

Can somebody tell me how can it be solve ????