Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-71625

Linux: no native Dialogs since 5.10.1 with installer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P1: Critical P1: Critical
    • None
    • 5.10.1
    • Quick: Controls 2
    • None
    • Linux/X11

      On a Linux system (Fedora 20) using the Qt installer, version 5.10.1 (and above) fails to use native dialogs while it worked fine on 5.10.0.

       Steps to reproduce the issue inside QtCreator:

      • Install Qt
      • Launch QtCreator
      • File > Open File or Project

      Depending on the version, it either opens a gtk native dialog or a fallback QWidget implementation.

      On the QtQuick side, using a FileDialog from Qt.labs.platform with a QGuiApplication

      QGuiApplication app(..);  // not using QApplication
      import Qt.labs.platform 1.0
      
      FileDialog {}
      

      results in the following error:

      ERROR: No native FileDialog implementation available.
      Qt Labs Platform requires Qt Widgets on this setup.

      Looking at system info (see environment), "native file dialog" has clearly disappeared from the list (while native color/font dialog are still available).

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            yann-lty Yann Lanthony
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes