How to convert QTCreator Linux project pro file to C/C++ library?
-
https://www.qtcentre.org/threads/17255-dll-using-qt
The above thread builds dll library - I need same for Linux.
There is another thread which just suggest to modify "make" - I am not that smart to do that
All QT tutorials (RTFM) are about how to build a library from scratch.
Is it possible to convert pro file to Linux C/C++ library?If so , how ?
-
https://www.qtcentre.org/threads/17255-dll-using-qt
The above thread builds dll library - I need same for Linux.
There is another thread which just suggest to modify "make" - I am not that smart to do that
All QT tutorials (RTFM) are about how to build a library from scratch.
Is it possible to convert pro file to Linux C/C++ library?If so , how ?
-
Is this ALL I have to do?
Add to the pro file..
Looks unbelievably simple...TEMPLATE = lib
DEFINES += TESTLIBRARY_LIBRARYI have not implemented it, but it did build the library
THANKS
PS
I need to RTFM about "internal...system " library next. -
Is this ALL I have to do?
Add to the pro file..
Looks unbelievably simple...TEMPLATE = lib
DEFINES += TESTLIBRARY_LIBRARYI have not implemented it, but it did build the library
THANKS
PS
I need to RTFM about "internal...system " library next.@AnneRanch manual in that respect can be confusing as it tends to have all the options for MSVC and Windows.
For gcc/clang not really needed.I quite often export parts of my code as a library if said code is/can be useful across the various tools I create, I do remember being confused about how to write it.