Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. kde integration
Forum Updated to NodeBB v4.3 + New Features

kde integration

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 389 Views
  • 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.
  • J Offline
    J Offline
    Jim Gir
    wrote on last edited by
    #1

    Hi,
    QtQuickControls don't look native under kde. I found a deb package : [https://packages.debian.org/sid/amd64/qml-module-qtquick-controls-styles-breeze/filelist] for the kde standard "breeze" theme.
    I tried in the ccp code :

    QQuickStyle::addStylePath("/usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/");
    QQuickStyle::setStyle("Breeze");
    

    but I can't make it work. any idea on how to to it (and more generally having a better KDE integration ?
    Thanks
    Jimmy

    1 Reply Last reply
    0
    • GrecKoG Offline
      GrecKoG Offline
      GrecKo
      Qt Champions 2018
      wrote on last edited by
      #2

      What does QQuickStyle::availableStyles() returns?

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jim Gir
        wrote on last edited by
        #3
        Default
        Base
        Breeze
        Desktop
        Flat
        Plasma
        Fusion
        Imagine
        Material
        Universal
        

        Hum seems ok, , and QQuiclStyle::name() returns Breeze.
        I thought seetings "Breeze" would change QQuickControls aspect but I think I'm wrong. Should I instead import Breeze in components in my qml files ? how to do it ?

        1 Reply Last reply
        0

        • Login

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