Results 1 to 13 of 13

Thread: Error code after inheriting QGraphicsView

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2010
    Location
    Warsaw, Poland
    Posts
    7
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Error code after inheriting QGraphicsView

    Hmm, now I realized that when I was reading your post I saw "view" instead of "scene" in part about dynamic allocation. Nevertheless it somehow solved the problem with the exit code. Do you think that it was just a luck? Maybe there is another mistake?

    And to answer your question: I just dynamically allocated memory for view object and I set wiget from the main form to be a parent for it.
    Last edited by K.Sejdak; 13th March 2011 at 19:37.
    "My programs don't have bugs. They just provide random features."

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Error code after inheriting QGraphicsView

    If you look inside setupUi(), that's exactly what was happening previously too.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 4
    Last Post: 9th June 2010, 07:46
  2. exited with code -1073741819 error
    By arpspatel in forum Qt Programming
    Replies: 8
    Last Post: 2nd March 2010, 09:47
  3. Replies: 2
    Last Post: 9th November 2009, 09:31
  4. Linker error when i link C code
    By navi1084 in forum Qt Programming
    Replies: 2
    Last Post: 22nd November 2008, 09:48
  5. Error in Q3Canvas Code...
    By Kapil in forum Newbie
    Replies: 10
    Last Post: 27th March 2006, 05:15

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.