Qt Mobility and Python Bindings
-
I don't know how is the work about QtMobility in PyQt.
There is work in progress in PySide, as you can "read here":http://www.pyside.org/2010/06/api-2-almost-done-qt-mobility-work-begins/ and check the development at "http://qt.gitorious.org/pyside/pyside-mobility":http://qt.gitorious.org/pyside/pyside-mobility
-
can't install pyside-mobility on N900: any indeas?
@
Nokia-N900:/home/user/pyside-mobility# cmake .
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error at /usr/share/cmake-2.6/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_PATH)
Call Stack (most recent call first):
/usr/share/cmake-2.6/Modules/FindPythonLibs.cmake:86 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:38 (find_package)-- Configuring incomplete, errors occurred!
@
-
borunov, you need to install the compilers and python development headers - build-essential and python-dev might be enough.
-
[quote author="borunov" date="1278867632"]
@
Nokia-N900:/home/user/pyside-mobility# cmake .
@[/quote]Wait, did you try to compile directly on N900?
-
To build for N900 (Maemo 5), follow "these instructions":http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK_Installation to setup a development environment.
As bindings for mobility are not finished, probably there is no package for your distro yet. So, if you want to compile, you need you distro's development packages. In the case of Arch Linux, the package group base-devel seems to be what you need (maybe you'll need other packages too).
-
may be there is some misunderstanding.. my target is to get ability write some Python code on N900 with qt mobility libs. as you wrote i have pyside-mobility for that. i suppose i must install pyside-mobility on my maemo5 device. where is my mistake? if is not, how can i install pyside-mobility on N900?
thanx in advance -
You'll be able to use pyside-mobility installing binary packages on N900, but as they are not available yet, you need to build the pyside-mobility libs and doing it directly on the device is not a good idea, that's why I pointed the instructions.
The PySide guys said they are going to release packages for mobility soon, then those packages will be available in Maemo 5 extras-devel repository. You can ask then at #pyside @ freenode for more details =)
PS: PySide packages for other Qt modules are already available.
-
oooold topic, but it's nice to put references for the ones coming from search engines.
Instructions to install PySide Mobility (python bidings for Qt Mobility) on Maemo 5:
"http://developer.qt.nokia.com/wiki/PySideBinariesMaemo":http://developer.qt.nokia.com/wiki/PySideBinariesMaemo