Hi,
I already tried using the pre-compiled PySide version, but the problem
is that I wat to create a hybrid C++/PySide application and I'm using
the tutorial from http://lynxline.com/superhybrids-part-2-now-qt-pyside/.
The problem appears when I try to run the build.bat on Windows like below:
cd hybridpy
generatorrunner --debug-level=full --no-supress-warnings
--generatorSet=shiboken ../data/global.h
--include-paths=../hybrid;C:/Qt/4.7.2/include/QtCore
--typesystem-paths=../data;C:/Users/tezine/Projetos/Wikios/pyside/typesystem
--output-directory=. ../data/typesystem.xml
I get many errors like these below:
enum 'QMutex::RecursionMode' is specified in typesystem, but not declared
type 'QSettings' is specified in typesystem, but not defined. This
could potentially lead to compilation errors.
type 'QTextStream' is specified in typesystem, but not defined. This
could potentially lead to compilation errors.
enum 'QSystemSemaphore::SystemSemaphoreError' is specified in
typesystem, but not declared
enum 'Qt::ItemDataRole' is specified in typesystem, but not declared
type 'QDir' is specified in typesystem, but not defined. This could
potentially lead to compilation errors.
enum 'QLocale::NumberOption' is specified in typesystem, but not declared
type 'QFactoryInterface' is specified in typesystem, but not defined.
This could potentially lead to compilation errors
enum 'QAbstractFileEngine::FileTime' is specified in typesystem, but
not declared
enum 'Qt::HitTestAccuracy' is specified in typesystem, but not declared
enum 'QThread::Priority' is specified in typesystem, but not declared
type 'QXmlStreamAttributes' is specified in typesystem, but not
defined. This could potentially lead to compilation err
enum 'QMetaMethod::MethodType' is specified in typesystem, but not
declared
enum 'QTextStream::RealNumberNotation' is specified in typesystem, but
not declared
enum 'QProcess::ProcessChannel' is specified in typesystem, but not
declared
enum 'Qt::ShortcutContext' is specified in typesystem, but not declared
enum 'Qt::ScrollBarPolicy' is specified in typesystem, but not declared
enum 'Qt::TransformationMode' is specified in typesystem, but not declared
enum 'QPixmap::HBitmapFormat' is specified in typesystem, but not declared
enum 'Qt::ConnectionType' is specified in typesystem, but not declared
type 'QEvent' is specified in typesystem, but not defined. This could
potentially lead to compilation errors.
enum 'QAbstractAnimation::Direction' is specified in typesystem, but
not declared
enum 'Qt::WidgetAttribute' is specified in typesystem, but not declared
enum 'Qt::TextInteractionFlag' is specified in typesystem, but not
declared
enum 'QState::ChildMode' is specified in typesystem, but not declared
enum 'Qt::FocusPolicy' is specified in typesystem, but not declared
enum 'Qt::SizeMode' is specified in typesystem, but not declared
It seems that generatorrunner doesn't find the Qt headers even setting
the --include-paths=../hybrid;C:/Qt/4.7.2/include/QtCore
How can I solve this?
Thanks/Bruno.
Em 18/07/2011 18:49, Hugo Parente Lima escreveu:
On Monday 18 July 2011 18:39:58 Bruno Tezine wrote:
Hi,
I'm a Python newbie. I'm trying to compile PySide under Windows 7 with
MSVC2008 and Python2.7.
If you are a newbie, better forget about compiling your own version of PySide
and get the pre-compiled version[1].
Regards
[1] http://www.pyside.org/files/
I already compiled ApiExtractor, GeneratorRunner and Shiboken, but
whenever I run 'configure' under CMake Gui tool, I get the messages below:
Can anyone help? I get the same message running from
http://qt.gitorious.org/pyside/packaging script.
Thanks/Bruno.
Using default python: python2.7
CMake Error at C:/Program Files
(x86)/shiboken/lib/cmake/Shiboken-1.0.5/ShibokenConfig.cmake:5 (include):
include called with wrong number of arguments. Include only takes one file.
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
Detected OS: win
CMake Error at CMakeLists.txt:149 (message):
Could not detect Python module installation directory.
Configuring incomplete, errors occurred!
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside