compiling error in HEAD
Harald Fernengel
harry at bnro.de
Sat Sep 8 16:22:49 UTC 2001
Hi,
whoops... looks like my fault. To get it compiled with Qt 3 I moved the Qt
include paths before the kdevelop include paths to prevent linking againt the
qt3stuff. This breaks unfortunately if you don't have Qt 3 installed...
I think the solution for that would rather be to include a "--use-qt2" or
something similar to the configure script which tells it to build and use the
qt3stuff instead of Qt.
Unfortunately I have not much clue about autoconf/automake, is there a nice
way to determine the Qt version?
The quick workaround for Qt 2 users is to change
parts/outputviews/Makefile.am back to the original
INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/util \
-I$(top_srcdir)/lib/qt3stuff \
$(all_includes)
(Just swap the last two lines...)
Harry
> Hi!
>
> Sorry, but after a week offline(I was ill) I tried to compile the HEAD and
> unfortunately there are problems.:-( Maybe someone can check it? I have
> "old" gcc and KDE2.2final.
>
> +++++++++++
> c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/interfaces -I../../lib/util
> -I/opt/kde2//include -I/
> usr/lib/qt2/include -I/usr/X11R6/include -I../../lib/qt3stuff
> -DQT_THREAD_SUPPORT -pthread -O2 -fno-
> exceptions -fno-check-new -Wp,-MD,.deps/makeviewpart.pp -c makeviewpart.cpp
> -fPIC -DPIC -o .libs/ma
> keviewpart.o
> In file included from makewidget.h:18,
> from makeviewpart.cpp:21:
> /usr/lib/qt2/include/qrichtext_p.h:101: parse error before `*'
> /usr/lib/qt2/include/qrichtext_p.h:284: parse error before `*'
> /usr/lib/qt2/include/qrichtext_p.h:287: parse error before `*'
> /usr/lib/qt2/include/qrichtext_p.h:295: ANSI C++ forbids declaration
> `QStyleSheetItem' with no type
> /usr/lib/qt2/include/qrichtext_p.h:295: parse error before `*'
> /usr/lib/qt2/include/qrichtext_p.h:321: invalid use of member
> `QTextParagraph::QStyleSheetItem'
> ++++++++++++++++++++++++++
>
>
> Ciao!
> Sandy
-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop-devel
mailing list