[Qt-interest] error building static application on Windows using QT creator

Sarvesh Saran Sarvesh.Saran at synopsys.com
Fri Mar 5 07:40:53 CET 2010


Hi,

I would like to deploy a static QT application on Windows XP. I am using QT creator 1.3.1.

I had to re configure and build a static version of QT. Despite having a successful application build, when I try to run the application directly from the debug folder I get the following error message:

"The application failed to initialize properly(0xc0150002)"

The build output is shown below (from qt creator):
g++ -static -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\cloudLinks.exe object_script.cloudLinks.Debug -L"c:\Qt\2010.02.1\qt\lib" -lmingw32 -lqtmaind -lQtGuid -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lmsimg32 -lQtCored -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32
mingw32-make[1]: Leaving directory `C:/cloudLinks'
mingw32-make: Leaving directory `C:/cloudLinks
Exited with code 0.

Yet when I try to run the exe I get the error message.

Any help/ideas are welcome.


Thanks,
Sarvesh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100305/d8bfd746/attachment.html 


More information about the Qt-interest-old mailing list