Results 1 to 2 of 2

Thread: Fatal IO error with QGLWidget and reading a file

  1. #1
    Join Date
    Mar 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Fatal IO error with QGLWidget and reading a file

    Hello,

    I'm facing a rather strange problem. I only recently started working with Qt and OpenGL.

    I'm programming an application in which I got a QStackedWidget as main widget. In it there's my QGLWidget derived class and some non-opengl widgets. OpenGL is used for rendering a terrain map read from a file. Whenever i open QDialog and start reading from the chosen file the application crashes with only this error message:
    Fatal IO error: client killed
    What's even more strange when QGLWidget is hidden (other widget from QStackedWidget is selected) I can read from file without any problems, then switch to QGLWidget and it works great.

    Best regards,
    mcn

  2. #2
    Join Date
    Feb 2007
    Location
    Karlsruhe, Germany
    Posts
    469
    Thanks
    17
    Thanked 90 Times in 88 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Fatal IO error with QGLWidget and reading a file

    Maybe some objects have the wrong lifetime? Try to build a minimal-compilable-program that still shows the error and post the code here.

    Johannes

Similar Threads

  1. Replies: 1
    Last Post: 6th December 2009, 14:28
  2. Replies: 7
    Last Post: 18th September 2009, 14:44
  3. Replies: 1
    Last Post: 27th March 2009, 06:22
  4. Replies: 4
    Last Post: 24th November 2007, 13:33
  5. Fatal error ..!!!!
    By joseph in forum Qt Programming
    Replies: 9
    Last Post: 13th November 2007, 14:05

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.