[kde-freebsd] Call for Help: QT4.5 problems on FreeBSD.
Hannes Hauswedell
list_kde-freebsd at soulrebel.in-berlin.de
Mon Feb 9 01:59:09 CET 2009
Am Samstag, 7. Februar 2009 11:53:30 schrieb Martin Wilke:
> Howdy,
>
> I've started work on QT 4.5 RC1 and I'm almost finished,
> but I've run into some problemes and I need your help.
>
> QT 4.5 now has gtk20 support which means x11-toolkit/qt4-gui
> now depends on gtk20. The build failed with:
On a side-note, without wanting to complain in the least:
Is it desireable to have the Qt-Packages depend on gtk20?
Shouldn't this at least be disabled by default?
Just a thought... don't want to cause anybody extra work...
- Hannes
> http://nopaste.info/16e19abbb9_nl.html
>
>
> I fixed that with set CLFAGS:
>
> CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH \
> CFLAGS="${CFLAGS}"
> MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
> PATH=${WRKSRC}/bin:$$PATH CFLAGS="${CFLAGS}"
>
> CFLAGS+= -I${LOCALBASE}/include/gtk-2.0 -I${LOCALBASE}/include/atk-1.0 \
> -I${LOCALBASE}/include/cairo -I${LOCALBASE}/include/pango-1.0 \
> -I${LOCALBASE}/include/glib-2.0
>
> Build is now fine but all qt4-gui dependency on ports
> fail now with:
>
> http://nopaste.info/efd2d1f63f_nl.html
>
> A dirty workaround is to set:
> ${ECHO_CMD} LIBS += -lgobject-2.0 >> ${WRKSRC}/${PORTNAME}.pro
>
> This fixed the build for qt4-* ports that use gui. But
> qt4* dependency on ports failed with the same error.
> I think the dirty workaround is really bad, what we need here
> a good fix. Also I already tested setting -lgobject-2.0
> to the CFLAGS from qt4-gui but then all ports failed with
>
> /usr/local/lib/qt4/libQtGui.so: undefined reference to
> `QCoreApplicationPrivate::checkReceiverThread(QObject*)
>
> Now, the question is, is this a general problem with QT 4.5
> or a ports problem? Could someone please take a look and give
> us some help?
>
> You can find the patch here:
> http://people.freebsd.org/~miwi/qt4/qt45rc1.diff
>
>
> Note: Please set 'WANT_QT_DEBUG=YES' to your /etc/make.conf.
>
>
> Thanks Martin
More information about the kde-freebsd
mailing list