Results 1 to 15 of 15

Thread: QFilediaog assertion failure

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Location
    Bengaluru
    Posts
    144
    Thanks
    8
    Thanked 7 Times in 7 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Question QFilediaog assertion failure

    Hi,

    I am building my GUI app on Qt 4.5.3. when i try to copy/insert any values in the linedit of QFileDialog, There will be a prompt of assertion failure from visual studio 2005. Could you please let me know how to fix this issue.

    Here is the simple code,
    Qt Code:
    1. QFileDialog l_pFiledDlg(this, tr("Open Files"), sPath, tr("All Files (*)"));
    2. QString sFilename1;
    3. l_pFiledDlg.setViewMode(QFileDialog::Detail);
    4. l_pFiledDlg.setFileMode(QFileDialog::ExistingFile);
    5. if (l_pFiledDlg.exec()) sFilename1 = l_pFiledDlg.selectedFiles()[0];
    To copy to clipboard, switch view to plain text mode 

    I have also attached a snapshot of the assertion failure dialog.
    Attached Images Attached Images

Similar Threads

  1. Debug Assertion Failed
    By ^NyAw^ in forum General Programming
    Replies: 5
    Last Post: 28th December 2007, 11:48
  2. setPixmap cause assertion?
    By Equilibrium in forum Qt Programming
    Replies: 3
    Last Post: 23rd October 2007, 00:34
  3. QGLWIdget renderText() assertion...
    By adonel in forum Qt Programming
    Replies: 3
    Last Post: 22nd October 2007, 21:30
  4. Replies: 5
    Last Post: 20th June 2006, 19:40
  5. ASSERT(Failed assertion in Qt == Qt bug)
    By 0xBulbizarre in forum Qt Programming
    Replies: 1
    Last Post: 20th March 2006, 19:06

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
  •  
Qt is a trademark of The Qt Company.