On Sunday 31 October 2010 12:11:40 Renato Araujo Oliveira Filho wrote:
> Hi Algis :D
>
>
> The pyside-uic is part of pyside-tools packages you can get the
source
> from PySide download page[1], or from gitorious[2], or installing
the
> pyside-tools packages[3].
>
>
> [1]http://developer.qt.nokia.com/wiki/PySideDownloads/
> [2]http://qt.gitorious.org/pyside/pyside-tools
> [3]http://developer.qt.nokia.com/wiki/PySideBinariesLinux
>
>
> BR
>
Renato,
To make the pyside-tools procedure similar to other packages,
and following your kindly given advice, I downloaded the
pyside-tools source with the command
git clone git://qt.gitorious.org/pyside/pyside-tool.git
Then adjusted the "build_all" script to "build_pyside-tools"
script as follows:
**********************
#!/usr/bin/env bash
#build_pyside-tools.sh
alldirs=("pyside-tools")
if [ $# == 0 ] ; then
dirs=("${alldi...@]}")
else
dirs=("$@")
fi
for d in "${di...@]}" ; do
rm -rf "$d/build"
mkdir -p "$d/build"
(cd "$d/build"
cmake .. && make -j4 && sudo make install || exit 1
) # exit from "$d/build"
done
**********************
Running it gave me the following messages:
===================
a...@supremo:/dat/sandbox$ ./build_pyside-tools.sh
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PythonInterp: /usr/bin/python2.6
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
CMake Error at CMakeLists.txt:7 (find_package):
Could not find module FindPySide.cmake or a configuration file for
package
PySide.
Adjust CMAKE_MODULE_PATH to find FindPySide.cmake or set PySide_DIR
to the
directory containing a CMake configuration file for PySide. The file
will
have one of the following names:
PySideConfig.cmake
pyside-config.cmake
-- Configuring incomplete, errors occurred!
a...@supremo:/dat/sandbox$
===================
Now my search, using "find" command, reveals that PySideConfig.cmake
is in the
/dat/sandbox/pyside/libpyside/
directory. pyside-config.cmake and FindPySide.cmake do not exist.
So I am instructed to "set PySide_DIR to the
/dat/sandbox/pyside/libpyside/"
So what is the command to set PySide_DIR
to/dat/sandbox/pyside/libpyside/ ?
That and/or any other instruction would be appreciated.
Gratefully,
OldAl.
> --
> Renato Araujo Oliveira Filho
> Instituto Nokia de Tecnologia - INdT
> Mobile: +55 (81) 8704-2144
>
--
Algis Kabaila
http://akabaila.pcug.org.au/
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside