Results 1 to 4 of 4

Thread: QFileDialog is crashed?

  1. #1
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Thanks
    10
    Thanked 13 Times in 12 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default QFileDialog is crashed?

    I am using the following code but it crashes:

    Qt Code:
    1. QString Direc = QFileDialog::getExistingDirectory(this,tr("Open Directory),tr(\home"),QFileDialog::ShowDirsOnly);
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QFileDialog is crashed?

    The code you posted won't even compile. How about you copy and paste the actual code.

  3. #3
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Thanks
    10
    Thanked 13 Times in 12 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QFileDialog is crashed?

    This is the code am actually using..

  4. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: QFileDialog is crashed?

    no surely not. Watch the quotation marks and use slashes, no backslashes.

Similar Threads

  1. winId() crashed
    By nedivi in forum Qt Programming
    Replies: 1
    Last Post: 6th March 2011, 23:03
  2. Qt Creator gdb crashed cause of LD_PRELOAD cannot be preloaded
    By pk in forum Qt Tools
    Replies: 3
    Last Post: 12th July 2010, 09:06
  3. QT Creator crashed on startup
    By eloos in forum Qt Tools
    Replies: 13
    Last Post: 20th November 2009, 08:50
  4. Help: Qt crashed when linked against libSoQt
    By jwieland in forum Qt Programming
    Replies: 18
    Last Post: 14th April 2009, 22:17
  5. Crashed project
    By MarkoSan in forum Qt Programming
    Replies: 3
    Last Post: 26th January 2008, 00:25

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.