Will PySide build with VS2005 x64?



  • Before I invest in finding out and letting y'all know has anyone else tried this? vc9 does come with some more modern c++ features than vc8 but does PySide use them I guess is the question.



  • pyside is fully compatible with ISO c++. Then I do no see problems in compiling on VC9 or VC8, but you will nee a Qt compiled with the same compiler as PySide.



  • Well fortunately Qt built without too much trouble (just time). I can now report apiextractor built and ran it's tests completely cleanly with this set up.

    I found the CMake Qt4 package finder wants qmake.exe to be in your path (to find qt) so setting QT_DIR isn't enough.

    Cheers,

    • James


  • Well I may have hit the end of the road. Generatorrunner built cleanly but the test failed with:

    @Performing Post-Build Event...
    Test project D:/data/build/ratnih/src/generatorrunner-0.6.9
    Start 1: dummygentest
    1/1 Test #1: dummygentest .....................***Failed 0.18 sec
    0% tests passed, 1 tests failed out of 1
    Total Test time (real) = 2.50 sec
    The following tests FAILED:
    1 - dummygentest (Failed)
    Errors while running CTest
    @

    Don't know enough yet to know if that is significant reason to stop.



  • try run in verbose mode: ctest -V



  • well -V lead me to the fact the dummy_generator wasn't being loaded. Some looking through the code suggested that using QT_PLUGIN_PATH could be used to find more generators. I added the directory where I found dummy_generator.dll but that didn't help. Then I used a debugger to see where generatorrunner.exe was actually looking for dummy_generator.dll. One place it tried was the tests/test_generator so I copied the dll there and this got me somewhat better results. Still don't know if this is a road block or not.

    @UpdateCTestConfiguration from :D:/data/build/ratnih/src/generatorrunner-0.6.9/tests/test_generator/DartConfiguration.tcl
    UpdateCTestConfiguration from :D:/data/build/ratnih/src/generatorrunner-0.6.9/tests/test_generator/DartConfiguration.tcl
    Test project D:/data/build/ratnih/src/generatorrunner-0.6.9/tests/test_generator
    Constructing a list of tests
    Done constructing a list of tests
    Checking test dependency graph...
    test 1
    Start 1: dummygentest

    1: Test command: D:\data\build\ratnih\src\generatorrunner-0.6.9\tests\test_generator\debug\dummygentest.exe
    1: Test timeout computed to be: 9.99988e+006
    1: ********* Start testing of DummyGenTest *********
    1: Config: Using QTest library 4.7.3, Qt 4.7.3
    1: PASS : DummyGenTest::initTestCase()
    1: Generating class model... [OK]
    1: Fixing class inheritance... [OK]
    1: Detecting inconsistencies in class model... [OK]
    1: Detecting inconsistencies in typesystem... [OK]
    1:
    1: Done, 0 warnings (0 known issues)
    1: PASS : DummyGenTest::testCallGenRunnerWithFullPathToDummyGenModule()
    1: Generating class model... [OK]
    1: Fixing class inheritance... [OK]
    1: Detecting inconsistencies in class model... [OK]
    1: Detecting inconsistencies in typesystem... [OK]
    1:
    1: Done, 0 warnings (0 known issues)
    1: PASS : DummyGenTest::testCallGenRunnerWithNameOfDummyGenModule()
    1: Generating class model... [OK]
    1: Fixing class inheritance... [OK]
    1: Detecting inconsistencies in class model... [OK]
    1: Detecting inconsistencies in typesystem... [OK]
    1:
    1: Done, 0 warnings (0 known issues)
    1: PASS : DummyGenTest::testCallDummyGeneratorExecutable()
    1: FAIL! : DummyGenTest::testProjectFileArgumentsReading() Compared values are not the same
    1: Actual (result): 1
    1: Expected (0): 0
    1: .\dummygentest.cpp(103) : failure location
    1: PASS : DummyGenTest::cleanupTestCase()
    1: Totals: 5 passed, 1 failed, 0 skipped
    1: ********* Finished testing of DummyGenTest *********
    1/1 Test #1: dummygentest .....................***Failed 1.18 sec

    0% tests passed, 1 tests failed out of 1

    Total Test time (real) = 3.57 sec

    The following tests FAILED:
    1 - dummygentest (Failed)
    Errors while running CTest@



  • I think this is some problems with your environment, I do not have windows the I can not test this but you can use this script to get you PySide compiled.

    http://developer.qt.nokia.com/wiki/Building_PySide_on_Windows



  • Hi,
    The problem was this line in dummgentest-project.txt.in
    @output-directory = /tmp/output@
    on windows this is likely going to fail. How about ./tmp-output?

    I had to use a debugger to trace to see what files generatorrunner was opening.

    The tests all pass on Visual Studio Pro 2005 x64

    Thanks for the help,

    • James

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.