Hi,

I want to build pyside for windows as there are some fixes that I need
on the Git HEAD (see
http://stackoverflow.com/questions/4013615/how-to-provide-data-from-pyside-qabstractitemmodel-subclass-to-qml-listview),
here is a record of what I have done so far.

Basically everything works until the final step the "pyside" module
build step, I am not sure why this is failing, any help with this
would be great.

Building Pyside
First make sure that you have the following on your system, and make
sure they are part of your system PATH.

python = http://www.python.org/download/releases/2.6/
python libxml2 = http://users.skynet.be/sbi/libxml-python/
qt = http://qt.nokia.com/downloads/windows-cpp-vs2008
iscc = inno SETUP http://www.jrsoftware.org/isdl.php
nmake = C:\Program Files\Visual Studio 9.0\VC\bin
git = http://git-scm.com/download
cmake = http://www.cmake.org/cmake/resources/software.html
create package script:
http://qt.gitorious.org/pyside/packaging/blobs/master/windows/createpackage.js

>From Lacko Roman on how to build:
I installed and compiled binaries with the Qt 4.7 for
VisualStudio2008, NOT Qt SDK. Qt SDK is compiled with MinGW.

Note, that the createpackage.js script must be run from Visual Studio
2008 Command Prompt.

The createpackage.js gets the source from
http://qt.gitorious.org/pyside then compiles, then creates an
installer using INNO setup.

so to run the createpackage.js open a command window and type
>cscript createpackage.js

Progress
The script successfully
1. gets the source from gitorious.org
2. builds, test and installs:
- apiextractor
- generatorrunner
- shiboken

It Fails to build “pyside” with 18 errors:

“Error 1 error PRJ0019: A tool returned an error code from "Running
generator for QtCore..
...
Error 18 error PRJ0019: A tool returned an error code from "Running
generator for QtTest..."

Running the generatorrunner manually with the following command:

C:\Qt\Temp\pyside\PySide\QtCore>C:\Qt\Temp\PySideInstall\bin\generatorrunner --g
eneratorSet=shiboken --enable-parent-ctor-heuristic --enable-pyside-extensions -
-enable-return-value-heuristic C:/Qt/Temp/pyside/build/PySide/global.h --include
-paths=C:/Qt/Temp/pyside/PySide;C:/Qt/4.7.0/include --typesystem-paths=C:/Qt/Tem
p/pyside/PySide; --output-directory=C:/Qt/Temp/pyside/build/PySide/QtCore --lice
nse-file=C:/Qt/Temp/pyside/PySide/QtCore/../licensecomment.txt C:/Qt/Temp/pyside
/PySide/QtCore/typesystem_core.xml --api-version=4.7

Displays the following error:
C:\Qt\Temp\PySideInstall\bin\generatorrunner: Error loading generatorset plugin:
Cannot load library C:/Qt/Temp/PySideInstall/lib/generatorrunner/shiboken_gener
ator: The specified module could not be found.

It looks like it is missing some files in
C:/Qt/Temp/PySideInstall/lib/generatorrunner/

I have uploaded all the generated files in PySideInstall directory as
it has been created on my system here:
http://www.syrris-support.com/Downloads/JMM/PySideInstall.zip

Any suggestions how to get this to work would be great.

Cheers,
Jon.

--
Jonathan Middleton
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to