D9892: cmake: Use the official CMake variable for building as a static plugin.

Marco Martin noreply at phabricator.kde.org
Mon Jan 15 17:25:57 UTC 2018


mart created this revision.
mart added a reviewer: Kirigami.
Restricted Application added a project: Kirigami.
Restricted Application added a subscriber: plasma-devel.
mart requested review of this revision.

REVISION SUMMARY
  This is the first step in actually creating a valid Qt static plugin.
  
  Currently, when used as a static library, it is expected to be a
  subdirectory of the project instead of a "proper" Qt plugin. This
  patch and the ones that follow aim to make Kirigami a plugin just
  as Qt official ones.

TEST PLAN
  builds and works in both modes, however KirigamiPlugin::registerTypes()
  still seems to be needed, which we want to get rid of in the end

REPOSITORY
  R169 Kirigami

BRANCH
  mart/static

REVISION DETAIL
  https://phabricator.kde.org/D9892

AFFECTED FILES
  CMakeLists.txt
  autotests/CMakeLists.txt
  examples/staticcmake/3rdparty/CMakeLists.txt
  examples/staticcmake/3rdparty/README
  examples/staticcmake/CMakeLists.txt
  examples/staticcmake/src/CMakeLists.txt
  examples/staticcmake/src/Page1.qml
  examples/staticcmake/src/Page1Form.ui.qml
  examples/staticcmake/src/kirigami-icons.qrc
  examples/staticcmake/src/main.cpp
  examples/staticcmake/src/main.qml
  examples/staticcmake/src/qtquickcontrols2.conf
  examples/staticcmake/src/resources.qrc
  src/CMakeLists.txt
  src/controls/Theme.qml
  src/controls/qmldir
  src/controls/templates/qmldir
  src/kirigamiplugin.cpp
  src/kirigamiplugin.h
  src/libkirigami/platformtheme.h
  src/qmldir

To: mart, #kirigami
Cc: plasma-devel, apol, davidedmundson, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180115/c7550c34/attachment-0001.html>


More information about the Plasma-devel mailing list