Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I don't have any MacOS experience but assuming it's similar to any *nix, let's go:</p> <p>About the script: Isn't it missing some "make, make install" commands? The version you posted just run cmake to <strong>configure</strong> the build. Also for testing, I set -DCMAKE_INSTALL_PREFIX= for all modules. That way everything is installed in the same place and CMake takes care of finding them for me, as long as I used the same install prefix for each one. The directory layout in your script is quite complicated and mixes build and source directories.</p> <p>About finding PySide: once everything is properly compiled and installed, the directory where the "PySide" directory was installed must be available in the PYTHONPATH variable. In the example below, </p> <p>Here's a simple version of a build script(works on Ubuntu):</p> <pre><code>#!/bin/bash BUILD_ROOT=/tmp/pyside-build INSTALL_PREFIX=/tmp/sandbox function build_module { cd $BUILD_ROOT echo Cloning project $1 from url $2 git clone --depth 1 $2 $BUILD_ROOT/$1 BUILD_DIR=$BUILD_ROOT/$1/build mkdir -p $BUILD_DIR cd $BUILD_DIR echo Configuring $1 build. cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX .. echo Configured $1. Starting build. make LD_LIBRARY_PATH=$INSTALL_PREFIX/lib echo Built $1. Installing. make install echo Successfully built and installed $1 } rm -rf $BUILD_ROOT mkdir -p $BUILD_ROOT build_module apiextractor git://gitorious.org/pyside/apiextractor.git build_module generatorrunner git://gitorious.org/pyside/generatorrunner.git build_module shiboken git://gitorious.org/pyside/shiboken.git build_module pyside-shiboken git://gitorious.org/pyside/pyside-shiboken.git </code></pre> <p>Run it and wait a while (Qt is quite big). :)</p> <p>This script will download all packages into /tmp/pyside-build, build each one in its own "build" directory and install everything into /tmp/sandbox. Then, I just had to set PYTHONPATH to /tmp/sandbox/lib/python2.6/site-packages and PySide worked fine.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload