我嘗試從源代碼編譯Qt,除了dbus部分外,一切正常(或多或少)。構建Qt 4.8支持QtDBus
./configure -v -opensource -dbus-linked -arch i386
配置顯示了這個錯誤:
1 error generated. make: * [dbus.o] Error 1 D-Bus disabled. The QtDBus module cannot be enabled because libdbus-1 version 0.93 was not found. Turn on verbose messaging (-v) to ./configure to see the final report. If you believe this message is in error you may use the continue switch (-continue) to ./configure to continue.
我安裝DBUS 1.6與自制,但配置工具無法看到它。 Lib和頭文件位於/usr/local/Cellar/d-bus/1.6.18。如何將配置指向此位置?
平臺是OS X.