Build qtcreator using static linking
Unsolved
Installation and Deployment
-
There was a need to build a static version of qtcreator. The reason is simple: the presence of dynamic dependencies that can not always be resolved, and it is more difficult to transfer all the necessary dependencies than to build a static version of qtcreator.
I was only able to figure out how to build a static version of qt
Could you tell me how to perform a static build of qtcreator?
-
You can use the
QTC_STATIC_BUILD
CMake variable set toON
to build Qt Creator statically.For optimal performance you also need to set
CMAKE_INTERPROCEDURAL_OPTIMIZATION
toON
.