How to build library-independent executable?
Hi there,
I wrote an application in Qt 4.1 and I would like to build a win32 .exe file which could be launched on every windows system, whether or not the Qt libraries are installed. Is it possible? I think that I should link it somehow to insert needed libraries into the executable, but I don't know how.
Any suggestions?
Re: How to build library-independent executable?
You can either distribute Qt DLLs along with your program, or compile the static version of the Qt and use static linking ("CONFIG += static", AFAIR).
Re: How to build library-independent executable?
And how do I know which dlls will my app need?
Re: How to build library-independent executable?
Quote:
Originally Posted by hoborg
And how do I know which dlls will my app need?
Application Dependencies
Re: How to build library-independent executable?
What a great tool, thanks :)
Re: How to build library-independent executable?
Does the "depends" tool come with the open source version for windows?
Re: How to build library-independent executable?
The dependency walker util is not related to Qt.
Re: How to build library-independent executable?
Doh! :rolleyes:
I guess I missed where that was pointed out......