Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Unsolved QtSerialPort error when compile for FriendlyARM.

    Mobile and Embedded
    2
    5
    650
    Loading More Posts
    • 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.
    • MhM93
      MhM93 last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • MhM93
          MhM93 last edited by

          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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • MhM93
              MhM93 last edited by

              thanks @SGaist

              H.Ghassami

              1 Reply Last reply Reply Quote 0
              • First post
                Last post