# Qt::QFileDialog problem

**URL:** <https://www.ruby-forum.com/t/qt-qfiledialog-problem/107386>\
**Category:** Ruby\
**Created:** [June 21, 2007, 3:48am UTC](https://www.ruby-forum.com/t/qt-qfiledialog-problem/107386 "2007-06-21T03:48:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![olbrich](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/5f9b8f/32.png) [@olbrich](https://www.ruby-forum.com/u/olbrich)\
**Post date:** [June 21, 2007, 3:48am UTC](https://www.ruby-forum.com/t/qt-qfiledialog-problem/107386/1 "2007-06-21T03:48:08Z")

</div>

Please read the thread I made here:  
[http://forums.gentoo.org/viewtopic-t-566375.html](http://forums.gentoo.org/viewtopic-t-566375.html)

If more details are required let me know.

---

<div class="post-metadata">

**Author:** ![olbrich](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/5f9b8f/32.png) [@olbrich](https://www.ruby-forum.com/u/olbrich)\
**Post date:** [June 21, 2007, 1:20pm UTC](https://www.ruby-forum.com/t/qt-qfiledialog-problem/107386/2 "2007-06-21T13:20:40Z")

</div>

Kevin O. wrote:

> Please read the thread I made here:  
> [Gentoo Forums :: View topic - Ruby Qt QFileDialog](http://forums.gentoo.org/viewtopic-t-566375.html)
> 
> If more details are required let me know.

newfile=Qt::FileDialog.new  
new.get\_save\_file\_name( “/home”,  
“Images (\*.png \*.jpg)”,  
this,  
“save file dialog”  
“Choose a filename to save under”  
)

I think you have a missing comma after “save file dialog”.

by  
TheR

---

<div class="post-metadata">

**Author:** ![olbrich](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/5f9b8f/32.png) [@olbrich](https://www.ruby-forum.com/u/olbrich)\
**Post date:** [June 22, 2007, 12:18am UTC](https://www.ruby-forum.com/t/qt-qfiledialog-problem/107386/3 "2007-06-22T00:18:58Z")

</div>

I did manage to get the dialog to come up however I can’t seem to get  
anything to save using said dialog. See thread topic here:  
[Gentoo Forums :: View topic - Ruby Qt QFileDialog](http://forums.gentoo.org/viewtopic-p-4113169.html#4113169) for the  
code in question and a description of the misbehavior. If you need  
more details let me know.
