still no advice on this? because im still stuck.
still no advice on this? because im still stuck.
Well, Qt Creator executes the exe too, so if it crashes outside of Qt Creator, then your environment is different (eg. path)
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
Last edited by harleyskater; 7th July 2010 at 05:03.
project stilllll isn't working did anyone take a look at that screenshot? is it possible its the library and not the dll?
Where do you output that error?
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);
So you took a picture of a message box you created yourself and are asking us why that message box appears?
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.
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.
Any body please look into my thread "Slow FTP Program using QFtp" Its very Urgent and Please help me.
Thanks in advance
Bookmarks