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

FileDialog ignores fileMode : FileDialog.Save

    XMLWordPrintable

Details

    • Bug
    • Status: Reported
    • P2: Important
    • Resolution: Unresolved
    • 6.3.1
    • None
    • Quick: Dialogs
    • None
    • Raspberry OS (Raspbian Linux 11 (bullseye))
      Raspberry Pi 4, Raspberry Pi 400
    • Linux/X11

    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

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              cryinghippo Djeff Lastnamer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes