Hi, 2011/12/2 Gabriel Gunderson <[email protected]>: > All, > > I've been working with PySide to build a large application designed to > run on older Windows computers. I am having difficulty with a known > issue in Qt 4.7.4 where the XmlListModel leaks memory badly on reload. > Since it was fixed for 4.8.0, we want to test upgrading ASAP. I > understand that Qt 4.8 is still a release candidate, but the sooner I > get everything adapted, the better. > > I've been trying to compile the latest version of PySide against the > Qt 4.8 release candidate using the documentation found here: > http://developer.qt.nokia.com/wiki/Building_PySide_on_Windows
Yes, this is the preffered way to compile windows package The only difference is to change the path to qmake.exe with build script parameter -q Example: c:\Python27\python.exe build.py -d -q c:\Qt\4.8.0\bin\qmake.exe > > The script successfully compiles the Apiextractor, Generatorrunner and > Shiboken, however during the make process of PySide, I receive an > error: > > > > [ 6%] Building CXX object > PySide/QtCore/CMakeFiles/QtCore.dir/PySide/QtCore/qfile_wrapper.cpp.obj > qfile_wrapper.cpp > C:\Users\User\repositories\setuptools\modules\PySide\build\PySide\QtCore\PySide\QtCore\qfile_wrapper.cpp(1660) > : error C2661: 'QFileWrapper::open' : no overloaded function takes 3 > arguments > NMAKE : fatal error U1077: 'c:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe' : > return code '0x2' > Stop. > NMAKE : fatal error U1077: '"c:\program files (x86)\microsoft visual > studio 9.0\vc\bin\nmake.exe"' : return code '0x2' > Stop. > NMAKE : fatal error U1077: '"c:\program files (x86)\microsoft visual > studio 9.0\vc\bin\nmake.exe"' : return code '0x2' > > > > I tried manually hacking the offending cpp file, but found my changes > were overwritten. (I assume because the piece of code is generated and > not contained in the actual QtCore?) > > If anyone has suggestions on how I can get PySide to compile properly > against Qt 4.8, I would be happy to receive them. Thank you! > I will try to compile the packages against Qt 4.8 and send my results here Regards -Roman > Regards, > Gabe > _______________________________________________ > PySide mailing list > [email protected] > http://lists.pyside.org/listinfo/pyside _______________________________________________ PySide mailing list [email protected] http://lists.pyside.org/listinfo/pyside
