tnodir / fort

Fort Firewall for Windows
GNU General Public License v3.0
1.1k stars 96 forks source link

Some questions about the theme #263

Closed rainbowsource closed 2 weeks ago

rainbowsource commented 2 weeks ago

Why is there no Dark theme when I compile it myself? (Only Light is available, no theme switching is available.) I see that the binary you released was compiled with "Qt 6.9.0", but I can only find version 6.7.1 at the official download address (https://download.qt.io/official_releases/qt/).

tnodir commented 2 weeks ago

QStyleHints::setColorScheme() was added in Qt 6.8.0

I build Qt as static library from sources. Build script is /fort/deploy/qt-build.bat.

rainbowsource commented 2 weeks ago

I understand what you mean, but Qt has only released version 6.7.1 so far, and 6.8 has not been released yet...

tnodir commented 2 weeks ago

Qt has only released version 6.7.1 so far, and 6.8 has not been released yet...

Yes. So you have to wait for 6.8 or build it from sources yourself.

Or install 6.8 beta via Qt Online Installer.

rainbowsource commented 2 weeks ago

I see. Thank you very much. Getting the 6.9.0 version in advance means you are a big shot!!! 🥇 Just kidding. Great project, I've sponsored it!