Difference between revisions of "User:Inorton/Slicer4:Python"

From NAMIC Wiki
Jump to: navigation, search
(Created page with '==Notes== *If Slicer was built against distro Qt packages then need to install PythonQT as well: <pre>sudo apt-get install python-qt4 python-qt4-dev ==Links== *http://zetcode.c…')
 
Line 1: Line 1:
 
==Notes==
 
==Notes==
*If Slicer was built against distro Qt packages then need to install PythonQT as well:
+
*Uses a CMake-enabled fork of pythonqt.. not sure which version, but it doesn't import as PyQt4. Use:
<pre>sudo apt-get install python-qt4 python-qt4-dev
+
<pre>import PythonQt</pre>
 +
 
  
  
 
==Links==
 
==Links==
 
*http://zetcode.com/tutorials/pyqt4/introduction/
 
*http://zetcode.com/tutorials/pyqt4/introduction/

Revision as of 04:53, 21 October 2010

Notes

  • Uses a CMake-enabled fork of pythonqt.. not sure which version, but it doesn't import as PyQt4. Use:
import PythonQt


Links