Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt.labs.platform filedialog
Qt 6.11 is out! See what's new in the release blog

Qt.labs.platform filedialog

Scheduled Pinned Locked Moved Solved QML and Qt Quick
1 Posts 1 Posters 535 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    damianatorrpm
    wrote on last edited by damianatorrpm
    #1

    Hi,

    The documentation https://doc.qt.io/qt-5/qml-qt-labs-platform-filedialog.html
    says that it is required to have QT_QPA_PLATFORMTHEME to use gtk to
    use the native file dialog.

    I have qputenv("QT_QPA_PLATFORMTHEME", "gtk2");
    before the initialization of the QApplication (also tried gtk/gtk3)
    but nevertheless it says that a native implementation is not available and I should
    include widgets to use the fallback.

    Why is it not available? Does a specific process need to be running?
    Some other variable set?

    EDIT: A little bit too fast on Fedora gtk3 is required and there was a typo

    1 Reply Last reply
    1

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved