shivendra46d
13th November 2013, 10:21
Hello
I want to make stand alone application and i am using qt 4.5.
I went through the link
http://www.qtcentre.org/wiki/index.php?title=Building_static_Qt_on_Windows#Qt_C reator_users_and_Qt_.3E.3D_4.6
and did all the changes. But now when i am running my code i am getting the error
:-1: error: collect2: ld returned 1 exit status
Please tell me how to over come this problem
and yes this is how i edited the mkspecs
QMAKE_LFLAGS = -static -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc
I want to make stand alone application and i am using qt 4.5.
I went through the link
http://www.qtcentre.org/wiki/index.php?title=Building_static_Qt_on_Windows#Qt_C reator_users_and_Qt_.3E.3D_4.6
and did all the changes. But now when i am running my code i am getting the error
:-1: error: collect2: ld returned 1 exit status
Please tell me how to over come this problem
and yes this is how i edited the mkspecs
QMAKE_LFLAGS = -static -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc