• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    windows 10 QT configuration / QSS?

    Scheduled Pinned Locked Moved
    Technical Help
    2
    2
    515
    Loading More Posts
    • 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
      thats_a_movie
      last edited by

      I gather that this UI is controlled by a framework called QT and that I should be able to answer my questions by studying those docs; I've been unsuccessful so far and hoping for a little direction from someone who's seen more than myself

      I'm on windows 10 and having trouble applying a QSS stylesheet to customize the colors/appearance of the app. I built the thing from scratch yesterday so I'm on qt 6.9.1 and I guess I have three questions:

      1. is it possible on windows to customize the appearance of the application through QT stylesheets? A link to the relevant doc or even a brief comment explaining how to accomplish this would be extremely appreciated

      2. if not, is there a way to accomplish this appearance customization goal at all, without modifying the source code? I've seen references to what I think is an external "qt configurator" app, but I've only seen linux examples so far

      3. if not, could someone be so kind as to point me in the right direction to the relevant code so I can try to modify the appearances myself?

      [what I've tried so far]

      I believe I've exhaustively checked strawberry's in-app options

      I've read through various docs and forum posts like https://forum.strawberrymusicplayer.org/topic/334/add-a-dark-mode/22 and https://doc.qt.io/qt-6/qtquickcontrols-fusion.html#customize-fusion-style and confirmed that setting the fusion style in Strawberry's preferences does give a darker style, which was a great improvement for me already (thanks!)

      Similar apps built on QT seem to follow a pattern of loading from Documents/$AppName/Styles/style.qss; this didn't work

      I saw a suggestion to try setting the stylesheet path as an env var when launching $app, that didn't help

      thank you

      jonasJ 1 Reply Last reply Reply Quote 0
      • jonasJ
        jonas @thats_a_movie
        last edited by

        @thats_a_movie
        The new version 1.2.22 released now has an option for dark mode under the appearance settings, you can also configure each individual color on the interface.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB | Contributors