Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2009 06:55:00 +0100
From:      Goran Lowkrantz <glz@hidden-powers.com>
To:        Matt <datahead4@gmail.com>
Cc:        ports@freebsd.org
Subject:   Re: kipi-plugins-kde4 and digikam-kde4 picks up qt3 headers from qt-copy-3.3.8_9
Message-ID:  <0E9117669AA271D6552BE572@[10.255.253.2]>
In-Reply-To: <cd6b4a5b0902181858g5d95d505o715a836ec184a2fe@mail.gmail.com>
References:  <D54AF091E53FD8CF0036D469@10.255.253.2>	 <cd6b4a5b0902181213i3e7b1722u449702247184601d@mail.gmail.com>	 <7B9AE8C10EAD657121175B10@10.255.253.2>	 <cd6b4a5b0902181234t66fb6afav5d25c93b4c061328@mail.gmail.com>	 <3491A5A6F29582366CB947DE@10.255.253.2>	 <cd6b4a5b0902181355k1ba9a466x73c66c4e4be328a@mail.gmail.com>	 <D5F18312C25A71A7B43C2DAC@10.255.253.2> <cd6b4a5b0902181858g5d95d505o715a836ec184a2fe@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Wednesday, February 18, 2009 8:58 PM -0600 Matt <datahead4@gmail.com> 
wrote:

> On Wed, Feb 18, 2009 at 4:34 PM, Goran Lowkrantz <glz@hidden-powers.com>
> wrote:
>> --On Wednesday, February 18, 2009 3:55 PM -0600 Matt
>> <datahead4@gmail.com> wrote:
>>
> [snip]
>
>>>> [  9%] ^[[32mBuilding CXX object
>>>> digikam/CMakeFiles/digikamcore.dir/__/libs/threadimageio/loadsavetask.
>>>> o^M ^[[0mcd
>>>> /var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/dig
>>>> ik am && /usr/bin/c++   -D_GNU_SOURCE -DQT_NO_STL -D
>>>> QT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS
[snip]
>>>>               from /usr/local/include/qwidget.h:45,^M
>>>>               from /usr/local/include/qdesktopwidget.h:40,^M
>>>>
> [snip]
>>
>> Sorry, forgot the configure info:
>> --
>> ------------------------------------------------------------------------
>> ---------- --  digiKam 0.10.0-rc2 dependencies results
>> <http://www.digikam.org>; --
>> --  Qt4 SQL module found................ YES
>> --  libjpeg library found............... YES
>> --  libtiff library found............... YES
>> --  libpng library found................ YES
>> --  libjasper library found............. YES
>> --  liblcms library found............... YES
>> --  libkipi library found............... YES
>> --  libkexiv2 library found............. YES
>> --  libkdcraw library found............. YES
>> --  libgphoto2 library found............ YES
>> --  libkdepimlibs library found......... YES (optional)
>> --  libmarblewidget library found....... YES (optional)
>> --  liblensfun library found............ NO  (optional)
>> --
>> --  digiKam will be compiled without lens auto-correction image editor
>> plugin.
>> --
>> --  digiKam will be compiled............ YES
>> --
>> ------------------------------------------------------------------------
>> ----------
>>
>> /glz
>
> Can you try the attached patch and see how it goes?  It's a simple
> change to the include line for the libs/threadimageio/loadsavetask.cpp
> file that will hopefully help get Qt3 out of the way.  I can't test it
> here since I'm not seeing the problem, but I can confirm that the port
> does build with the patch applied.
>
> Matt

Yes, we get past that one, next fail at
^[[0m[ 13%] ^[[32mBuilding CXX object 
digikam/CMakeFiles/digikamcore.dir/__/libs/widgets/common/histogramwidget.o^M
^[[0mIn file included from /usr/local/include/qpen.h:43,^M
                 from /usr/local/include/qpainter.h:47,^M
                 from 
/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/libs/widgets/common/histogram
widget.cpp:37:^M
/usr/local/include/qshared.h:46: error: function definition does not 
declare parameters^M
In file included from /usr/local/include/qpainter.h:47,^M
                 from 
/var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/libs/widgets/common/histogram
widget.cpp:37:^M
/usr/local/include/qpen.h:47: error: function definition does not declare 
parameters^M
/usr/local/include/qpen.h:95: error: expected initializer before '&' token^M
/usr/local/include/qpen.h:96: error: expected initializer before '&' token^M
In file included from /usr/local/include/qmemarray.h:42,^M
                 from /usr/local/include/qpointarray.h:42,^M

which is fixed by changing to
#include <QPixmap>
#include <QPainter>
#include <QPen>
#include <QEvent>
#include <QTimer>
#include <QColor>
#include <QBrush>
#include <QRect>
#include <QFont>
#include <QFontMetrics>
#include <QToolTip>

but then the next file fails in the same way as the previous files, i.e. 
at3 includes.

Seems like a total switch to Qt4 include names would be in order.

/glz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0E9117669AA271D6552BE572>