PDA

View Full Version : Converting a qt project into a reusable library



abhicreate
29th July 2012, 18:00
Hi all,

I have one qt project which i want to convert into a reusable library which can be used in any other project simply by adding it just like we add header files.

Is there any way to do so?

Thanks in advance.

amleto
29th July 2012, 21:07
reusable libraries are normally built into dll or static '.a' or '.lib'. You will nalways need to link with with the library as well as include headers unless the library is 'header only'.

ChrisW67
30th July 2012, 00:54
Is there any way to do so?

Maybe, depending on what "any other project" includes. You can start, as usual, with the documentation

abhicreate
30th July 2012, 17:43
Still,I am not able to understand how can i make project as a library can be resued. What is the exact way to do so?

Kindly help me out.