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

FileDialog qml crash #135

Open
victor-corchez opened this issue Feb 28, 2023 · 1 comment
Open

FileDialog qml crash #135

victor-corchez opened this issue Feb 28, 2023 · 1 comment

Comments

@victor-corchez
Copy link

I have an app built with Qt 6.4.2 which uses the new FileDialog from QtQuick Dialogs (not the old Qt.labs implementation). I initially used linuxdeployqt which managed to create the bundle and it works. I tried then to migrate to linuxdeploy with the qt plugin, but I get a seg fault when I try to use the file dialog because it tries to use the Qt.labs implementation which doesn't exist anymore. After some investigation I've seen that platformtheme libqgtk3 is not bundled (which was bundled by linuxdeployqt). After some searching in the code I've found this undocumented envvar: DEPLOY_PLATFORM_THEMES which managed to fix the problem. So for start I think this variable should be documented (even if it's experimental) and then I think some investigation is needed to find why it tries to search for the old implementation.

@TheAssassin
Copy link
Member

Deploying those platform themes has caused a lot more trouble than they solved (they were mainly shipped for theming). I'm surprised to read that their lack has caused issues.

Please provide:

  • your distribution and Qt version (and where you got them from)
  • a build log
  • a runtime log

If possible, please attach your AppDir.

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

2 participants