Results 1 to 20 of 20

Thread: Qftp Put Image to FTP

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2010
    Posts
    41
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qftp Put Image to FTP

    still no advice on this? because im still stuck.

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qftp Put Image to FTP

    Well, Qt Creator executes the exe too, so if it crashes outside of Qt Creator, then your environment is different (eg. path)

  3. #3
    Join Date
    Jun 2010
    Posts
    41
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qftp Put Image to FTP

    Okay I went back and set my Output Directory so my exe goes into the same folder as the rest of my release

    now when I compile, my exe goes to my Projects /Release Folder and not my Solutions.

    My program is still crashing outside of my IDE, and I believe you are right that its my envirornment outside of my IDE that is causing the crash but I am not sure what part of my environment.

    It is crashing at this line. I have in my project the need to include a lot of dll's but I am thinking it would be the Network DLL that would be causing the problem since it is crashing at this line: QFtp *connectionftp = new QFtp(this);

    I am attaching a screenshot of my release folder
    Attached Images Attached Images
    Last edited by harleyskater; 7th July 2010 at 05:03.

  4. #4
    Join Date
    Jun 2010
    Posts
    41
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qftp Put Image to FTP

    project stilllll isn't working did anyone take a look at that screenshot? is it possible its the library and not the dll?

  5. #5
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qftp Put Image to FTP

    Where do you output that error?

  6. #6
    Join Date
    Jun 2010
    Posts
    41
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qftp Put Image to FTP

    that error is actually just a message box I put before and after the line of code that is failing to track down where the app is failing, kinda like a die statement.

    QFtp *connectionftp = new QFtp(this);

  7. #7
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qftp Put Image to FTP

    So you took a picture of a message box you created yourself and are asking us why that message box appears?

  8. #8
    Join Date
    Jun 2010
    Posts
    41
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qftp Put Image to FTP

    no, I am wondering why my program crashes when it reaches this line of code

    QFtp *connectionftp = new QFtp(this);

    I took the screenshot only to show that I have all the dll's located in the builds dir.

    It executes great when ran within MSVS2008 but the exe outside of the IDE crashes on that line. I took the screenshot to show I am including what I need to.

  9. #9
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qftp Put Image to FTP

    Well, MSVS2008 doesn't run your program from the "Release" dir, it's runs it from your projects home directory (which is typically where your source code is) so it's not using the DLLs in your release directory when its running from within the IDE.

    So, delete all the files in the release directory. All of them. Then do a full rebuild and see if it works then, from a VS2008 command prompt. If it does, there's something wrong with one of the DLLs which was there.

  10. #10
    Join Date
    Dec 2009
    Posts
    9
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Qftp Put Image to FTP

    Any body please look into my thread "Slow FTP Program using QFtp" Its very Urgent and Please help me.

    Thanks in advance

Similar Threads

  1. QFtp and dataTransferProgress
    By racinglocura07 in forum Qt Programming
    Replies: 2
    Last Post: 24th June 2010, 18:14
  2. Synchronous QFtp?
    By aarpon in forum Qt Programming
    Replies: 2
    Last Post: 26th October 2009, 09:28
  3. QFtp over QHttp
    By parusri in forum Qt Programming
    Replies: 1
    Last Post: 19th January 2009, 19:16
  4. Synchronizing QFtp
    By arun_vj in forum Qt Programming
    Replies: 0
    Last Post: 5th November 2008, 12:31
  5. Replies: 0
    Last Post: 23rd September 2007, 11: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
  •  
Qt is a trademark of The Qt Company.