<table><tr><td style="">kossebau created this revision.<br />kossebau added reviewers: Plasma, mart, broulik.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />kossebau requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D24673">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Allows</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">projects linking to KDeclarative to hide deprecated API up to a given version or silence deprecation warnings after a given version, using<ul class="remarkup-list">
<li class="remarkup-list-item">-DKDECLARATIVE_DISABLE_DEPRECATED_BEFORE_AND_AT</li>
<li class="remarkup-list-item">-DKDECLARATIVE_NO_DEPRECATED</li>
<li class="remarkup-list-item">-DKDECLARATIVE_DEPRECATED_WARNINGS_SINCE</li>
<li class="remarkup-list-item">-DKDECLARATIVE_NO_DEPRECATED_WARNINGS
<br /><br />
or</li>
<li class="remarkup-list-item">-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT</li>
<li class="remarkup-list-item">-DKF_NO_DEPRECATED</li>
<li class="remarkup-list-item">-DKF_DEPRECATED_WARNINGS_SINCE</li>
<li class="remarkup-list-item">-DKF_NO_DEPRECATED_WARNINGS</li>
</ul></li>
<li class="remarkup-list-item">to build KDeclarative optionally with deprecated API excluded from the build, using "EXCLUDE_DEPRECATED_BEFORE_AND_AT" cmake argument.</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>Builds with EXCLUDE_DEPRECATED_BEFORE_AND_AT set to 0, 5.0.0, 5.45.0,<br />
CURRENT.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R296 KDeclarative</div></div></div><br /><div><strong>BRANCH</strong><div><div>useECMGenerateExportHeader</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D24673">https://phabricator.kde.org/D24673</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
src/kdeclarative/CMakeLists.txt<br />
src/kdeclarative/kdeclarative.cpp<br />
src/kdeclarative/kdeclarative.h<br />
tests/kdeclarativetest.cpp</div></div></div><br /><div><strong>To: </strong>kossebau, Plasma, mart, broulik<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns<br /></div>