Results 1 to 10 of 10

Thread: Comparing QString causes the program to crash .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2010
    Location
    Chennai
    Posts
    21
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Comparing QString causes the program to crash .

    thnk u tbscope ,but i reallly didn't understand that.
    The program compiled and ran.
    Only wen i click the login button ,i says " windows app stopped working".
    here's the screenshots as attachments .

    The error statement :
    Starting C:\Users\Administrator\Documents\Qt Pros\TravelBooking-build-desktop\debug\TravelBooking.exe...
    Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly
    RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly
    Attached Images Attached Images

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Comparing QString causes the program to crash .

    That's an error completely unrelated to the code you posted.

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

    Default Re: Comparing QString causes the program to crash .

    As a side note (completely unrelated to the problem) - I think you are not using "layouts" in your code which makes your GUI look and act really bad (sorry for being blunt).
    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.


  4. #4
    Join Date
    Aug 2010
    Location
    Chennai
    Posts
    21
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Comparing QString causes the program to crash .

    That's an error completely unrelated to the code you posted
    tbscope , I've posted all the files ! . I think i should write a new one step by step carefully.

    hi wysota , you mean i've to write the code without the help of designer ?
    Does designing & then using uic tool is a bad advice ? I thought writing manually will take lots of time .

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

    Default Re: Comparing QString causes the program to crash .

    Quote Originally Posted by ladiesfinger View Post
    hi wysota , you mean i've to write the code without the help of designer ?
    No. I mean you need to organize widgets in layouts. Also see conept of layouts in Designer docs.
    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.


  6. #6
    Join Date
    Aug 2010
    Location
    Chennai
    Posts
    21
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Comparing QString causes the program to crash .

    Thank u all guys for ur instant help especially tbscope .

Similar Threads

  1. How can I manage an unexpected program crash?
    By cydside in forum Qt Programming
    Replies: 1
    Last Post: 22nd August 2009, 06:59
  2. Program Crash
    By jonmatteo in forum Qt Programming
    Replies: 5
    Last Post: 17th June 2009, 14:47
  3. Program crash when a signal is emitted
    By croscato in forum Qt Programming
    Replies: 7
    Last Post: 22nd November 2008, 22:24
  4. Program crash
    By Pragya in forum Qt Programming
    Replies: 7
    Last Post: 29th June 2007, 07:37
  5. Crash on QString Destructor
    By ToddAtWSU in forum Qt Programming
    Replies: 1
    Last Post: 14th June 2007, 14:28

Tags for this Thread

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.