Unbreak build of code using plasma-framework
plasma_export.h is now installed in include/plasma/, not in include/. Code using plasma-framework does not have include/plasma in its include directory list, so plasma-framework headers must refer to others using </plasma/foo.h>, not "foo.h". CCMAIL: aleixpol@kde.org
This commit is contained in:
parent
cc6a87cee4
commit
43e2b0f670
@ -145,7 +145,9 @@ set_target_properties(KF5Plasma PROPERTIES
|
||||
)
|
||||
|
||||
########### install files ###############
|
||||
generate_export_header(KF5Plasma BASE_NAME Plasma)
|
||||
generate_export_header(KF5Plasma
|
||||
BASE_NAME Plasma
|
||||
EXPORT_FILE_NAME plasma/plasma_export.h)
|
||||
ecm_generate_headers(Plasma_CamelCase_HEADERS
|
||||
HEADER_NAMES
|
||||
Applet
|
||||
@ -172,7 +174,7 @@ ecm_generate_headers(Plasma_CamelCase_HEADERS
|
||||
|
||||
install(FILES
|
||||
${Plasma_HEADERS}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/plasma_export.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/plasma/plasma_export.h
|
||||
version.h
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma COMPONENT Devel)
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <kconfigskeleton.h>
|
||||
#include <ksharedconfig.h>
|
||||
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
|
||||
/**
|
||||
* @class ConfigLoader plasma/configloader.h <Plasma/ConfigLoader>
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include <plasma/containment.h>
|
||||
#include <plasma/plasma.h>
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
|
||||
class QAction;
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <QtCore/QTimer>
|
||||
|
||||
#include <kjob.h>
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
#include <plasma/dataengine.h>
|
||||
|
||||
class QAbstractItemModel;
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <QtCore/QUrl>
|
||||
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <QtCore/QObject>
|
||||
#include <QPixmap>
|
||||
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
|
||||
#include <plasma/plasma.h>
|
||||
#include <plasma/svg.h>
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <kplugininfo.h>
|
||||
|
||||
#include <plasma/plasma.h>
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
|
||||
class KJob;
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <kplugininfo.h>
|
||||
|
||||
#include <plasma/plasma.h>
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
#include <plasma/package.h>
|
||||
|
||||
namespace Plasma
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include <QPainterPath>
|
||||
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
|
||||
class QAction;
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <kplugininfo.h>
|
||||
|
||||
#include <plasma/containment.h>
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
#include <plasma/scripting/scriptengine.h>
|
||||
|
||||
class QAction;
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <kplugininfo.h>
|
||||
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
#include <plasma/dataengine.h>
|
||||
#include <plasma/scripting/scriptengine.h>
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
#define PLASMA_SCRIPTENGINE_H
|
||||
|
||||
#include <plasma/package.h>
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
#include <plasma/plasma.h>
|
||||
|
||||
#include <QtCore/QObject>
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
#include <kconfiggroup.h>
|
||||
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
#include <plasma/plasma.h>
|
||||
|
||||
class QIODevice;
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include <kjob.h>
|
||||
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <QtCore/QObject>
|
||||
#include <QPixmap>
|
||||
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
|
||||
class QPainter;
|
||||
class QPoint;
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <kplugininfo.h>
|
||||
#include <ksharedconfig.h>
|
||||
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
|
||||
namespace Plasma
|
||||
{
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
/** @file plasma/version.h <Plasma/Version> */
|
||||
|
||||
#include "plasma_export.h"
|
||||
#include <plasma/plasma_export.h>
|
||||
#include <plasma_version.h>
|
||||
|
||||
#define PLASMA_MAKE_VERSION(a,b,c) (((a) << 16) | ((b) << 8) | (c))
|
||||
|
Loading…
Reference in New Issue
Block a user