I have made an QT programm that I want to be able to run on another computer that doesnt have QTsdk installed on it. So I guess I have to make an executable file. Unfortunately I have abolutely no experience with this. Can somebody tell me how to do this in simple words?
I work have made the programm in Qt Creator 2.4.1 based on Qt 4.7.4 (32 bit) on a windows 64bit computer.
preguntado el 28 de agosto de 12 a las 11:08
On answer mentions statically linking your executable with the Qt libraries, this is very convenient as it means you only have a single file to deal with (your exe) - BUT because of Qt's licensing, it also means you have to buy a commercial license for your application.
Assuming you are not modifying Qt's source code, the way round this is to ship Qt's runtime libraries (the .dll files it needs for runtime linking) with your application. This is how the vast majority of programs on your machine work anyway because it has lots of other advantages too.
if you mean statical linking
then there are tons of tutorials on the web
it's just about configuring your qmake file with static flags.