On Saturday 02 October 2010 14:08:33 Sebastian Wiesner wrote: > Hallo, > > as the topic says, how do I build and install PySide.QtCore only, but > no other Qt modules (especially not QtGui)? I've not found any CMake > variables to configure the list of modules to built. I know, that I > can do "make QtCore" in the build directory, but "make install" > insists on building the complete PySide, and "make install" inside the > "PySide/QtCore" subdirectory leads to an incomplete installation (as > can be expected).
You can disable the modules using the variables: -DDISABLE_QtGui=ON -DDISABLE_QtNetwork=ON etc... > Background is unit testing of a Python library atop of PySide.QtCore. > The test suite of the library is executed in isolated virtualenvs > using tox [1] to control dependencies and be independent of the > system-wide Python installation. Consequently I have to build a fresh > copy of PySide inside the virtualenv before running the actual test > suite. However the complete PySide build takes ages, and I'd like to > reduce build time to the necessary minimum by building QtCore only. > The library needs nothing else from Qt. We use icecc to speed up the compilation, but you will need at least 3 machines to achieve any real gain with icecc. Regards; > I've done this successfully with PyQt4, but haven't yet succeeded with > PySide. > > Thanks in advance > Sebastian Wiesner > > [1] http://codespeak.net/tox > _______________________________________________ > PySide mailing list > [email protected] > http://lists.openbossa.org/listinfo/pyside -- Hugo Parente Lima INdT - Instituto Nokia de Tecnologia
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
