Hi, I've got Qt iOS application and wanted to add watchOS part, but got a problem compiling Qt with bitcode enabled, which is the requirement. That's why I downloaded latest source of Qt5.8 and tried to compile it on my own but coma across some problems.
I got newest Xcode 8(maybe that's the problem?) I tried this commands with no positive result: git clone git://code.qt.io/qt/qt5.git git checkout 5.8 ./init-repository ./configure -xplatform macx-watchos-clang -release -nomake tests -nomake examples -opensource -confirm-license make The error I got is connected to qtpluginfo class: /Applications/Xcode.app/Contents/Developer/Toolchains/ XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=c++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/ MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.9 -fno-exceptions -Wall -W -fPIC -DQDOC2_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QMLDEVTOOLS_LIB -DQT_BOOTSTRAP_LIB -DQT_VERSION_STR='"5.8.0"' -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=8 -DQT_VERSION_PATCH=0 -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -DQT_NO_TRANSLATION -I. -I/src/tools/qdoc -I/src/tools/qdoc/qmlparser -I/Users/Olek/Documents/ compile_qt/qt5/qtdeclarative/include -I/Users/Olek/Documents/ compile_qt/qt5/qtdeclarative/include/QtQmlDevTools -I/Users/Olek/Documents/ compile_qt/qt5/qtdeclarative/include/QtQmlDevTools/5.8.0 -I/Users/Olek/Documents/compile_qt/qt5/qtdeclarative/ include/QtQmlDevTools/5.8.0/QtQmlDevTools -I/Users/Olek/Documents/compile_qt/qt5/qtbase/include -I/Users/Olek/Documents/compile_qt/qt5/qtbase/include/QtCore -I/Users/Olek/Documents/compile_qt/qt5/qtbase/include/QtCore/5.8.0 -I/Users/Olek/Documents/compile_qt/qt5/qtbase/include/QtCore/5.8.0/QtCore -I/Users/Olek/Documents/compile_qt/qt5/qtbase/include/QtXml -I/Users/Olek/Documents/compile_qt/qt5/qtbase/include/QtXml/5.8.0 -I/Users/Olek/Documents/compile_qt/qt5/qtbase/include/QtXml/5.8.0/QtXml -I/Users/Olek/Documents/compile_qt/qt5/qtbase/mkspecs/macx-clang -o .obj/qmlvisitor.o qmlvisitor.cpp /Applications/Xcode.app/Contents/Developer/Toolchains/ XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -stdlib=libc++ -Wl,-dead_strip -Wl,-syslibroot,/Applications/ Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.9 -o ../../bin/qdoc .obj/atom.o .obj/codechunk.o .obj/codemarker.o .obj/codeparser.o .obj/config.o .obj/cppcodemarker.o .obj/cppcodeparser.o .obj/doc.o .obj/editdistance.o .obj/generator.o .obj/helpprojectwriter.o .obj/htmlgenerator.o .obj/location.o .obj/main.o .obj/node.o .obj/openedlist.o .obj/plaincodemarker.o .obj/puredocparser.o .obj/qdocdatabase.o .obj/qdoctagfiles.o .obj/qdocindexfiles.o .obj/quoter.o .obj/separator.o .obj/text.o .obj/tokenizer.o .obj/tree.o .obj/yyindent.o .obj/jscodemarker.o .obj/qmlcodemarker.o .obj/qmlcodeparser.o .obj/qmlmarkupvisitor.o .obj/qmlvisitor.o -L/Users/Olek/Documents/ compile_qt/qt5/qtdeclarative/lib -lQt5QmlDevTools -L/Users/Olek/Documents/compile_qt/qt5/qtbase/lib -framework Foundation -framework CoreServices -lQt5Bootstrap cd qtplugininfo/ && ( test -e Makefile || /Users/Olek/Documents/compile_qt/qt5/qtbase/bin/qmake -o Makefile /Users/Olek/Documents/compile_qt/qt5/qttools/src/qtplugininfo/ qtplugininfo.pro -qtconf /Users/Olek/Documents/compile_qt/qt5/qtbase/bin/qt.conf -- -xplatform macx-watchos-clang -release -nomake tests -nomake examples -opensource -confirm-license -nomake tools ) && /Applications/Xcode.app/ Contents/Developer/usr/bin/make -f Makefile xcodebuild build -project qtplugininfo.xcodeproj -scheme qtplugininfo -configuration Release -destination "id=B030A111-647B-4785-A1B3-FF1127C686DC" -destination-timeout 1 xcodebuild: error: 'qtplugininfo.xcodeproj' does not exist. make[3]: *** [xcodebuild-release-simulator] Error 66 make[2]: *** [sub-qtplugininfo-make_first] Error 2 make[1]: *** [sub-src-make_first] Error 2 make: *** [module-qttools-make_first] Error 2 Running qmake for qtpluginfo.pro takes a lot of time, and after that qtpluginfo.xcodeproj is never created. Anyone knows how to fix, or should I wait for Qt5.8Beta?
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest