[Eric] eric5 on Mac OS X 10.6.8 - QWidget error
Detlev Offenbach
detlev at die-offenbachs.de
Sat Jan 21 11:31:33 GMT 2012
Hello,
just to inform everybody who might not have realized it. The eric
distributions contains a README file explaining the steps to install
eric4/eric5 on a Mac. Mac OS X is an officially supported platform since
November last year.
The eric install script even generates an application bundle.
Regards,
Detlev
Am Samstag, 21. Januar 2012, 03:52:36 schrieb Ronan Maron:
> Hello,
>
> I installed eric5 on my Mac following this tutorial: http://goo.gl/rDQ89
> When I try to launch eric5, it stops and shows this message:
> "QWidget: Must construct a QApplication before a QPaintDevice"
>
> Here is the shell script for installation:
>
> # beginning of shell script
> # SIP
> ftp
> http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.13.1.tar.gz
> tar -xvzpf sip-4.13.1.tar.gz
> cd sip-4.13.1
> export MACOSX_DEPLOYMENT_TARGET=10.6
> python3.2 configure.py -n --arch=x86_64 -s MacOSX10.6.sdk
> make
> sudo make install
> cd ..
>
> # QScintilla
> ftp
> http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla2/QScintilla-
> gpl-2.6.tar.gz tar -xvzpf QScintilla-gpl-2.6.tar.gz
> cd QScintilla-gpl-2.6
> cd Qt4
> qmake qscintilla.pro -spec macx-g++
> make sudo make install
> cd ../..
>
> # PyQt
> sudo ports install py32-pyqt4
>
> # QScintilla Python bindings
> cd QScintilla-gpl-2.6/Python
> python3.2 configure.py
> make
> sudo make install
> cd ..
> cd ..
>
> # Eric
> ftp
> http://sourceforge.net/projects/eric-ide/files/eric5/stable/5.1.8/eric5-5.1.
> 8.tar.gz/download ftp
> http://sourceforge.net/projects/eric-ide/files/eric5/stable/5.1.8/eric5-i18n
> -fr-5.1.8.tar.gz/download tar -xvzpf eric5-5.1.8.tar.gz
> tar -xvzpf eric5-i18n-fr-5.1.8.tar.gz
> cd eric5-5.1.8
> sudo python3.2 install.py
> sudo python3.2 install-i18n.py
> # end of shell script
>
> I had to use MacPorts to install PyQt. I think the error comes from
> that. But I can't install it from source.
>
> Does anyone know how to run eric5 on Mac OS X 10.6.8?
> Does anyone know how to install PyQt from source?
>
> In advance, thank you.
>
> Ronan
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the Eric
mailing list