On Tuesday, November 9, 2010 5:27pm, "Stefan" <pys...@damp.homeip.net> said: > > Other than that I get the same error as Dan. Removing the case to call > "int registerTimer(int interval, QObject * object)" I get a little bit > further, but it fails on: > > [ 2%] Building CXX object > PySide/QtCore/CMakeFiles/QtCore.dir/PySide/QtCore/qabstractitemmodel_wrapper.cpp.obj > qabstractitemmodel_wrapper.cpp > E:\dev\qt\pyside\build\pyside\PySide\QtCore\PySide\QtCore\qabstractitemmodel_wrapper.cpp(3394) > : error C2660: 'QAbstractItemModelWrapper::parent' : function does not take 0 > arguments I have figured the essence of this error, at least for my case of QAbstractEventDispatcherWrapper: see below. See http://stackoverflow.com/questions/1835988 for an explanation.
I have been staring at the Linux shiboken files, but don't see how they differ to make this not give the same erroron the Linux build. The test case below fails nicely on both g++ and VC++. ----------------- class C { public: void foo() { } virtual void foo(int a) = 0; }; class CWrapper : C { public: // using C::foo; // Uncommenting this fixes the problem. virtual void foo(int a) { } }; void bar() { CWrapper cw = CWrapper(); cw.foo(); } ----------------- _______________________________________________ PySide mailing list PySide@lists.openbossa.org http://lists.openbossa.org/listinfo/pyside