Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions build_and_install
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ for d in "${dirs[@]}" ; do
PYSIDE_BS_CMAKE_FLAGS="-DENABLE_GCC_OPTIMIZATION=On"
fi

if [ $Q_WS_SIMULATOR == "yes" ]; then
PYSIDE_BS_CMAKE_FLAGS=$PYSIDE_BS_CMAKE_FLAGS" -DQ_WS_SIMULATOR=yes"
fi

cd "$d/build"
cmake .. -DCMAKE_INSTALL_PREFIX=$PYSIDESANDBOXPATH \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
Expand Down
10 changes: 8 additions & 2 deletions environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,20 @@ export LD_LIBRARY_PATH=$PYSIDESANDBOXPATH/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$PYSIDESANDBOXPATH/lib/pkgconfig:$PKG_CONFIG_PATH
export DYLD_LIBRARY_PATH=$PYSIDESANDBOXPATH/lib:$DYLD_LIBRARY_PATH

# If you want to use Qt Simulator, uncomment following line and set the
# enviroment variable $QT_SDK_HOME to the directory that contains the Qt
# tools for the Simulator platform (for example $HOME/qtsdk/Simulator/Qt/gcc/bin")

#Q_WS_SIMULATOR="yes"

# If you want to use Qt SDK, uncomment the following line, or set the
# environment variable $QT_SDK_HOME in something like your ~/.profile

#QT_SDK_HOME="$HOME/qtsdk-2010.05"
#QT_SDK_HOME="$HOME/qtsdk/Desktop/Qt/474/gcc"

if [ "$QT_SDK_HOME" != "" ]; then
export PATH=$QT_SDK_HOME/bin:$QT_SDK_HOME/qt/bin:$PATH
export LD_LIBRARY_PATH=$QT_SDK_HOME/lib:$LD_LIBRARY_PATH
export QTDIR=$QT_SDK_HOME/qt:$QTDIR
export QTDIR=$QT_SDK_HOME:$QT_SDK_HOME/qt:$QTDIR
fi