Qt eventFilters only work when "all" Qt plugins are selected
See original GitHub issueI’m trying to change the background of a program using eventFilter(). The background change should take place after hovering the mouse over the buttons. But after compiling with Nuitka, this function does not work. I wrote a small example and added a video so that if you want you can reproduce the error.
Exemple link: https://drive.google.com/file/d/1e9SUbP0nnDTJ6H2_wA_8-l9PGAC1WbhY/view?usp=sharing
Those were the arguments that I used on Windows:
nuitka --mingw64 --onefile --plugin-enable=pylint-warnings --plugin-enable=qt-plugins --include-data-file=images\*=images\ --windows-onefile-tempdir main.py
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
My Qt eventFilter() doesn't stop events as it should
Everything else works as expected. Only the event filter fails. I want the filter to remove events sent to the window that created...
Read more >The Event System - Qt for Python - Qt Documentation
The installEventFilter() function enables this by setting up an event filter, causing a nominated filter object to receive the events for a target...
Read more >QLibrary: find AVX2 (Haswell) optimized plugins and libraries
QLibrary: find AVX2 (Haswell) optimized plugins and libraries Libraries are placed in a subdir "haswell/" of the main library dir, whereas plugins are ......
Read more >QCoreApplication Class | Qt Core | Qt Documentation (Pro)
Note that this function is called for all events sent to any object in any thread. For certain types of events (e.g. mouse...
Read more >Why aren't more desktop apps written with Qt? [closed]
Yes, there are issues with static linking (rolling all of Qt into the binary) ... on the desktop that a lot of software...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Again I thank the Nuitka project and its quick return, I think I can finish the issue now.
Apparently the
setStyleSheet
method only accepts this bar/
But I’m not sure, maybe I’m using it the wrong way