[Interest] Compile problems with Qt 5.9.1 from git
Dirk Hohndel
dirk at hohndel.org
Sat Jul 1 19:14:36 CEST 2017
I'm trying to build Qt from source (since my project relies on QtWebKit and there are no pre-built binaries for that - which is a shame).
As always, building from source is a remarkably painful, time intensive and overall frustrating experience.
In order to have the binaries that we ship run on a reasonably wide set of hardware, this is the configure line that I use:
../qt5/configure \
-release -opensource -confirm-license \
-skip qt3d -nomake examples -nomake tests \
--prefix=/Users/hohndel/Qt5.9.1 -sdk macosx10.10 -no-avx512 -no-avx2 \
2>&1 | tee configure.log
Running make afterwards doesn't get very far. It fails with this error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=c++1z -fapplication-extension -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.10 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -fPIC -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I/Users/hohndel/src/qt5/qtbase/src/plugins/bearer/corewlan -I. -I../../../../include/QtNetwork/5.9.1 -I../../../../include/QtNetwork/5.9.1/QtNetwork -I../../../../include/QtCore/5.9.1 -I../../../../include/QtCore/5.9.1/QtCore -I../../../../include -I../../../../include/QtNetwork -I../../../../include/QtCore -I.moc -I/Users/hohndel/src/qt5/qtbase/mkspecs/macx-clang -F/Users/hohndel/src/qt5.9.1-build/qtbase/lib -o .obj/qcorewlanengine.o /Users/hohndel/src/qt5/qtbase/src/plugins/bearer/corewlan/qcorewlanengine.mm
/Users/hohndel/src/qt5/qtbase/src/plugins/bearer/corewlan/qcorewlanengine.mm:290:5: error: type arguments cannot be applied to non-parameterized class 'NSArray'
NSArray<NSString *> *wifiInterfaces = [CWWiFiClient interfaceNames];
^ ~~~~~~~~~~~~
/Users/hohndel/src/qt5/qtbase/src/plugins/bearer/corewlan/qcorewlanengine.mm:605:5: error: type arguments cannot be applied to non-parameterized class 'NSArray'
NSArray<NSString *> *wifiInterfaces = [CWWiFiClient interfaceNames];
^ ~~~~~~~~~~~~
2 errors generated.
Any ideas how to address this?
Thanks
/D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170702/49932321/attachment.html>
More information about the Interest
mailing list