>
> So I set QT into release mode by doing this:
>
> diff --git a/GNUmakefile b/GNUmakefile
> index 187f208..fa5be43 100644
> --- a/GNUmakefile
> +++ b/GNUmakefile
> @@ -37,6 +37,8 @@ $(CONFIGURE):
> autoconf
> ./configure \
> --prefix=/usr \
> + QMAKE="/opt/local/bin/qmake -spec macx-xcode" \
You should be able to set QMAKE in the environment, and configure will
pick it up. Also, I think "-spec macx-xcode" is the default, isn't it? I
did
not need that when I build on 10.5, IIRC.
> + QT_RELEASE=Release \
Same for this, set in the environment before running configure & no
patch required.
> $$LOCAL_CONFIGURE_OPTIONS
> touch .census
>
> And kmchart builds and loads, so I'm quite stoked :)
Ah, good stuff. You're running very experimental code there (check out
the floating charts) ... lots to do still, but the basic functionality is
still
there.
> However, the build continues on to build kmdumptext, which fails. I
> make the following change and the whole thing built:
>
> diff --git a/src/dumptext/kmdumptext.pro.in b/src/dumptext/
> kmdumptext.pro.in
> index 8f48b45..3f08596 100644
> --- a/src/dumptext/kmdumptext.pro.in
> +++ b/src/dumptext/kmdumptext.pro.in
> @@ -5,4 +5,4 @@ INCLUDEPATH += ../include ../libqmc @pcp_inc_dir@
> LIBS = -lpcp -L../libqmc -lqmc
> LIBS += -L../libqmc/@qt_release@ -L../libqmc/build/
> @qt_release@
> QT -= gui
> -CONFIG += qt warn_on debug
> +CONFIG += qt
That should be "qt warn_on @qt_release@" like the other project files.
I'll fix
that up, thanks.
cheers.
--
Nathan
|