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. Problem when debugging
Qt 6.11 is out! See what's new in the release blog

Problem when debugging

Scheduled Pinned Locked Moved General and Desktop
9 Posts 3 Posters 2.4k 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.
  • A Offline
    A Offline
    agus kussrow
    wrote on last edited by
    #1

    hello im whit a program tha is from a university and have some error like. SerialPort.h: no such file or directory
    the project y about a 6 dof arm with arduino that it's manage by this simulator but y can't run it.

    THANKS A LOT.

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

      Hi and welcome to devnet,

      Do you mean QSerialPort.h ?

      Then you need to add

      @QT += serialport@

      To your pro file

      Hope it helps

      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
      • A Offline
        A Offline
        agus kussrow
        wrote on last edited by
        #3

        hey dude thanks a lot i already put the serialport on the .pro and it continue the problem can i send you a mail with the soft ? thanks a lot

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

          If you want to use QSerialPort you have to include QSerialPort, you are showing an error about SerialPort.h, is it a typo ?

          If not, what version of Qt 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
          • A Offline
            A Offline
            agus kussrow
            wrote on last edited by
            #5

            i included in the .pro file. im using qt creator 5.0.2 on ubuntu

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

              IIRC QSerialPort has been officially included in 5.1, you might have to compile it by hand for 5.0.2

              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
              • A Offline
                A Offline
                agus kussrow
                wrote on last edited by
                #7

                and how i do that in qtcreator 5.0.2 ?

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  koahnig
                  wrote on last edited by
                  #8

                  It is Qt creator 2.7.2 or 2.8.0 at the moment. The version 5.0.2 refers to Qt libs.

                  There is some information on compiling "QtSerialPort in there":http://qt-project.org/wiki/QtSerialPort However, I am not sure how up-to-date that is.

                  If you start to compile you may want to compile the whole Qt libs. You get the "source from download page.":http://download.qt-project.org/official_releases/qt/5.1/5.1.0/single/qt-everywhere-opensource-src-5.1.0.tar.gz

                  Another possibility would be installing the new sdk (Qt5.1.0 and Qt creator 2.7.2) from dowload page.

                  Vote the answer(s) that helped you to solve your issue(s)

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    agus kussrow
                    wrote on last edited by
                    #9

                    thanks i will try that and i tell you :)

                    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