Qt Creator: how to split a project into static libraries?
rmam last edited by
I'm developing a small pet project which is basically a Qt GUI for a domain model. The whole project is currently organized as a single source tree where the domain model is stored in a dedicated subdirectory. I would like to turn it into a separate module to be included in the project as a static library. Does anyone know what's the best way to use Qt Creator to convert portions of a project into modules by converting them to static libraries?
Hi and welcome to devnet,
The SUBDIRS template would be the right choice.
Take a look at this wiki entry. It shows it pretty nicely.
StevenFS last edited by StevenFS
Following SGaist's answers, I believe this blog-post filled in a missing link for me. http://jingfenghanmax.blogspot.com/2010/01/use-qmake-include-file-pri.html