note that there are three more copies of that file (some with minor
additions):
kde-workspace/libs/plasmagenericshell/scripting/backportglobal.h
kde-workspace/plasma/kpart/scripting/backportglobal.h
kde-workspace/plasma/scriptengine/simplebindings/backportglobal.h
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
TODO from https://github.com/fluxer/katana/issues/7. I've decided to
keep KDE4 and Katie libraries as PUBLIC, all other libraries as PRIVATE
for that and not use INTERFACE at all since that will not require a lot
of changes to all other sub-projects (kde-baseapps, kde-workspace and
kde-extraapps) build systems.
MusicBrainz5 CMake module was also rewritten as the actual library that
should be linked to is libmusicbrainz5cc, libmusicbrainz5 is the C
version of it.
common checks for X11 extensions where move to main config header,
eventually to be moved to separate config-x11 header.
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
this includes QtWebKit support removal since it is not going to be
maintained, fancy headers removal, CMake modules rewrite/removal
and removing conditionals from the build system. Pre-processor
definitions checks are still in place on purpose
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
most of the changes were done trought Katie's namefsck script which
convertes forward class declarations to include directives, however
other fixes here and there were needed as well as some questionable
changes to Q_DECLARE_TYPEINFO() macro calls because they most likely
have to do the namespacing themselfs (QT_BEGIN/END_NAMESPACE, and
probably will be in Katie) meaning that some of the changes may be
temporary and reverted later.
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
while this should be done in setupQmlJsDebugger() I found that most of the
API consumers of KDeclarative just ignore it and never call it thus making
debugging impossible
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
for some (really) strange reason code that worked before does not now,
whatever is causing the blanking of QT_QTSCRIPTTOOLS_LIBRAY variable is a
CMake regression I believe. With this change overlinking will be done when
building against Qt4 but I'd rather bear with that then workaround
regression somewhere.
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>