[Mac OS]Patch for kdebase to build against Qt framework installation
younker
mac.younker at gmail.com
Wed Jun 13 16:34:29 BST 2007
Ok, this is the patch to make kdebase build against QT framework on Mac OS.
Anyway, the change to CMakefile.txt of konsole is not correct, I just
removed the reference of XKB.cpp.
Regards.
mac.younker at gmail.com
Index: kdebase/runtime/khelpcenter/scrollkeepertreebuilder.cpp
===================================================================
--- kdebase/runtime/khelpcenter/scrollkeepertreebuilder.cpp (版本 674926)
+++ kdebase/runtime/khelpcenter/scrollkeepertreebuilder.cpp (工作副本)
@@ -30,7 +30,7 @@
#include <klocale.h>
#include <k3procio.h>
-#include <Qt/qdom.h>
+#include <QtXml/qdom.h>
#include <QFile>
#include <QRegExp>
#include <kconfiggroup.h>
Index: kdebase/runtime/khelpcenter/khc_indexbuilder.cpp
===================================================================
--- kdebase/runtime/khelpcenter/khc_indexbuilder.cpp (版本 674926)
+++ kdebase/runtime/khelpcenter/khc_indexbuilder.cpp (工作副本)
@@ -33,8 +33,8 @@
#include <QFile>
#include <QTextStream>
-#include <QDBusMessage>
-#include <QDBusConnection>
+#include <QtDbus/QDBusMessage>
+#include <QtDbus/QDBusConnection>
#include <unistd.h>
#include <stdlib.h>
Index: kdebase/runtime/khelpcenter/navigator.cpp
===================================================================
--- kdebase/runtime/khelpcenter/navigator.cpp (版本 674926)
+++ kdebase/runtime/khelpcenter/navigator.cpp (工作副本)
@@ -30,7 +30,7 @@
#include <QLabel>
#include <Qt3Support/Q3Header>
-#include <Qt/qdom.h>
+#include <QtXml/qdom.h>
#include <QTextStream>
#include <QRegExp>
#include <QLayout>
Index: kdebase/runtime/khelpcenter/toc.h
===================================================================
--- kdebase/runtime/khelpcenter/toc.h (版本 674926)
+++ kdebase/runtime/khelpcenter/toc.h (工作副本)
@@ -22,7 +22,7 @@
#include "navigatoritem.h"
-#include <Qt/qdom.h>
+#include <QtXml/qdom.h>
#include <Qt3Support/Q3CheckListItem>
#include <QObject>
Index: kdebase/runtime/kdeprint/slave/kio_print.cpp
===================================================================
--- kdebase/runtime/kdeprint/slave/kio_print.cpp (版本 674926)
+++ kdebase/runtime/kdeprint/slave/kio_print.cpp (工作副本)
@@ -39,7 +39,7 @@
#include <kaboutdata.h>
#include <k3process.h>
#include <ktemporaryfile.h>
-#include <Qt/qdom.h>
+#include <QtXml/qdom.h>
#include <Q3PtrListIterator>
#include <stdio.h>
#include <stdlib.h>
Index: kdebase/runtime/kquitapp/kquitapp.cpp
===================================================================
--- kdebase/runtime/kquitapp/kquitapp.cpp (版本 674926)
+++ kdebase/runtime/kquitapp/kquitapp.cpp (工作副本)
@@ -16,7 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <QDBusInterface>
+#include <QtDbus/QDBusInterface>
#include <KAboutData>
#include <KCmdLineArgs>
Index: kdebase/apps/konqueror/kttsplugin/khtmlkttsd.cpp
===================================================================
--- kdebase/apps/konqueror/kttsplugin/khtmlkttsd.cpp (版本 674926)
+++ kdebase/apps/konqueror/kttsplugin/khtmlkttsd.cpp (工作副本)
@@ -18,7 +18,7 @@
// Qt
#include <QtCore/QBuffer>
#include <QtCore/QTimer>
-#include <QtDBus>
+#include <QtDBus/QtDBus>
#include <QtGui/QMessageBox>
// KDE
Index: kdebase/apps/keditbookmarks/kbookmarkmerger.cpp
===================================================================
--- kdebase/apps/keditbookmarks/kbookmarkmerger.cpp (版本 674926)
+++ kdebase/apps/keditbookmarks/kbookmarkmerger.cpp (工作副本)
@@ -33,7 +33,7 @@
#include <QtCore/QDir>
-#include <Qt/qdom.h>
+#include <QtXml/qdom.h>
#include <QtCore/QFile>
#ifdef Q_WS_X11
Index: kdebase/apps/konsole/src/XKB.cpp
===================================================================
--- kdebase/apps/konsole/src/XKB.cpp (版本 674926)
+++ kdebase/apps/konsole/src/XKB.cpp (工作副本)
@@ -31,6 +31,7 @@
#include <config-konsole.h>
#if defined(HAVE_XKB)
+#error "have xkb"
#include <X11/Xlib.h>
#define explicit myexplicit
Index: kdebase/apps/konsole/src/CMakeLists.txt
===================================================================
--- kdebase/apps/konsole/src/CMakeLists.txt (版本 674926)
+++ kdebase/apps/konsole/src/CMakeLists.txt (工作副本)
@@ -94,7 +94,6 @@
ZModemDialog.cpp
konsole_wcwidth.cpp
start.cpp
- XKB.cpp
)
@@ -172,7 +171,6 @@
ViewProperties.cpp
ViewSplitter.cpp
Vt102Emulation.cpp
- XKB.cpp
ZModemDialog.cpp
konsole_wcwidth.cpp
)
More information about the kde-core-devel
mailing list