Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-67116

can't compile debug build of Qt for iphonesimulator because of Qt5TextToSpeech error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.0 Beta 4
    • 5.10.1
    • Build System, Speech
    • None
    • macOS 10.12.6, Xcode 9.2, iPhoneSimulator11.2.sdk
    • iOS/tvOS/watchOS
    • f929c8d9c63bdef5a196cf44776ac89f555f21db (qt/qtspeech/5.12)

    Description

      Last few lines of output:

      /Volumes/hdd/Applications/Qt/5.10.1/build/qtbase/bin/moc -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_PLUGIN -DQT_GUI_LIB -DQT_TEXTTOSPEECH_LIB -DQT_CORE_LIB -D__APPLE__ -D__GNUC__=4 -D__APPLE_CC__ -D__cplusplus=199711L -D__APPLE_CC__=6000 -D__clang__ -D__clang_major__=9 -D__clang_minor__=0 -D__clang_patchlevel__=0 -D__GNUC__=4 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=1 -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtbase/mkspecs/macx-ios-clang -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtspeech/src/plugins/tts/ios -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtbase/mkspecs/common/uikit -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtbase/include -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtbase/include/QtGui -I/Volumes/hdd/Applications/Qt/5.10.1/build/qtbase/include -I/Volumes/hdd/Applications/Qt/5.10.1/build/qtbase/include/QtGui -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtspeech/include -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtspeech/include/QtTextToSpeech -I/Volumes/hdd/Applications/Qt/5.10.1/build/qtspeech/include -I/Volumes/hdd/Applications/Qt/5.10.1/build/qtspeech/include/QtTextToSpeech -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtbase/include/QtCore -I/Volumes/hdd/Applications/Qt/5.10.1/build/qtbase/include/QtCore -I. -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/usr/include /Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtspeech/src/plugins/tts/ios/qtexttospeech_ios.h -o .moc/moc_qtexttospeech_ios.cpp
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=c++1z -fapplication-extension  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -mios-simulator-version-min=10.0 -fobjc-nonfragile-abi -fobjc-legacy-dispatch -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -fembed-bitcode-marker -Wall -W -Werror=unguarded-availability -Werror=unguarded-availability-new -Werror=unsupported-availability-guard -fPIC -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_PLUGIN -DQT_GUI_LIB -DQT_TEXTTOSPEECH_LIB -DQT_CORE_LIB -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtspeech/src/plugins/tts/ios -I. -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtbase/mkspecs/common/uikit -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtbase/include -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtbase/include/QtGui -I/Volumes/hdd/Applications/Qt/5.10.1/build/qtbase/include -I/Volumes/hdd/Applications/Qt/5.10.1/build/qtbase/include/QtGui -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtspeech/include -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtspeech/include/QtTextToSpeech -I../../../../include -I../../../../include/QtTextToSpeech -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtbase/include/QtCore -I/Volumes/hdd/Applications/Qt/5.10.1/build/qtbase/include/QtCore -I.moc -I/Volumes/hdd/Applications/Qt/5.10.1/qt-everywhere-src-5.10.1/qtbase/mkspecs/macx-ios-clang -o .obj/moc_qtexttospeech_ios.o .moc/moc_qtexttospeech_ios.mm
      rm -f libqtexttospeech_speechios_debug.dylib
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=libc++ -fapplication-extension  -arch x86_64 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -mios-simulator-version-min=10.0 -fembed-bitcode-marker -Wl,-rpath,@executable_path/Frameworks -single_module -dynamiclib -o libqtexttospeech_speechios_debug.dylib .obj/qtexttospeech_ios_plugin.o .obj/qtexttospeech_ios.o .obj/moc_qtexttospeech_ios_plugin.o .obj/moc_qtexttospeech_ios.o .obj/moc_qtexttospeech_ios.o  -framework Foundation -framework AVFoundation -L/Volumes/hdd/Applications/Qt/5.10.1/build/qtbase/lib -lQt5Gui_debug -framework MobileCoreServices -L/Volumes/hdd/Applications/Qt/5.10.1/build/qtspeech/lib -lQt5TextToSpeech_debug -lQt5Core_debug -framework OpenGLES  
      duplicate symbol __ZN22QTextToSpeechEngineIos18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPv in:
          .obj/moc_qtexttospeech_ios.o
      duplicate symbol __ZN22QTextToSpeechEngineIos11qt_metacallEN11QMetaObject4CallEiPPv in:
          .obj/moc_qtexttospeech_ios.o
      duplicate symbol __ZNK22QTextToSpeechEngineIos10metaObjectEv in:
          .obj/moc_qtexttospeech_ios.o
      duplicate symbol __ZTV22QTextToSpeechEngineIos in:
          .obj/moc_qtexttospeech_ios.o
      duplicate symbol __ZTS22QTextToSpeechEngineIos in:
          .obj/moc_qtexttospeech_ios.o
      duplicate symbol __ZTI22QTextToSpeechEngineIos in:
          .obj/moc_qtexttospeech_ios.o
      duplicate symbol __ZN22QTextToSpeechEngineIos11qt_metacastEPKc in:
          .obj/moc_qtexttospeech_ios.o
      duplicate symbol __ZN22QTextToSpeechEngineIos16staticMetaObjectE in:
          .obj/moc_qtexttospeech_ios.o
      ld: 8 duplicate symbols for architecture x86_64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      make[5]: *** [../../../../plugins/texttospeech/libqtexttospeech_speechios_debug.dylib] Error 1
      make[4]: *** [sub-ios-make_first] Error 2
      make[3]: *** [sub-tts-make_first] Error 2
      make[2]: *** [sub-plugins-make_first] Error 2
      make[1]: *** [sub-src-make_first] Error 2
      make: *** [module-qtspeech-make_first] Error 2

      Please find attached full console output and also config files.

      Attachments

        Activity

          People

            frederik Frederik Gladhorn
            kambala Andrey Filipenkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: