Results 1 to 3 of 3

Thread: Crash of a simple example when I close a window

  1. #1
    Join Date
    Nov 2012
    Posts
    232
    Thanks
    118
    Thanked 18 Times in 10 Posts
    Platforms
    Windows Android

    Default Re: Crash of a simple example when I close a window

    Hello!

    I created a simple application but it crash after when I close it. Please, run my project and close the window


    Added after 14 minutes:


    I solved it: Clean -> Run qmake -> Run
    Attached Files Attached Files
    Last edited by 8Observer8; 6th December 2014 at 10:26.

  2. #2
    Join Date
    Apr 2013
    Location
    Prague
    Posts
    258
    Thanks
    3
    Thanked 65 Times in 59 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Crash of a simple example when I close a window

    How does the program crash? I have downloaded the source, fixed a few "QOpenGL..." declarations (I am running Qt 4.8.2, the declarations need to be "QGL..." here) and the program compiles and runs. The triangle is moving on cursor keys and when I click the 'x', the program is exiting regularly. I am running Debian Wheezy.

  3. The following user says thank you to Radek for this useful post:

    8Observer8 (6th December 2014)

  4. #3
    Join Date
    Nov 2012
    Posts
    232
    Thanks
    118
    Thanked 18 Times in 10 Posts
    Platforms
    Windows Android

    Default Re: Crash of a simple example when I close a window

    Thank you! But I solved it: Clean -> Run qmake -> Run

    It works perfectly

Similar Threads

  1. dock title bar crash on close
    By Alundra in forum Qt Programming
    Replies: 6
    Last Post: 26th May 2014, 20:51
  2. Replies: 0
    Last Post: 15th December 2013, 07:49
  3. Replies: 1
    Last Post: 18th July 2012, 14:33
  4. Replies: 9
    Last Post: 16th May 2010, 16:21
  5. How to close parent window from child window?
    By montylee in forum Qt Programming
    Replies: 5
    Last Post: 14th October 2008, 11:40

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.