qt/kde305 patch

Dominik Haumann dhdev at gmx.de
Tue Oct 21 19:42:04 UTC 2003


Hi Iztok,

> This builds kdevelop3 for kde-3.0.5 and qt-3.0.5.
thanks for the patch! but...
I replaced
- (*it).replace("APPNAMEUC", getProjectName().upper());
- (*it).replace("APPNAMELC", getProjectName().lower());
- (*it).replace("APPNAME", getProjectName());
with
+ (*it) = (*it).replace(QRegExp("APPNAMEUC"), getProjectName().upper());
+ (*it) = (*it).replace(QRegExp("APPNAMELC"), getProjectName().lower());
+ (*it) = (*it).replace(QRegExp("APPNAME"), getProjectName());
that should work for kde >= 3.0.x and kde 3.1.x and upcoming 3.2.
Please test, whether you can compile now on kde 3.0.x!
I myself have >= 3.1.3 and CVS head and it works fine.

regarding to [1]

I'm not sure about that: marioS added $(LIB_KUTILS) in revision 1.36.
So this is not (yet) commited...

regards,
Dominik
---
[1]
Index: editors/qeditor/Makefile.am
===================================================================
RCS file: /home/kde/kdevelop/editors/qeditor/Makefile.am,v
retrieving revision 1.38
diff -r1.38 Makefile.am
23c23
< libqeditorpart_la_LIBADD = $(LIB_KPARTS) $(LIB_KFILE) $(LIB_KUTILS) 
-lktexteditor $(top_builddir)/lib/util/libkdevutil.la $(top_builddir)/lib/
interfaces/libkdevinterfaces.la
---
> libqeditorpart_la_LIBADD = $(LIB_KPARTS) $(LIB_KFILE) -lktexteditor 
$(top_builddir)/lib/util/libkdevutil.la $(top_builddir)/lib/interfaces/
libkdevinterfaces.la




More information about the KDevelop-devel mailing list