How static linking is done with qt creator?

Hi
I have created a simple program using Qt creator. I know how to dynamically link it, but don't know, how to compile it statically. My Qt version is 5.7.0.
I want to compile all necessary libraries to a single executable file.
closed account (E0p9LyTq)
http://bfy.tw/6g2Q
I wached the same tutorial before, but when I type configure /? I get unrecognizable command prompt, in Qt command prompt. Why is that?
Thanks for your answer Thomas1965.
Last edited on
It seems I don't have configure.exe
Where to look for in Qt?
Where to get it?
I have a problem when I want build a standalone exe in qt creator. I have installed the hole Qt package exe, but I cant build a standalone exe.
in Qt command prompt first I type ->configure -debug-and-release -static -opensource -opengl desktop -nomake examples -nomake tests

then ->jom after more than thirty minutes I have an Error 2. This is the err

gcc -c -pipe -fno-keep-inline-dllexport -O2 -Wall -Wextra -DUNICO
ar -M < object_script.libqwebp.Release
jom: C:\Qt\Qt5.7.0\5.7\Src\Makefile [module-qtactiveqt-make_first] Error 2

C:\Qt\Qt5.7.0\5.7\Src>
After many tries, I could fix it. Thanks so much cplusplus forum.
Topic archived. No new replies allowed.