Can I include another UI project as precompiled files?
-
I am wondering if I can include an exiting UI Project into another one
using some precompiled/compiled files instead of using an *.pri file and source code.I understood that I can create a library for that - but how to turn an existing
UI application into a library than? -
Hi,
The short version is: extract all the classes you use into a library and in your application project you just keep the main.cpp file and link to the library you created.
If you want to keep all of that in a single project use the SUBDIRS template.
-
Hi,
The short version is: extract all the classes you use into a library and in your application project you just keep the main.cpp file and link to the library you created.
If you want to keep all of that in a single project use the SUBDIRS template.