Qt 6.12 LTS is out! See what's new in the release
blog
How to setup a QMake project compiling to lib, and a second QMake project that uses that lib as a dependency.
General and Desktop
5
Posts
2
Posters
1.5k
Views
1
Watching
-
For example in visual studio you can create a solution and have a project inside that solution compile to a lib and other projects in that solution can be set as dependencies and anytime you build one of those projects the ide checks the lib project to compile it first if there are changes. How can I do something similar in QtCreator. I'm using 2.8, linux gcc, these projects don't use the Qt Libraries.
-
Just to clarify I already have the two projects, I just need to know how to link them as one depending on the other and getting that auto build for the lib project, if possible.
-
I did this and it seems like I can't add an already existing QMake project to a subdirs project. Do I have to recreate the projects with making a subdirs project?