https://bugs.documentfoundation.org/show_bug.cgi?id=162003

Michael Weghorn <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEEDINFO

--- Comment #9 from Michael Weghorn <[email protected]> ---
As mentioned in tdf#149611 comment 32, for Qt >= 6.5, LO depends on Qt to
detect whether a light or dark style is used.

attachment 195256 is a slightly extended version of the sample program
mentioned there.

Can you please test that one?

To build: Extract the zip file and `cd` into the directory, then:

    $ qmake6 
    Info: creating stash file /tmp/qt-print-style-info/.qmake.stash
    $ make
    g++ -c -pipe -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -DQT_NO_DEBUG
-DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I.
-I/usr/include/x86_64-linux-gnu/qt6
-I/usr/include/x86_64-linux-gnu/qt6/QtWidgets
-I/usr/include/x86_64-linux-gnu/qt6/QtGui
-I/usr/include/x86_64-linux-gnu/qt6/QtCore -I.
-I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o main.o main.cpp
    g++ -Wl,-O1 -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu -o
qt-print-style-info  main.o   /usr/lib/x86_64-linux-gnu/libQt6Widgets.so
/usr/lib/x86_64-linux-gnu/libQt6Gui.so /usr/lib/x86_64-linux-gnu/libGLX.so
/usr/lib/x86_64-linux-gnu/libOpenGL.so /usr/lib/x86_64-linux-gnu/libQt6Core.so
-lpthread -lGLX -lOpenGL 

Running with Plasma global theme set to "Breeze Dark" in Debian testing (still
using Plasma 5 and doesn't ship a KF 6 Breeze style yet, so falls back to
"fusion"):

    $ ./qt-print-style-info 
    Style:  "fusion"
    Color scheme:  Qt::ColorScheme::Dark
    ^C

Running with global theme set to "Breeze":

    $ ./qt-print-style-info 
    Style:  "fusion"
    Color scheme:  Qt::ColorScheme::Light
    ^C

-> That gives the correct result. What does it print for you?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to