D18523: Fix windows build

Kevin Funk noreply at phabricator.kde.org
Fri Jan 25 12:44:53 GMT 2019


kfunk created this revision.
Herald added a project: KDE PIM.
Herald added a subscriber: kde-pim.
kfunk requested review of this revision.

REVISION SUMMARY
  We need to export symbols when building the library, but import them
  when using the library.
  
  Fixes issues like:
  
    .../moc_nicknamewidget.cpp(65): error C2491: 'ContactEditor::NicknameWidget::staticMetaObject': definition of dllimport static data member not allowed

REPOSITORY
  R459 Akonadi Contacts

BRANCH
  Applications/18.12

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

AFFECTED FILES
  CMakeLists.txt
  src/akonadi-contacts/CMakeLists.txt
  src/contact-editor/CMakeLists.txt

To: kfunk
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/20190125/e6eea4ff/attachment.html>


More information about the kde-pim mailing list