Hello…
I have the Qtbase git clone “2b3f293 Android: Refactor the InputType mapping code.”
I’m trying to build it on Mac OS 10.8.5, Xcode 5.0.2
If I use
./configure -debug -prefix /Projects/Qt5.2.1RC1 -debug-and-release -sdk macosx10.8
I end up with:
Running configuration tests...
The test for linking against libxcb and support libraries failed!
You might need to install dependency packages, or pass -qt-xcb.
See src/plugins/platforms/xcb/README.
The README doesn’t mention the Mac, but I installed xcb via macports, which landed in /opt/local/{bin,lib,include}/xcb. configure still isn’t seeing it.
If I add the -qt-xcb to configure, then configure finishes. But then I have a problem with the make:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -c -pipe -g -gdwarf-2 -fPIC -w -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.6 -fno-exceptions -Wall -W -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../../mkspecs/macx-clang -I. -I../../../../3rdparty/xcb/include -I../../../../3rdparty/xcb/include/xcb -I../../../../3rdparty/xcb/sysinclude -I../../../../../lib/QtGui.framework/Versions/5/Headers -I../../../../../lib/QtCore.framework/Versions/5/Headers -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AGL.framework/Headers -F/Volumes/Projects/Qt5.2.1.RC1/qtbase/lib -o .obj/xfixes.o ../../../../3rdparty/xcb/libxcb/xfixes.c
In file included from ../../../../3rdparty/xcb/libxcb/xfixes.c:8:
../../../../3rdparty/xcb/sysinclude/xcbext.h:1:10: fatal error: 'xcb/xcbext.h' file not found
#include <xcb/xcbext.h>
^
1 error generated.
Is this something I should/can ignore? I believe xcb is an X11-ism, which I’m not using at all, as far as I know.
Thanks for any/all help!
-Eric
↧