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. QML file dialog
Forum Updated to NodeBB v4.3 + New Features

QML file dialog

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 1 Posters 257 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.
  • V Offline
    V Offline
    VinayP
    wrote on last edited by
    #1

    Hi I am using qml file dialog component for my front end project. while i am trying to load the file dialog using name filters[] property, using my file extension, file dialog is not loading my required extension and is crashing. the snippet is as follows

    FileDialog {
    id: fileDialog
    title: fileInput.dialogTitle
    nameFilters: ["(*.wfp)"]
    onFileUrlChanged: {
    fileInput.value = fileDialog.fileUrl
    }
    }

    Any leads that i can find my way through? I am new in this frame work so just let me know if any further details of the code that can help you understand what is missing is causing this. I am struggling to understand what is wrong. i have read the documentation carefully and did exactly what have been said.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      VinayP
      wrote on last edited by
      #2

      @VinayP i have solved it on my own after some struggle. i found out that changing the mingw version from 32 bit to 64 bit during the configuration of kits will solve the issue as the qml was configured in 64 bit and backend was configured in 32 bit versions.

      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