Results 1 to 4 of 4

Thread: QPixmap Crash - "...terminate it in an unusual way" (QT4.4)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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: QPixmap Crash - "...terminate it in an unusual way" (QT4.4)

    Hi,

    you can use a QPixmap only inside the GUI thread thus you have to initialize QApplication first. Or use QImage instead, which don't need a GUI thread.

  2. #2

    Default Re: QPixmap Crash - "...terminate it in an unusual way" (QT4.4)

    Perfect, thank you.

Similar Threads

  1. Replies: 0
    Last Post: 21st September 2011, 18:59
  2. Replies: 2
    Last Post: 13th January 2011, 10:50
  3. QProgressBar "crash" - doesn't work properly
    By metRo_ in forum Qt Programming
    Replies: 6
    Last Post: 23rd October 2010, 13:56
  4. QPixmap: X11 "memory leak" due to shared pixmap data?
    By chezifresh in forum Qt Programming
    Replies: 0
    Last Post: 21st April 2009, 19:53
  5. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19: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.