Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. :-1: error: Project ERROR: Unknown module(s) in QT: texttospeech
Forum Updated to NodeBB v4.3 + New Features

:-1: error: Project ERROR: Unknown module(s) in QT: texttospeech

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    track
    wrote on last edited by track
    #1

    I am trying to use texttospeech module in Qt 6.4 but I get this error ":-1: error: Project ERROR: Unknown module(s) in QT: texttospeech" when I open the project.
    It seems mingw_64 is missing this file 'TextToSpeech.json' because other android files have it. Is it possible to download it somewhere or there is a work around?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you check for the presence of the library itself ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • T Offline
        T Offline
        track
        wrote on last edited by
        #3

        I don't know where to check for the library but I doubt because when I deploy to android devices it compiles but gives this error "W libTrackGate_arm64-v8a.so: QQmlApplicationEngine failed to load component
        W libTrackGate_arm64-v8a.so: qrc:/main.qml:17667:4: TextToSpeech is not a type" eventhough 'TextToSpeech.json' is present.

        T 1 Reply Last reply
        0
        • T track

          I don't know where to check for the library but I doubt because when I deploy to android devices it compiles but gives this error "W libTrackGate_arm64-v8a.so: QQmlApplicationEngine failed to load component
          W libTrackGate_arm64-v8a.so: qrc:/main.qml:17667:4: TextToSpeech is not a type" eventhough 'TextToSpeech.json' is present.

          T Offline
          T Offline
          track
          wrote on last edited by
          #4

          Good Greetings. I checked "C:\Qt\6.4.0\mingw_64\lib " for the texttospeech library but it was not there. I found "libQt6TextToSpeech_arm64-v8a.pri" and "libQt6TextToSpeech_arm64-v8a.so" in android folders.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            track
            wrote on last edited by
            #5

            I solved the problem by opening the maintenance tool and unchecked Qt Speech under additional libraries to uninstall it. After completing the uninstallation I checked it again to reinstall and restarted Qt. Everything works fine now. Thanks for the clue.

            1 Reply Last reply
            1

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved