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. FileDialog not native...
Qt 6.11 is out! See what's new in the release blog

FileDialog not native...

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 1 Posters 1.1k Views 2 Watching
  • 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.
  • J Offline
    J Offline
    Jeff Barnes
    wrote on last edited by
    #1

    In Qt 5.7, When I use FileDialog in QtQuick.Controls 2.0, the dialog is not a native widget. When I used the Qt.labs.controls 1.0 from Qt 5.6 on the same computer, it was native. I see the following output when I fire it my app in the debugger.

    qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:210:25: QML ListView: Binding loop detected for property "model"

    Here's the relevant qml:

    import QtQuick.Dialogs 1.2
    import QtQuick.Dialogs 1.0 // for other dialogs
    ...
    FileDialog {
    id: myFileDialog
    title: "Enter Encrypted Device File"
    onAccepted: deviceFileManager.moveFile(myFileDialog.fileUrl);
    }

    Is this a known issue? Workaround?

    J 1 Reply Last reply
    0
    • J Jeff Barnes

      In Qt 5.7, When I use FileDialog in QtQuick.Controls 2.0, the dialog is not a native widget. When I used the Qt.labs.controls 1.0 from Qt 5.6 on the same computer, it was native. I see the following output when I fire it my app in the debugger.

      qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:210:25: QML ListView: Binding loop detected for property "model"

      Here's the relevant qml:

      import QtQuick.Dialogs 1.2
      import QtQuick.Dialogs 1.0 // for other dialogs
      ...
      FileDialog {
      id: myFileDialog
      title: "Enter Encrypted Device File"
      onAccepted: deviceFileManager.moveFile(myFileDialog.fileUrl);
      }

      Is this a known issue? Workaround?

      J Offline
      J Offline
      Jeff Barnes
      wrote on last edited by
      #2

      I'm running on Ubuntu 16.04 64bit

      1 Reply Last reply
      0

      • Login

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