Question - including .dll into .exe
-
Hello, I have a small problem with my application. When I run it, it asks me for mingwm10.dll, QtGui4.dll and other dlls. I want single exe-file, which will include all needed dlls. I know that I can simply put this dlls into directory with my program, but I need one executable. How to do it?
P.S. I'm sorry, I'm not good in English. -
Search for ""static linking":http://doc.qt.nokia.com/4.7/deployment-windows.html#linking-the-application-to-the-static-version-of-qt"...
-
When I try to build qt statically I have another problem. I run cmd, then run "configure -static -platform win32-g++" but it says somewhere at the end "execute: file or path not found (mingw32-make)", "cleaning qmake failed, return code -1"
How to solve this? -
This takes an amount of time, but I have done it! I use two Qt folders, one with static, other with shared libraries. And I use "UPX":http://upx.sourceforge.net/ for packing application. It is pretty good!
P.S. Which folders are really needed to buid programs with static libraries in folder "c:/Path/to/Qt/qt"? -
Pavgran: Please make sure you are aware of the licensing implications of static linking. Basically the LGPL licensing option is not available when linking statically.
-
I have the exact same problem.
Running a static linked QML application and getting a white window.
What am I doing wrong ?[quote author="Onddo" date="1294847742"]Hi,
Is the Static linking supposed to work with QML applications as well? I went through the steps mentioned on the link above, the executable builds, but when I run it independently it just shows a white window.Thanks![/quote]