Hi,

Xcode 8 installs (only) the 10.12SDK even on Mac OS 10.11, which leads to a 
build failure in QtConnectivity:

https://trac.macports.org/ticket/52203

Extract:
/usr/bin/clang++ -c -pipe -stdlib=libc++ -stdlib=libc++ -O2 -std=c++1z 
-isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
 -mmacosx-version-min=10.11 -fvisibility=hidden -fvisibility-inlines-hidden 
-fno-exceptions -Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV 
-DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_OSX_BLUETOOTH -DQT_BUILD_BLUETOOTH_LIB 
-DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT 
-DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS 
-DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB 
-DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -I../../include 
-I../../include/QtBluetooth -I../../include/QtBluetooth/5.6.1 
-I../../include/QtBluetooth/5.6.1/QtBluetooth 
-I/opt/local/libexec/qt5/lib/QtCore.framework/Headers 
-I/opt/local/libexec/qt5/lib/QtConcurrent.framework/Headers -I.moc 
-I/opt/local/libexec/qt5/mkspecs/macx-clang
  -F/opt/local/libexec/qt5/lib -o .obj/osxbtutility.o osx/osxbtutility.mm
osx/osxbtutility.mm:171:14: error: property 'data' cannot be found in forward 
class object 'CBUUID'
    if (uuid.data.length == 2) {
        ~~~~ ^
osx/osxbtutility_p.h:58:8: note: forward declaration of class here
@class CBUUID;
       ^

Has anyone else seen this? I'm not seeing any bug reports about this on qt.io; 
could it be that it has to do with configure options we use for MacPorts?

R.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to