My Qt app has theming issues

Hello, I managed to build and successfully package my app in snapcraft. Everything works fine but the appearance of the app has issues:

  • Texts in the toolbar does not follow the dark preference.
  • Toolbar does not follow the accent color
  • The color scheme doesn’t look right. (look at the titlebar and the body of the application in my screenshot.)

Here is my yaml file:

name: voicegen
version: '2.0.0'
summary: A simple tool for reading your texts
description:  VoiceGen is a simple but powerful text to speech application, with support for multiple offline/online engines such as svox and Amazon Polly.
grade: stable
confinement: devmode
base: core20

apps:
  voicegen:
    common-id: io.gitlab.persiangolf.voicegen
    command: usr/bin/voicegen
    extensions:
      - kde-neon
    plugs:
      - kde-frameworks-5-plug 
      - home
      - opengl
      - network
      - network-bind
      - pulseaudio

parts:
  voicegen:
    plugin: cmake
    source: .
    stage-packages:
      - curl
      - wget
    cmake-parameters:
      - -DCMAKE_INSTALL_PREFIX=/usr

BTW the repo of my qt app with its yaml file is there.

Regards.

Hello? Anybody there? Please help me out. :sos:

OK. I installed another app called kalzium. and It has the exact same issue. Looks like it’s a snap thing:

should i make a bug report? Please answer. Thanks