pcp
[Top] [All Lists]

Re: [pcp] PCP on MacOS 10.9 .. which Qt version?

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] PCP on MacOS 10.9 .. which Qt version?
From: Zsolt Ferenczy <zsolt@xxxxxxx>
Date: Fri, 22 Nov 2013 16:50:44 +0000
Accept-language: en-US
Cc: "pcp@xxxxxxxxxxx" <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <2016546004.6971240.1384746955895.JavaMail.root@xxxxxxxxxx>
References: <FEAB29CE-B940-42CA-B7FE-01CF084933C2@xxxxxxx> <7DEFAFDF-F298-4EA7-B85E-611EFBE3C84C@xxxxxxx> <2016546004.6971240.1384746955895.JavaMail.root@xxxxxxxxxx>
Thread-index: AQHO4vZr3q0j0Amt/EWBv7rpA1uFcJootO8AyprZ0Uq1blXbAA==
Thread-topic: [pcp] PCP on MacOS 10.9 .. which Qt version?
On Nov 17, 2013, at 10:55 PM, Nathan Scott <nathans@xxxxxxxxxx> wrote:

> 
> ----- Original Message -----
>> On Nov 16, 2013, at 1:05 PM, Zsolt Ferenczy <zsolt@xxxxxxx> wrote:
>> 
>>> Hi,
>>> 
>>> I have been running PCP on MacOS for quite some time going back to 10.6.
>>> Currently running PCP 3.8.6 and GUI 1.5.11 on 10.9 with Qt 4.8.3. I
>>> realize that version of Qt is a bit old but it has been working fine until
>>> 10.9. The problem I have is monitoring live systems in pmchart, the update
>>> of the chart freezes almost straight away on 10.9.
>>> 
>>> My first question is, what version of Qt is recommended for PCP/Mac these
>>> days? Then, is PCP known to work with 10.9?
> 
> Qt versions from 4.4 onward are expected to work.
> 
>> My bad, Qt 4.8.3 is included with PCP in /Library/PCP/Frameworks. The fact
>> that I happened to have the full 4.8.3 SDK installed is not relevant. Sorry.
>> 
>> The problem under 10.9 is the new power management framework. Need to turn
>> off App Nap for pmtime.app for things to run correctly.
> 
> Oh, that's interesting (and bad news for us).  How ... very wierd.  I don't
> have access to a 10.9 machine, but from searching the webs it looks like we
> might be able to disable this with:
> "defaults write com.sgi.pkg.pcp NSAppSleepDisabled -bool YES"
> or ... hmm, actually more likely:
> "defaults write com.aconex.pkg.pcp-gui NSAppSleepDisabled -bool YES"
> Is that anything like the approach you took?

I simply used Finder, command-I, checked "Prevent App Nap". I am sure that is
doing defaults write under the covers or something similar.

> 
> It may be possible for us to flick that switch by default, via one of the XML
> files that builds the Mac packages - perhaps build/mac/installer-info?  Could
> you try a build (in the git tree, its "./Makepkgs --verbose") and experiment
> with changes in that file?  (I'm just guessing here, but maybe it will work)
> 

Sure, will poke around and see how it can be set by default.

--
Zsolt

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