[Interest] [OS X] 10.12 SDK breaks qt5-qtconnectivity build (on 10.11)

Samuel Gaist samuel.gaist at edeltech.ch
Sun Oct 2 12:14:05 CEST 2016


Hi,

I did too but I haven’t had the time to do a thorough analysis of what has changed exactly from 10.11 to 10.12 however if interested I have a small patch that adds the missing imports/includes where needed. It might need some cleanup though.

Samuel

> On 2 oct. 2016, at 11:36, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> 
> 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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161002/06250869/attachment.sig>


More information about the Interest mailing list