Results 1 to 8 of 8

Thread: program close unexpectedly after adding QHttpMultiPart in my software

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2014
    Location
    Iran
    Posts
    15
    Thanks
    9
    Qt products
    Platforms
    Unix/X11 Windows

    Default program close unexpectedly after adding QHttpMultiPart in my software

    Hello
    I'm newbie,so sorry if my question is simple
    I had some problem for uploading file through HTTP,finally I got the solution,here is a working example
    then I just change my code to work with QHttpMultiPart,when I was done,I run my program to see if everything is fine,but after adding a file to upload,my software close unexpectedly (no raising error,just crash)
    here is a basic working example of my code
    problem is in Uploader class,the upload method.
    I can't understand what I'm doing wrong,can some one give me hint or a solution ?
    I ask this question in qt forum but no answer,here is last place which can answer my question,so please help me on this one
    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: program close unexpectedly after adding QHttpMultiPart in my software

    You need to have a look at the stack trace from when the crash happens.

    For example by running the program in a debugger or checking the backtrace on crash, etc.

    Cheers,
    _

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

    Mohammadhzp (18th January 2014)

Similar Threads

  1. The program has unexpectedly finished.
    By smemamian in forum Newbie
    Replies: 4
    Last Post: 1st April 2013, 00:44
  2. Replies: 4
    Last Post: 17th September 2012, 15:23
  3. the program has unexpectedly finished
    By narlapavan in forum Qt Programming
    Replies: 9
    Last Post: 9th July 2012, 09:04
  4. Program quits unexpectedly
    By MCFormax in forum Newbie
    Replies: 2
    Last Post: 9th November 2011, 02:31
  5. Program has unexpectedly finished
    By Maluko_Da_Tola in forum Newbie
    Replies: 5
    Last Post: 1st December 2010, 09:54

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.