Then you need to rebuild Qt and use static linking. You also need to read the license agreement about static linking.
Then you need to rebuild Qt and use static linking. You also need to read the license agreement about static linking.
Or use one of the many installer scripting programs to build a single installer executable that installs the multiple files you need to deploy.
I just need a single large executable file with all the dll's statically linked. Help me regarding this.
We've already told you how to do this - you need to rebuild Qt.
Could you explain this with the sample code..??
I need to link the following dlls,
libgcc_s_dw2-1.dll,mingwm10.dll,QtCore4.dll,QtGui4.dll,QtNetwor k4.dll.
How to link them statically?
These dll's are needed for my application to run.
Man,according to what they have said,you cannot bind all that into one executable.
A method that I know,you can use is to make a SFX archieve(self extracting RAR),which will have the appearence of an .exe,but will extract itself behind the scenes.
Otherwise,you'll need to re-build Qt,which means take the source code and re-complite it...
Your not going to get a different answer by just asking the same question. You need to reconfigure the build of Qt, then rebuild Qt, and then rebuild your application.
How to do that is described here: http://doc.qt.nokia.com/latest/deployment.html
Note that static linking requires a different license than dynamic linking. Therefore ensure you read the license first or you may get sued.
You guys really should google about setup creators, like inno setup or click team install creator, wich are free and spend 5 minutes learning how to use them, because they are easy to learn. If you really want to do a static building than read the docs that already have been pointed out. I did it once and worked, althougt I don't think it's worth the trouble because of the license and because it's much easy to use a setup program. Your programs will look more "professional"
__________________________________________________
My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
Like my projects ? Buy me a kofi
No, Nokia, as Nokia owns the license to the non-commercial version of Qt.
On Symbian (and, I think, Maemo) you can use the "smart installer" that will download missing DLLs. The source for the smart installer is, I believe, "open", so you could presumably adapt it for another platform (though it would be a lot of work).
Bookmarks