From: Diez B. R. <de...@we...> - 2005-11-08 15:44:29
|
Adrien Bourdet wrote: >>Sorry to hear that. I didn't have these problmes. I currently can't >>remember if and how I build Qt. I checked back on my machine (yesterday >>I was at work, under Linux) - and I found PyQt-mac and sip source dirs, >>so I certainly build those myself. But no Qt-Source (nor package) in >>sight - maybe I got a binary, contrary to my previous posts. >> >>HTH, >> >>Diez > > > I'm supid, I tried with the wrong version of qt. I took the same as my > linux version (3.3.4), and i read later that only 3.3.5 was supported > on tiger. > This night I compiled Qt, SIP and PyQt without troubles... great ! > > Now the installation is ok, I can talk about real problems about pyqt > programming :) > > I have done a little app in pyqt wich works fine on linux. But with > the mac version, my QDialog seams to not have the focus :( All widgets > are paint with a grey color, as if they were disabled, but they work ! > Perhaps i didn't configure my QDialog correctly ? > I haven't my code under my eyes yet, but i remeber the call method : > dlg.show() > dlg.exec_loop() > > Does the parameters of __init__ could be implicated in my problem ? No, you need to run the application as an "aliased applet". That means you need something like the attached setup.py. HTH, Diez |