Application crashes at launch-time
Hi. I've got a problem. When I try to launch my application, it crashes. It compiled well, everything should be ok, but it isn't. Here's my api:
http://download.yousendit.com/F778F45E2CBBB92B
I really don't know why application sometimes crash at launch-time. Regards:confused:
Re: Application crashes at launch-time
Quote:
why application sometimes crash at launch-time
(i read it lunch-time)
maybe it doesn't like whats on the menu :p
just kidding.
Re: Application crashes at launch-time
You tried to debug this?! I'd first comment the connects out and see what happens...
Re: Application crashes at launch-time
How can I debug it if I don't have configured IDE with Qt, and I'm using it just to making code?
Re: Application crashes at launch-time
Quote:
When I try to launch my application
from this it sounds like it is YOUR application, as in, you programmed it.
Is it so, or are you just a user of this program?
Re: Application crashes at launch-time
No, I programmed this application.
Re: Application crashes at launch-time
Quote:
Originally Posted by
Salazaar
No, I programmed this application.
So where is the problem in debugging it?
If you can build it, you can debug it.
Either with debug messages or with a debuger.
You don't need a Qt configured IDE for that.
Re: Application crashes at launch-time
OK, so, how to debug it? I looked at the Assistant and typed make all instead of make, and reached:
C:\Dev-Cpp\bin\...\mingw32\...ld.exe cannot find -lqtmaind
I don't know is it this what you were asking about. If not, how to debug it?
edit:
executable was made - this was problem which appeared after building
Re: Application crashes at launch-time
Quote:
Originally Posted by
Salazaar
Please don't use external sites for showing images. Use the attachment feature of the forum. And don't use rar as the compressor but rather use some (g)zip variant if you really have to compress the image.
Re: Application crashes at launch-time
Quote:
Please don't use external sites for showing images.
The link was an image??
I thought it was the project...
EDIT:
It is the project.
Re: Application crashes at launch-time
Quote:
Originally Posted by
high_flyer
The link was an image??
I thought it was the project...
I don't know, I didn't open it, I hate RAR :) Anyway my comment applies to project files as well.
Re: Application crashes at launch-time
does the program crash every time, or just some times - this should crash every time.
Pardon me - this should not even compile!
I see you use 'ui' variable, yet you access GUI elements (which are not declered in the scope of your class) directly.
Look, I don't like answering like that, but you are really an extreme case.
Stop posting such questions.
You don't know C++, which is nothing to be ashamed of, but you can't expect us to waist our time to see the trivial mistakes you are making, and then teach you why they are a mistake.
Lern C++ first, then post your questions here.
This forum is NOT a C++ learning forum, there are many others on the net that do that.
Re: Application crashes at launch-time
Quote:
does the program crash every time, or just some times - this should crash every time.
Pardon me - this should not even compile!
I see you use 'ui' variable, yet you access GUI elements (which are not declered in the scope of your class) directly.
Look, I don't like answering like that, but you are really an extreme case.
Stop posting such questions.
You don't know C++, which is nothing to be ashamed of, but you can't expect us to waist our time to see the trivial mistakes you are making, and then teach you why they are a mistake.
Lern C++ first, then post your questions here.
This forum is NOT a C++ learning forum, there are many others on the net that do that.
Syntax error on "waist" - verb expected
Syntax error on "Lern" - unknown token
;)
Re: Application crashes at launch-time
hehe... I stand corrected.
But only two typos is not that bad, relative to other posts....
The problem is, that my fingers often type what they want, specially if I type fast.
Re: Application crashes at launch-time
Quote:
Originally Posted by
high_flyer
does the program crash every time, or just some times - this should crash every time.
Pardon me - this should not even compile!
I see you use 'ui' variable, yet you access GUI elements (which are not declered in the scope of your class) directly.
?? I've got Dialog class which inherits ui::Dialog, where are those declarations! And the function where are they used is part of this class!:confused:
Re: Application crashes at launch-time
Yes you are confused becasue you don't know C++.
But we can't help you with that, or at least, I don't have the time for it.
Re: Application crashes at launch-time
So I have to work at classes subject in my book...Maybe I'll understand...
Re: Application crashes at launch-time
That is a good way to go about it.
You can ask specifc C++ questions that you don't understand in the General Programming section in this forum.
Re: Application crashes at launch-time
And one more thing, in one of examples in C++ GUI Programming book, form was created by designer and one of command was groupBox->hide(); and it worked
Re: Application crashes at launch-time