PDA

View Full Version : Can i build a static exe?



coder1985
14th November 2007, 17:07
hi, i built an application using Qt4, MinGW but the exe file does not work becuase it
requires dll's i must copy those dll's to the exe folder in order to work.
there is any way to build static exe that contain all required things in one file?
and thak you

wysota
14th November 2007, 17:09
http://wiki.qtcentre.org/index.php?title=Building_static_applications
http://www.qtcentre.org/forum/faq.php?faq=qt_general_category#faq_qt_use_static

MrShahi
11th June 2008, 15:08
hello sir ...............
I also wana make a static build application in Qt.
for this i included CONFIG+= static in my pro file .............but on compilation time it does not found QX11EmbedContainer.h.........................
For this wht would I do?????????

wysota
11th June 2008, 17:18
Does it find it without the static switch?