MAC OS X上的PyQt [英] PyQt on MAC OS X
问题描述
我想在Mac OS X 10.2.8下运行并运行PyQt,但
无法获得过去配置sip。
我安装了fink'的qt3-3.2.3-2并重新启动我的shell以获得
qt3'的环境变量QTDIR和QMAKESPEC。
我从
下载了sip-4.1 http://www.river-bank.demon.co.uk ,
解压缩它,运行
python configure.py
并收到此错误:
错误:/ sw / share / qt3 / mkspecs / darwin-g ++ / qmake .conf:宏
''QMAKE_LIBDIR / $(TARGET1)''未定义。
有什么想法吗?
迈克尔
Hi,
I''m trying to get PyQt up and running under Mac OS X 10.2.8, but
can''t get past configuring sip.
I installed fink''s qt3-3.2.3-2 and restarted my shells to get
qt3''s environment variables QTDIR and QMAKESPEC.
I downloaded sip-4.1 from
http://www.river-bank.demon.co.uk,
unpacked it, ran
python configure.py
and got this error:
Error: /sw/share/qt3/mkspecs/darwin-g++/qmake.conf: macro
''QMAKE_LIBDIR/$(TARGET1)'' is not defined.
Any ideas?
Michael
推荐答案
(TARGET1)''未定义。
有什么想法吗?
Michael
(TARGET1)'' is not defined.
Any ideas?
Michael
>
我正在尝试在Mac OS X 10.2.8下启动并运行PyQt,但是
无法通过配置sip。
我安装了fink的qt3-3.2.3-2并重新启动我的shell以获得qt3'的环境变量QTDIR和QMAKESPEC。
我下载了sip- 4.1来自
http://www.river-bank.demon。 co.uk ,
解压缩,运行
python configure.py
并收到此错误:
错误:/sw/share/qt3/mkspecs/darwin-g++/qmake.conf:macro
''QMAKE_LIBDIR /
I''m trying to get PyQt up and running under Mac OS X 10.2.8, but
can''t get past configuring sip.
I installed fink''s qt3-3.2.3-2 and restarted my shells to get
qt3''s environment variables QTDIR and QMAKESPEC.
I downloaded sip-4.1 from
http://www.river-bank.demon.co.uk,
unpacked it, ran
python configure.py
and got this error:
Error: /sw/share/qt3/mkspecs/darwin-g++/qmake.conf: macro
''QMAKE_LIBDIR/
(TARGET1)''未定义。
有什么想法吗?
(TARGET1)'' is not defined.
Any ideas?
Qt的Fink版本没有得到官方支持(原生版本),
虽然有一个用户提供的README.Fink(无论是SIP还是PyQt,
都不记得哪个)。
Phil
The Fink version of Qt isn''t officially supported (the native version is),
although there is a user contributed README.Fink (either with SIP or PyQt,
can''t remember which).
Phil
这篇关于MAC OS X上的PyQt的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!