-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Does not load system Qt theme #93
Comments
According to the Arch Linux wiki, Kvantum is usually compiled for Qt5
Does this change anything? Does passing |
No, they both result in "QApplication: invalid style override 'kvantum' passed, ignoring it."
|
It also cannot see or use the normal Breeze theme, resulting in similar output when applied by that method |
i'm also getting this issue, it's getting hard to work at night with a sun on your face |
oh yeah and kvantum should appear in your "Available styles" list if it's installed, and if it is installed run "QT_STYLE_OVERRIDE=kvantum" instead |
I didn't know this was a bug, but yes, this does happen to me too. The strange part is, it doesn't happen if I compile it from source. It seems it has to do with the installer/reinstalled bins. |
Qt applications use shared library files for the various styles. If the application doesn't end up looking at the system libraries but instead uses entirely its own it won't see any of the other installed style libraries and thus won't use them. |
Describe the Bug
The application does not use the systems default Qt theme on Linux, rather using its own themes.
To Reproduce
Start the application on a system with a Qt theme set, and see that the application does not use it, nor is it available in the themes configuration dropdown
![image](https://private-user-images.githubusercontent.com/30549015/304629262-5e5c5ff0-94ea-4ae4-ae07-ac5e30ee8f5b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MDEyNzUsIm5iZiI6MTcyNDcwMDk3NSwicGF0aCI6Ii8zMDU0OTAxNS8zMDQ2MjkyNjItNWU1YzVmZjAtOTRlYS00YWU0LWFlMDctYWM1ZTMwZWU4ZjViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDE5MzYxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI4MDBhZWVhYWE2YmMyZDgwMzRkNmNiNWM5MWY0YTUwZDY1MWVjMzllYTUyNDQ4MTFiM2Y3MjEyNDI3MWZkMzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.FtRpzgnHQTk2JBk7M7rgY1-dD881cAtkHv-7MIiD4GY)
(VPKEdit on left, example of application following system Qt theme on right)
Operating System
Arch Linux (kernel: 6.7.4-arch1-1; DE: LXQt 1.4.0); VPKEdit 4.0.0 (but issue persists in 4.0.1)
The text was updated successfully, but these errors were encountered: