diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-03-21 16:54:59 +0100 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-04-11 14:50:13 +0000 |
| commit | a44b5721ea945225fae1b77053a6a38de13065dc (patch) | |
| tree | cf296078d631135c2662acd3ec85a8052405897a /sources/pyside2/doc/codesnippets/examples/dbus/example-client.py | |
| parent | 1db084fbec82be506c0cab865eb9709e37dcd78f (diff) | |
Fix qstandarditemmodel_test.py not finding shiboken on macOS
When running make test inside the build folder of PySide2,
the mentioned test failed because it couldn't find shiboken2.
Make sure to import the module as standalone, so the test
succeeds.
Also make sure to specify the proper python paths, by computing
the paths to shiboken and pysidetest from the pyside build root
path, rather than from pysidetest build path, because on some
CMake implementations it evaluates to an empty path (probably
due to the fact that ${pysidetest_BINARY_DIR} is evaluated
before the pysidetest project is actually added).
Change-Id: Ibe86b0d7c2c66db708bba2ffc32b02e5c3e91c79
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside2/doc/codesnippets/examples/dbus/example-client.py')
0 files changed, 0 insertions, 0 deletions
