pcp
[Top] [All Lists]

Re: building kmchart on OSX 10.5

To: nscott@xxxxxxxxxx
Subject: Re: building kmchart on OSX 10.5
From: James Peach <jamespeach@xxxxxxx>
Date: Sun, 15 Jun 2008 15:09:09 -0700
Cc: pcp@xxxxxxxxxxx
In-reply-to: <38895.192.168.3.1.1213420751.squirrel@mail.aconex.com>
References: <0C6D67D2-A53B-4300-8B06-2EA6086FB113@mac.com> <6FE954E2-8003-477C-8F9C-A5240D9E01AB@mac.com> <37995.192.168.3.1.1213416596.squirrel@mail.aconex.com> <E4716A0D-3C64-4F66-8FD2-E3BF32CEC432@mac.com> <38391.192.168.3.1.1213418196.squirrel@mail.aconex.com> <3D043F62-29E3-4D11-AF60-C45FAB2EF09E@mac.com> <38895.192.168.3.1.1213420751.squirrel@mail.aconex.com>
Sender: pcp-bounce@xxxxxxxxxxx
On 13/06/2008, at 10:19 PM, nscott@xxxxxxxxxx wrote:


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.

I found that without specifying the spec, qmake didn't generate a xcode project. I didn't investigate very hard and I know next to nothing about qmake, but adding the spec seemed to help.




+ 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.

Yep it all seems to work. I get floating charts and everything :)


<Prev in Thread] Current Thread [Next in Thread>