Results 1 to 13 of 13

Thread: how to solve the bug:the inferior stopped because it received a singal from ...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2011
    Posts
    40
    Thanks
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how to solve the bug:the inferior stopped because it received a singal from ...

    i changed the code like you said.But it comes out the same error code.
    do i need to initializ the pointer of actionMenu_login ?Because it stopped line 32 of the file ui_temp.h .

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: how to solve the bug:the inferior stopped because it received a singal from ...

    That should be Ok, since that code is generated by UIC (unless you modified manually the ui_CLASS.h, you shouldn't do that)

    One other problem that i see (might not be related to this, i don't know what could be the result of it, but it is a problem) is that you call show() then you call exec() (i'm pretty sure that is not recommended)
    This happens in main.cpp:
    Qt Code:
    1. // login_box.show(); //comment or delete this line, because exec() will also show your (modal) dialog... so you don't need this
    2. if(login_box.exec()==QDialog::Rejected)//
    3. {
    To copy to clipboard, switch view to plain text mode 

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

    wter27 (9th January 2011)

  4. #3
    Join Date
    Jan 2011
    Posts
    40
    Thanks
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how to solve the bug:the inferior stopped because it received a singal from ...

    thank you very much for the tips you give.Because my english is poor.So it's hard for me to understand the word you said .
    I would modified the code later to see the problem .

Similar Threads

  1. Got "the inferior stopped ..." when debug
    By hashb in forum Qt Programming
    Replies: 3
    Last Post: 25th December 2009, 03:16
  2. Debugging singal-slot connections
    By gnik in forum Qt-based Software
    Replies: 0
    Last Post: 11th July 2009, 19:50
  3. QResource Stopped Working
    By JPNaude in forum Qt Programming
    Replies: 0
    Last Post: 22nd October 2008, 12:26
  4. singal send twice?
    By masoroso in forum Qt Programming
    Replies: 1
    Last Post: 12th April 2007, 13:47
  5. Signals/Slots stopped working
    By Jimmy2775 in forum Qt Programming
    Replies: 8
    Last Post: 31st March 2006, 21:11

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.