Translations:Development/FAQs/Technical FAQ/67/en: Difference between revisions
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 17:41, 19 July 2019
Define a common library with the common classes and let both the part and the app use it. That library can be noinst_ or lib_, both work. In the first case the compiled object code is duplicated, in the second case a real versioned lib will be installed. The idea here is that the part itself is not available to the app, but instead the part is a very thin wrapper around the same classes as the app uses. Only KParts-specific stuff remains in the part.