Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. Will PySide build with VS2005 x64?
Forum Updated to NodeBB v4.3 + New Features

Will PySide build with VS2005 x64?

Scheduled Pinned Locked Moved Language Bindings
8 Posts 2 Posters 4.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jamesburgess
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      renato.filho
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jamesburgess
        wrote on last edited by
        #3

        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
        1 Reply Last reply
        0
        • J Offline
          J Offline
          jamesburgess
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • R Offline
            R Offline
            renato.filho
            wrote on last edited by
            #5

            try run in verbose mode: ctest -V

            1 Reply Last reply
            0
            • J Offline
              J Offline
              jamesburgess
              wrote on last edited by
              #6

              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@

              1 Reply Last reply
              0
              • R Offline
                R Offline
                renato.filho
                wrote on last edited by
                #7

                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

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  jamesburgess
                  wrote on last edited by
                  #8

                  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
                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved