Results 1 to 5 of 5

Thread: Rendering Error using FileDialog on Linux (Ubuntu 12.04)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2015
    Posts
    4
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Rendering Error using FileDialog on Linux (Ubuntu 12.04)

    I have been using two of the static functions, QFileDialog::getOpenFileName and QFileDialog::getSaveFileName

  2. #2
    Join Date
    May 2015
    Posts
    4
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Rendering Error using FileDialog on Linux (Ubuntu 12.04)

    Still no luck fixing this error:

    I replaced my the static function QFileDialog::getOpenFileName with the following code, and I got the same response:

    Qt Code:
    1. QFileDialog fileDialog(this);
    2. fileDialog.setFileMode(QFileDialog::ExistingFile);
    3. fileDialog.setNameFilter(tr("Script Files (*.py)"));
    4. QStringList fileNames;
    5. if (fileDialog.exec()) fileNames = fileDialog.selectedFiles();
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Replies: 2
    Last Post: 18th November 2015, 13:57
  2. Build QT Embedded Linux Ubuntu Error ?
    By Thành Viên Mới in forum Installation and Deployment
    Replies: 0
    Last Post: 4th November 2010, 04:15
  3. Qt and hardware direct rendering on Linux
    By Vogel Ubrhar in forum Qt Programming
    Replies: 0
    Last Post: 22nd March 2010, 08:58
  4. Rendering 3D Objects on Ubuntu
    By Sandip in forum Qt Programming
    Replies: 3
    Last Post: 19th January 2009, 14:29
  5. 3D rendering on Ubuntu using QGLWidget
    By sanjayshelke in forum Qt Programming
    Replies: 2
    Last Post: 14th January 2009, 12:05

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.