Hi,
I just downloaded QT.2009.03 for windows and tried to make a gui application.
It gives :-1: error: collect2: ld returned 1 exit status when building the program.
can somebody suggest me the solution.
Hi,
I just downloaded QT.2009.03 for windows and tried to make a gui application.
It gives :-1: error: collect2: ld returned 1 exit status when building the program.
can somebody suggest me the solution.
Another reason might be that your source is incomplete and calls method DECLARATIONS that get called but the method IMPLEMENTATIONS are missing.
Declaration is the stuff that you usually put in a header file (method signature without body)
Implementation is the signature with body.
Usually if you look in the linker output, you can find which implementation the linker is missing.
I often get this error, then i forget to close my previous builded application and after small changes i try to build it again:-1: error: collect2: ld returned 1 exit statussometimes old instance of program runs in background so you can't see it, then you might need to close it by using windows task manager or in Linux kill command.
Hi
i know what is wrong!
at bottom of the page , click on application Output.
above that you can see stop button..click on it!
It's ok now! reRun your project!
i know what is wrong!
at bottom of the page , click on application Output.
above that you can see stop button..click on it!
It's ok now! reRun your project!