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

FileDialog ignores fileMode : FileDialog.Save

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.4, 6.6.1, 6.7.0 FF
    • 6.3.1
    • Quick: Dialogs
    • None
    • Raspberry OS (Raspbian Linux 11 (bullseye))
      Raspberry Pi 4, Raspberry Pi 400
    • Linux/X11
    • 9184766ea (dev), 296f56004 (6.6), 34a9e20c6 (tqtc/lts-6.5)

    Description

      Cross compiled application.

      Target OS : Raspberry OS

      Host OS : Ubuntu 22.04

      Qt 6.3

       

      Unable to find source-code formatter for language: qml. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      // 
      import QtQuick
      import QtQuick
      import QtQuick.Window
      import QtQuick.Controls
      import QtQuick.Dialogs
      
      Window {    
      visible: true    
      width: 640   
      height: 480    
      title: qsTr("CROSS COMPILED QT6")
       
        FileDialog{ 
            id:fdSave 
            fileMode:FileDialog.SaveFile 
       }
        
      Button { 
           text: qsTr("Button") 
           onClicked: {     fdSave.open();     }
        }
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              vgt Eirik Aavitsland
              cryinghippo Djeff Lastnamer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes