在mac osx中编译libqxt

sfw*_*sfw 5 macos qt makefile libqxt

我有最新的(git)版本的libqxt.我运行./configure并且运行正常,然后使用此错误失败:

linking ../../lib/QxtWidgets.framework/QxtWidgets
ld: warning: directory not found for option '-L/usr/local/pgsql/lib'
ld: warning: directory not found for option '-L/tmp/qt-stuff-85167/source/qt-everywhere-opensource-src-4.8.1/Desktop/Qt/4.8.1/gcc/lib'
ld: warning: directory not found for option '-F/tmp/qt-stuff-85167/source/qt-everywhere-opensource-src-4.8.1/Desktop/Qt/4.8.1/gcc/lib'
Undefined symbols for architecture x86_64:
  "_CGSGetWindowProperty", referenced from:
      QxtWindowSystem::windowTitle(long)   in qxtwindowsystem_mac.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [../../lib/QxtWidgets.framework/QxtWidgets] Error 1
make: *** [sub-src-widgets-install_subtargets] Error 2
Run Code Online (Sandbox Code Playgroud)

如果重要,我正在使用OSX Mountain Lion.

谢谢!

Kam*_*mek 4

看起来 Qxt 正在使用一些在 Mountain Lion 中删除的私有 Mac OS X API。CGSGetWindowProperty 在以前版本的 Mac OS X 中没有记录,所以我猜无论如何使用它都不可靠。