[Qt-interest] Qt dialog and Thread

vinitha ks joshmiks at yahoo.co.in
Tue Feb 17 12:36:22 CET 2009


Hi,
We are using MAC 10.5 ,Xcode3.0 and Qt4.3.5 .There is a problem with getOpenFileName() and getSaveFileName().
I couldn't  give a single file format in mac.When i give getOpenFileName(this, tr("Open File"),
                                                 "/home",
                                                 tr("Images (*.png )"));

It doesn't show any types,
but   getOpenFileName(this, tr("Open File"),
                                                 "/home",
                                                 tr("Images (*.png );;"));
 

(added ";;"  in filter)it shows file format and lives a blank  row in types.

So how can i display single file format without leaving any blank row?

Next is about Qthread,QThread::wait(ULONG_MAX) is taking some time in our MAC.So when we try to quit the application in this time,it crashed.So how can i kill other events in this time or reduce wait time which returns true?

Hope anyone can help me.
Thanks



      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090217/bfa802c2/attachment.html 


More information about the Qt-interest-old mailing list