FileDialog fails in AppImage but works with built version
Running with the continuous AppImage ossia.score-master-linux-x86_64.AppImage. Works with the source build.
I was only able to reproduce this on Linux, works on macOS with the same .AppImage.
error message :
Warning: file:///.../Filedialog.qml:15:5: QML FileDialog: Failed to load non-native FileDialog implementation:
qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/qml/FileDialog.qml:106 Type DialogsImpl.FolderBreadcrumbBar unavailable
qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/qml/FolderBreadcrumbBar.qml:65 Non-existent attached object
I tried with a minimal repro with this qml code
import QtQuick
import QtQuick.Controls
import QtQuick.Dialogs
ApplicationWindow {
visible: true
width: 400
height: 300
Button {
text: "Test FileDialog"
onClicked: fileDialog.open()
}
FileDialog {
id: fileDialog
title: "Test"
}
}
and i ran with ./ossia.score-master-linux-x86_64.AppImage --ui test.qml (both --ui and --ui-debug don't work)
I see the issue. On Linux Qt is built with -no-feature-accessibility as it has a performance cost. But it was added here in Qt: FolderBreadcrumbBar.qml https://github.com/qt/qtdeclarative/commit/ab83b2d2d34095bd56ca0e9e044374d314277321
The fix is for me to rebuild without -no-feature-accessibility or to ask Qt to revert / fix this patch so that this is not set when the Qt feature is not built.
ok, updated the sdk for x86-64 linux, will need to do it for aarch64 afterwards
bleeding edge? updated 2 weeks ago
there wasn't a new build yet, I only updated the SDK ; i need to push something to see if it takes effect
can you check if it works on the last continuous build?