D13816: Make KItinerary work as a static library
Volker Krause
noreply at phabricator.kde.org
Sat Jun 30 19:19:47 BST 2018
vkrause created this revision.
Restricted Application added a project: KDE PIM.
Restricted Application added a subscriber: kde-pim.
vkrause requested review of this revision.
REVISION SUMMARY
The tricky part is static construction (needed for the Qt resource system
among other things), that isn't available with static libraries. I didn't
find a more elegant solution than an explicit init function for that.
Putting this up for review for the general concept, assuming we want static
library support in other libraries/frameworks too, as it has some benefits
for minimizing app bundles (such as Android APKs).
REPOSITORY
R1003 KItinerary: Travel Reservation handling library
BRANCH
static-build
REVISION DETAIL
https://phabricator.kde.org/D13816
AFFECTED FILES
autotests/bcbpparsertest.cpp
autotests/extractortest.cpp
autotests/jsonlddocumenttest.cpp
autotests/pkpassextractortest.cpp
autotests/postprocessortest.cpp
autotests/uic9183parsertest.cpp
autotests/unstructureddataextractortest.cpp
src/CMakeLists.txt
src/datatypes/datatypes.cpp
src/init.cpp
src/init.h
To: vkrause
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180630/aaf5b4c4/attachment.html>
More information about the kde-pim
mailing list