D5083: fix compilation with old gcc

Marco Martin noreply at phabricator.kde.org
Fri Mar 17 13:22:50 UTC 2017


mart created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  gcc 4.8.5 (opensuse leap) fails building modeltest with
  CMakeFiles/testHistoryModel.dir/modeltest.cpp.o: In function `ModelTest::data()':
  modeltest.cpp:(.text+0x5a57): undefined reference to `bool QTest::qCompare<int, unsigned int>(int const&, unsigned int const&, char const*, char const*, char const*, int)'

TEST PLAN
  builds fine now
  same thing should be done to modeltest usage in kwin

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

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

AFFECTED FILES
  klipper/autotests/modeltest.cpp

To: mart, #plasma
Cc: plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170317/7b198240/attachment.html>


More information about the Plasma-devel mailing list