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 error when compile for FriendlyARM.
Forum Updated to NodeBB v4.3 + New Features

QtSerialPort error when compile for FriendlyARM.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 915 Views 2 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.
  • MhM93M Offline
    MhM93M Offline
    MhM93
    wrote on last edited by
    #1

    Hi. I want to use qtserialport in my project to read data from RFID module to read card data. when I compile my app in desktop,all of things worked, but when I changed the compiler for friendly arm ( tiny6410) the qt display this error : error: QtSerialPort/QSerialPortInfo: No such file or directory. how can I add qtserialport libs to friendlyARM?

    H.Ghassami

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

      Hi,

      Did you cross-compile Qt ? What version are you using ?

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

        yes, I used qt-4.8.3 and arm-linux-gcc 4.5.1. these version of qt are in my board CD. (my board is tiny6410) and I crosscompile QT. all my project worked, but when I want to work with serial port it does not work. serial port work for desktop,but not recognized for ARM

        H.Ghassami

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

          Qt 4 doesn't have the QtSerialPort module, it was created later. What you can do is clone the module from code.qt.io, checkout the qt4-dev branch and build it using your Qt 4.8.3

          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
          • MhM93M Offline
            MhM93M Offline
            MhM93
            wrote on last edited by
            #5

            thanks @SGaist

            H.Ghassami

            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