LithApp / Lith

Multiplatform, mobile-focused WeeChat relay client
https://lith.app
GNU General Public License v2.0
75 stars 7 forks source link

Fix FileDialog for Qt6 (no longer present in Qt.labs.platform) #105

Closed chinese-soup closed 2 years ago

chinese-soup commented 2 years ago

Fixed up qt6 bs, tested on ios, linux and macos - works fine on all of these.

Uses an inline QML dialog on Linux when GTK not present (i.e. gnome sesison), uses macOS file browser on macOS, uses Photos/Recents on iOS.

QtCore added because of StandardPaths being out of the labs package now. QtQuick.Dialogs added because of FileDialog being out of the labs package now.

Biggest motivation: Fixes app not opening on iOS atm.

MartinBriza commented 2 years ago

Yes