Hello all,
The problem has morphed again.
Question: Where should I look for generatorrunner on Win7? Should a pointer to it come back from PySideConfig.cmake?
Details:
From the Qt SDK I had both 4.8.0 and 4.8.1 libs installed and this was causing an issue, so I now have just the 4.8.0 MSVC 2008 environment.
Now the error relates to
@CMake Error at CMakeLists.txt:14 (message):
You need to specify GENERATOR variable (-DGENERATOR=value)@
It seems that generatorrunner is a command that you can run in a linux terminal, but I have no path to it on Win7. I think it should be part of pyside distribution, but I have found no files named generatorrunner on my whole Win7 drive.
The message arises here in the CMakeLists.txt provided with the tutorial.
@
find_program(GENERATOR generatorrunner REQUIRED)
if (NOT GENERATOR)
message(FATAL_ERROR "You need to specify GENERATOR variable (-DGENERATOR=value)")
endif()
@
apt-file search generatorrunner on linux gives
shiboken: /usr/lib/i386-linux-gnu/generatorrunner/shiboken.so
My Win7 build strategy for the binding tutorial is to launch a bare console then run:
@
CALL "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
set QTDIR=C:\QtSDK\Desktop\Qt\4.8.0\msvc2008
set PATH=%QTDIR%\bin;C:\QtSDK\QtCreator\bin;%PATH%
set QMAKESPEC=win32-msvc2008
set BINDFOO=C:\binding-tutorial\
set Shiboken_DIR=.
set PySide_DIR=.
cd %BINDFOO%\libfoo
qmake
nmake
cd %BINDFOO%\foobinding-cmake\build
C:\CMake28\bin\cmake.exe ..
@
Thanks for any suggestions.
Owen