Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt Mobility and Python Bindings

Qt Mobility and Python Bindings

Scheduled Pinned Locked Moved Mobile and Embedded
11 Posts 2 Posters 7.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    borunov
    wrote on last edited by
    #1

    Hello!

    Can anybody talk abount Python bindings for QT Mobility? I have Nokia N900 and wanna write some specific code, but can't find this bindings.

    Thanx in advance

    1 Reply Last reply
    0
    • A Offline
      A Offline
      anselmolsm
      wrote on last edited by
      #2

      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

      Anselmo L. S. Melo (anselmolsm)

      1 Reply Last reply
      0
      • B Offline
        B Offline
        borunov
        wrote on last edited by
        #3

        thanx a lot, but, (damn) I can't install pyside-mobility on my Nokia N900 :(

        1 Reply Last reply
        0
        • B Offline
          B Offline
          borunov
          wrote on last edited by
          #4

          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!

          @

          1 Reply Last reply
          0
          • A Offline
            A Offline
            anselmolsm
            wrote on last edited by
            #5

            borunov, you need to install the compilers and python development headers - build-essential and python-dev might be enough.

            Anselmo L. S. Melo (anselmolsm)

            1 Reply Last reply
            0
            • A Offline
              A Offline
              anselmolsm
              wrote on last edited by
              #6

              [quote author="borunov" date="1278867632"]
              @
              Nokia-N900:/home/user/pyside-mobility# cmake .
              @[/quote]

              Wait, did you try to compile directly on N900?

              Anselmo L. S. Melo (anselmolsm)

              1 Reply Last reply
              0
              • B Offline
                B Offline
                borunov
                wrote on last edited by
                #7

                [quote author="anselmolsm" date="1278869725"]
                Wait, did you try to compile directly on N900?[/quote]
                'cause on my Arch Linux not installed qt mobility :(

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  anselmolsm
                  wrote on last edited by
                  #8

                  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).

                  Anselmo L. S. Melo (anselmolsm)

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    borunov
                    wrote on last edited by
                    #9

                    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

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      anselmolsm
                      wrote on last edited by
                      #10

                      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.

                      Anselmo L. S. Melo (anselmolsm)

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        anselmolsm
                        wrote on last edited by
                        #11

                        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

                        Anselmo L. S. Melo (anselmolsm)

                        1 Reply Last reply
                        0

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved