D12277: Fix build with Qt 4

Fabian Vogt noreply at phabricator.kde.org
Tue Apr 17 11:07:37 UTC 2018


fvogt created this revision.
fvogt added a reviewer: Breeze.
Restricted Application added a project: Plasma.
fvogt requested review of this revision.

REVISION SUMMARY
  In Qt 4, the compiler detection macros have no value, so they can't be compared
  against. So just use the compiler-specific ones.
  It also makes use of the fact that undefined tokens evaluate to 0 in
  comparisons.

TEST PLAN
  jriddell built it with GCC 5 and 7 against Qt 4 and 5.

REPOSITORY
  R31 Breeze

BRANCH
  master

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

AFFECTED FILES
  kstyle/breezesplitterproxy.cpp

To: fvogt, #breeze
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180417/a9898a71/attachment.html>


More information about the Plasma-devel mailing list