-
Notifications
You must be signed in to change notification settings - Fork 288
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
QFileDialog fails to use platform-native dialog if static linked #33
Comments
https://forum.kde.org/viewtopic.php?t=90626#p172050:
https://forum.kde.org/viewtopic.php?t=90626#p172100:
Could be related: |
So why is the widget based dialog unable to detect any folders? |
Nice find! |
|
UPDATE: such behavior observed on Linux only. Static builds work fine on Windows (tested Windows 10) and macOS (tested macOS 10.15.6). |
Right, I see these are separate. |
@theuni |
This @laanwj's comment is old enough but seems related:
|
It seems missed GTK+ support does not cause this bug.
then compiled
and a widget-based |
Here is another observation. A non-native Line 40 in 7317e14
As a consequence, users experience Qt warnings every time they open a filesystem dialog:
Just removing |
While investigating #32 I found a buggy (?) behavior of
QFileDialog
.From the Qt docs:
When Qt and QPA plugin are dynamic linked:
QFileDialog
works as expected, and uses a platform-native file dialog.When Qt and QPA plugin are static linked (gitian builds):
QFileDialog
fails to recognize the platform, and uses a widget-based implementation.Even running with
QT_QPA_PLATFORM=xcb
doesn't help.The text was updated successfully, but these errors were encountered: