| 207 | | First, this example is based on an Ubuntu linux system that had the following packages installed: |
| 208 | | {{{ |
| 209 | | $ dpkg -l | grep libqt4 |
| 210 | | ii libqt4-assistant 4:4.6.2-0ubuntu5 Qt 4 assistant module |
| 211 | | ii libqt4-dbus 4:4.6.2-0ubuntu5 Qt 4 D-Bus module |
| 212 | | ii libqt4-designer 4:4.6.2-0ubuntu5 Qt 4 designer module |
| 213 | | ii libqt4-dev 4:4.6.2-0ubuntu5 Qt 4 development files |
| 214 | | ii libqt4-help 4:4.6.2-0ubuntu5 Qt 4 help module |
| 215 | | ii libqt4-multimedia 4:4.6.2-0ubuntu5 Qt 4 Multimedia module |
| 216 | | ii libqt4-network 4:4.6.2-0ubuntu5 Qt 4 network module |
| 217 | | ii libqt4-opengl 4:4.6.2-0ubuntu5 Qt 4 OpenGL module |
| 218 | | ii libqt4-opengl-dev 4:4.6.2-0ubuntu5 Qt 4 OpenGL library development files |
| 219 | | ii libqt4-qt3support 4:4.6.2-0ubuntu5 Qt 3 compatibility library for Qt 4 |
| 220 | | ii libqt4-script 4:4.6.2-0ubuntu5 Qt 4 script module |
| 221 | | ii libqt4-scripttools 4:4.6.2-0ubuntu5 Qt 4 script tools module |
| 222 | | ii libqt4-sql 4:4.6.2-0ubuntu5 Qt 4 SQL module |
| 223 | | ii libqt4-sql-mysql 4:4.6.2-0ubuntu5 Qt 4 MySQL database driver |
| 224 | | ii libqt4-sql-sqlite 4:4.6.2-0ubuntu5 Qt 4 SQLite 3 database driver |
| 225 | | ii libqt4-svg 4:4.6.2-0ubuntu5 Qt 4 SVG module |
| 226 | | ii libqt4-test 4:4.6.2-0ubuntu5 Qt 4 test module |
| 227 | | ii libqt4-webkit 4:4.6.2-0ubuntu5 Qt 4 WebKit module |
| 228 | | ii libqt4-xml 4:4.6.2-0ubuntu5 Qt 4 XML module |
| 229 | | ii libqt4-xmlpatterns 4:4.6.2-0ubuntu5 Qt 4 XML patterns module |
| 230 | | $ dpkg -l | grep python-qt |
| 231 | | ii python-qt4 4.7.2-0ubuntu1 Python bindings for Qt4 |
| 232 | | ii python-qt4-dev 4.7.2-0ubuntu1 Development files for PyQt4 |
| 233 | | ii python-qt4-phonon 4.7.2-0ubuntu1 Python bindings for Phonon |
| 234 | | $ dpkg -l | grep qscintilla |
| 235 | | ii libqscintilla2-5 2.4.3-0ubuntu1 The Qt4 port of the Scintilla source code editing widget |
| 236 | | ii libqscintilla2-designer 2.4.3-0ubuntu1 Qt4 Designer plugin for QScintilla 2 |
| 237 | | ii libqscintilla2-dev 2.4.3-0ubuntu1 The Scintilla source code editing widget for Qt4, development fi |
| 238 | | ii libqscintilla2-doc 2.4.3-0ubuntu1 API documentation for QScintilla 2 |
| 239 | | ii python-qscintilla2 2.4.3-0ubuntu1 Python bindings for QScintilla 2 |
| 240 | | }}} |
| 241 | | |
| 242 | | OK, those packages were installed on the system, but some of them were not directly accessible to the Chimera python build. In this case, a solution was to download and build !PyQt4 within the virtual environment, to satisfy dependencies for spyder. (I found it difficult to get the right download version for QScintilla2 to match the libraries installed on my Ubuntu system, but google searches eventually came up with an option.) |
| 243 | | |
| | 207 | This example is based on an Ubuntu linux system that had packages installed for Qt4, PyQt4, and QScintilla2, which are [http://packages.python.org/spyder/installation.html#dependencies dependencies for spyder]. Your system may need these installed, along with their development libraries and headers. Although those packages were installed on the system, they were not directly accessible to the Chimera python build. In my case, a solution was to download and build !PyQt4 within the Chimera virtual environment. |