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. QtSerialPort for Beaglebone
Forum Updated to NodeBB v4.3 + New Features

QtSerialPort for Beaglebone

Scheduled Pinned Locked Moved Mobile and Embedded
10 Posts 5 Posters 5.0k Views 1 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.
  • J Offline
    J Offline
    jastmc
    wrote on last edited by
    #1

    Hi,
    Can QtSerialPort be compiled in Ubuntu, to work on a Beaglebone (Arm processor)?

    I downloaded the QtSerialPort and it compiled fine on Ubuntu 13.10 with Qt 4.8.
    I then tried the cross compiler for Arm (which is working for other projects) and I get the following errors:-

    "http://pastebin.com/r6Pm5XeU"

    So, I copied "qelapsedtimer.h" into the following directory :- @/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/qtopia/QtCore@

    When recompiled, this is what I got:-

    "http://pastebin.com/kwLFzHSN"

    I don't know where to go from here, can anyone advise?

    Regards,
    James

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

      Hi,

      Both your link are unknown on pastebin.

      Are you sure the version of Qt you are using with angstrom is at least in the 4 series ?

      Qtopia is an old name that makes me think of the Qt 3 days

      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
      • J Offline
        J Offline
        jastmc
        wrote on last edited by
        #3

        Hi,
        Thanks for the quick reply.

        Sorry, the last quote mark caused the problem. These should work.
        First link:- “http://pastebin.com/r6Pm5XeU
        Second link:- "http://pastebin.com/kwLFzHSN

        The toolchain is from March 2011, which is old. But it claims Qt 4.6.

        angstrom-2011.03-i686-linux-armv7a-linux-gnueabi-toolchain-qte-4.6.3.tar.bz2

        Regards,
        James

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

          QElapsedTimer has been added in Qt 4.7.

          You have to build a more recent version of 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
          • S Offline
            S Offline
            sos1
            wrote on last edited by
            #5

            OK. Where can I find instructions to do that?

            Thanks in advance.
            James

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

              You can start with the "embedded documentation":https://qt-project.org/doc/qt-4.8/qt-embedded-linux.html

              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
              • S Offline
                S Offline
                sos1
                wrote on last edited by
                #7

                Hmmm, looks far too difficult for a newbie!

                Is qtextserialport a good alternative?

                Regards,
                James

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

                  I've also been a newbie to cross-compilation. If you have the time it's worth to try, you'll learn a lot. On the other hand if you'r in a hurry, QextSerialPort should be good.

                  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
                  • K Offline
                    K Offline
                    kuzulis
                    Qt Champions 2020
                    wrote on last edited by
                    #9

                    QElapsedTimer can be replace to QTime class for Qt < 4.7. In the old implementation of QtSerialPort so it was done.

                    QtSerialPort now supports Qt > 4.8.x

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      srikanth.koorma
                      wrote on last edited by
                      #10

                      Can Anyone here confirm me abt QtSerialPort working with ti linaro toolchain in below mentioned link please.
                      http://software-dl.ti.com/sitara_linux/esd/AM335xSDK/latest/index_FDS.html

                      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