Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark fusion theme [Qt6, Win11] #535

Open
eddiezato opened this issue Feb 19, 2024 · 4 comments
Open

Dark fusion theme [Qt6, Win11] #535

eddiezato opened this issue Feb 19, 2024 · 4 comments

Comments

@eddiezato
Copy link

I tried to enable the fusion theme when building with Qt6 on Win11. And it already looks pretty nice. Maybe we need an option.

image

@easymodo
Copy link
Owner

So it now follows the system dark theme setting on windows?

Maybe worth switching to it by default if available, instead of an option

@eddiezato
Copy link
Author

So it now follows the system dark theme setting on windows?

Yep, including the titlebar.

@danmacode
Copy link

I'm following these instructions to compile from source: https://github.com/easymodo/qimgv/wiki/Compiling-qimgv-from-source

Can you share the changes needed to enable Qt6?

@eddiezato
Copy link
Author

eddiezato commented May 2, 2024

I just roughly replace Qt5 with Qt6 in CMakeLists:

sed -i 's|^find_package(Qt5|find_package(Qt6|;s|^if(Qt5_FOUND)|if(NOT Qt6_FOUND)|' CMakeLists.txt

I can share my build script for Win11, but it is strictly for msys2/ucrt64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants