[Eric] eric5 on Mac OS X 10.6.8 - QWidget error

Ronan Maron ronanm2 at gmail.com
Sat Jan 21 13:56:59 GMT 2012


Hi,

I didn't know the order was that important. I finally installed eric5 
with Python 3.2 on Mac OS X 10.6.8.
Where is the application bundle?

Here is a shell script, I don't know where I can share it:
# 1. Install Qt4
# I installed Qt SDK version 1.1.4 for Mac OS X 10.6 or later 64-bit 
http://qt.nokia.com/downloads
# Reinstalling Qt4 may fix some bugs

# 2. Build and install QScintilla2
# Reinstall it even if it's already installed
cd ~
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/Qt4
qmake qscintilla.pro -spec macx-g++
make
sudo make install

# 3. Build and install sip
# Reinstall it even if it's already installed
cd ~
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
python3.2 configure.py --arch x86_64 -s MacOSX10.6.sdk
make
sudo make install

# 4. Build and install PyQt4
cd ~
sudo port install py32-pyqt4

# 5. Build and install QScintilla2 Python bindings
cd ~/QScintilla-gpl-2.6/Python
python3.2 configure.py
make
sudo make install

# 6. Install eric
# You can chose other languages 
http://sourceforge.net/projects/eric-ide/files/eric5/stable/5.1.8/
cd ~
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

# 7. Run eric5
eric5

# 8. Configure eric5

Le 21/01/12 12:31, Detlev Offenbach a écrit :
> 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