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

IOS/Qt5TextToSpeech - CMake not including plugins properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.9.1
    • Build System: CMake, Speech
    • None

      The file

      Qt5TextToSpeech_QTextToSpeechPluginIos.cmake

      is not included by the parent cmake fileĀ 

      Qt5TextToSpeechConfig.cmake

      because of the pattern of the file Qt5TextToSpeech_QTextToSpeechPluginIos.cmake does not match the pattern in Qt5TextToSpeechConfig.cmake that is (line ~156)

      file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt5TextToSpeech_*Plugin.cmake")
      

      Changing this to (note the end star)

      file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt5TextToSpeech_*Plugin*.cmake")
      

      or renaming Qt5TextToSpeech_QTextToSpeechPluginIos.cmake to a more consistent naming scheme such as Qt5TextToSpeech_QTextToSpeechIosPlugin.cmake
      solves the issue.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            krf Kevin Funk
            raffi Raffi Enficiaud
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes