compiling error in HEAD

Ralf Nolden nolden at kde.org
Sat Sep 8 16:36:10 UTC 2001


On Samstag, 8. September 2001 18:22, you wrote:

Harry, as much as changing configure stuff would work, it doesn't because the 
admin stuff is in /kde-common and counts for all of KDE, not just kdevelop. 
Isn't there a codewise-way to make it compile ? Otherwise I suggest to add a 
Makefile.am.compat which is a copy of the old Makefile.am that the ones can 
use who are sticking with KDE 2.2 as an intermediate solution.

Ralf
> 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«

-- 
We're not a company, we just produce better code at less costs.
--------------------------------------------------------------------
Ralf Nolden
nolden at kde.org

The K Desktop Environment	The KDevelop Project
http://www.kde.org		http://www.kdevelop.org


-
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