https://bugs.kde.org/show_bug.cgi?id=470808

            Bug ID: 470808
           Summary: Failed to find required Qt component "TextToSpeech".
    Classification: Developer tools
           Product: Qt/KDE Flatpak Runtime
           Version: unspecified
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: aleix...@kde.org
          Reporter: tim.grome...@gmail.com
                CC: aa...@kde.org
  Target Milestone: ---

The title should say it all. My app fails to build because of the missing
"TextToSpeech" module. Here my YAML file (not the final file but a first
attempt):

```yml
app-id: com.github.tim_gromeyer.VoiceAssistant
runtime: org.kde.Platform
runtime-version: '6.5'
sdk: org.kde.Sdk
command: voiceassistant
finish-args:
  - --share=ipc
  - --socket=fallback-x11
  - --socket=wayland
  - --filesystem=host
  - --device=dri
modules:
  - name: voiceassistaant
    buildsystem: cmake-ninja
    config-opts:
      - -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF
    sources:
      - type: git
        url: https://github.com/tim-gromeyer/VoiceAssistant.git
        branch: main
```

STEPS TO REPRODUCE
1.  Use this file
2.  Run flatpak
3.  See error

OBSERVED RESULT:
```
CMake Error at CMakeLists.txt:35 (find_package):
  Found package configuration file:

    /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find required Qt component "TextToSpeech".

  Expected Config file at
  "/usr/lib/x86_64-linux-gnu/cmake/Qt6TextToSpeech/Qt6TextToSpeechConfig.cmake"
  does NOT exist
```

EXPECTED RESULT: Successful build


SOFTWARE/OS VERSIONS
Os: OpenSUSE Tumbleweed
Qt: 6.5.1
flatpak version: 1.2.3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to