Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt4 Bluetooth Rfcomm problem I
Qt 6.11 is out! See what's new in the release blog

Qt4 Bluetooth Rfcomm problem I

Scheduled Pinned Locked Moved General and Desktop
16 Posts 3 Posters 9.1k Views 3 Watching
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #6

    For the include part your should use

    @#include <QBluetoothServiceInfo>@

    Did you correctly called "make install" after you have built Qt Mobility ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cmosneang
      wrote on last edited by
      #7

      Hello,

      This are the exact steps I made:
      source /home/claudiu/ti-sdk-am335x-evm-06.00.00.00/linux-devkit/environment-setup
      cd /home/claudiu/qt-mobility-cmosneangs-qt-mobility2
      ./configure -prefix /home/claudiu/qtcreator-2.7.1
      make
      make install
      cd /home/claudiu
      gedit .profile

      I changed dir to the folder where I have uncompressed the qt-mobility and then I run configure to the folder where the qtcreator is located and make and make install.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #8

        Are you cross-compiling it ?

        You should not install Qt Mobility in Qt Creator, it's not its place

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cmosneang
          wrote on last edited by
          #9

          Hello,

          Yes I am writing the application for an ARM Linux Device named Sitara AM335x, I am new to Qt and Linux so where should I install Qt Mobility?

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #10

            Besides your cross-compiled Qt directory. If you have e.g. /usr/local/Trolltech/Qt-Embedded-4.8.6 then install Mobility in /usr/locat/Trolltech/Qt-Mobility-Embedded-4.8.6

            If you are developing/testing on your computer before building for your ARM board, then you must also compile Qt Mobility for your desktop Qt

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • C Offline
              C Offline
              cmosneang
              wrote on last edited by
              #11

              Hello,

              So if I use /home/claudiu/ti-sdk-am335x-evm-06.00.00.00/linux-devkit/ where I have the compilers for my ARM board I should install Qt-mobility there and put the LD_LIBRARY_PATH to point to that folder? Even if QtCreator folder is on /home/claudiu/qtcreator-2.7.1?
              I am not testing on my computer, I am deploying on the board from Qt Creator.
              Thank you.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #12

                Qt Creator is an IDE, it doesn't contain any Qt version to use for developing.

                Like I said the best if to install it in the same folder where you have your Qt ARM version

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • Kamal BadiK Offline
                  Kamal BadiK Offline
                  Kamal Badi
                  wrote on last edited by Kamal Badi
                  #13

                  hello there,
                  i have the same problem with ti-sdk-am335x-evm-06.00.00.00, does it support qt mobility "Location & position"?? because it didn't work with me !! , the new ti-sdk-am335x-evm-08.00.00.00 is support until QT 5.5 but i need to know how to setup this lib with the ti-sdk-am335x-evm-0x.00.00.00 to enable qt creator to deploy my apps in the EVM, what should i do ??
                  thanks in advance ...

                  Dook

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #14

                    Qt Mobility is needed for Qt 4. Qt 5.5 has both Qt Location and Qt Positioning modules

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • Kamal BadiK Offline
                      Kamal BadiK Offline
                      Kamal Badi
                      wrote on last edited by
                      #15

                      hi @SGaist
                      thanks for replying, that mean if i need to use Qt location i must use qt5 rit ?
                      okay sorry but i need to ask this , did the QgeoMap support for offline map work or it just work online with the given servers providers !?

                      Dook

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #16

                        Qt Location is indeed a Qt 5 module.

                        AFAIK, Qt 5 has currently no offline plugin.

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        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