Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QSerialPort: No such file or directory
Qt 6.11 is out! See what's new in the release blog

QSerialPort: No such file or directory

Scheduled Pinned Locked Moved Unsolved General and Desktop
18 Posts 4 Posters 3.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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Well, 4.8.7 did not have this module. You either have to build it yourself (and find sources that builds against Qt 4) or consider upgrading to at least Qt 5.

    The Qt 4 series has reached end of life quite a long time ago and should not be used to start new projects.

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

    JonBJ 1 Reply Last reply
    0
    • E Offline
      E Offline
      EdaCelik
      wrote on last edited by
      #5

      Hi,
      i want to ask one more thing. In Qt6 version. Does it have QSerialPort library?

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

        As wrote earlier, since 6.2 so install the latest version and you should be good to go.

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

        E 1 Reply Last reply
        0
        • E Offline
          E Offline
          EdaCelik
          wrote on last edited by
          #7

          i understood you, so i should install qt6 version for ready-made serial port library
          thanks

          1 Reply Last reply
          0
          • SGaistS SGaist

            As wrote earlier, since 6.2 so install the latest version and you should be good to go.

            E Offline
            E Offline
            EdaCelik
            wrote on last edited by
            #8

            @SGaist hi i want to ask one more thing . In Qt6 version it doesn't have Serial port library. How to install it?

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

              How are you installed Qt 6 ?
              Which version are you installing ?

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

              E 1 Reply Last reply
              0
              • SGaistS SGaist

                How are you installed Qt 6 ?
                Which version are you installing ?

                E Offline
                E Offline
                EdaCelik
                wrote on last edited by
                #10

                @SGaist Qt 6.2.4 version. i installed but it doesn't have serial port library

                J.HilkJ 1 Reply Last reply
                0
                • E EdaCelik

                  @SGaist Qt 6.2.4 version. i installed but it doesn't have serial port library

                  J.HilkJ Offline
                  J.HilkJ Offline
                  J.Hilk
                  Moderators
                  wrote on last edited by
                  #11

                  @EdaCelik

                  https://forum.qt.io/topic/138060/uknown-module-s-in-qr-serialport/4


                  Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                  Q: What's that?
                  A: It's blue light.
                  Q: What does it do?
                  A: It turns blue.

                  E 1 Reply Last reply
                  0
                  • J.HilkJ J.Hilk

                    @EdaCelik

                    https://forum.qt.io/topic/138060/uknown-module-s-in-qr-serialport/4

                    E Offline
                    E Offline
                    EdaCelik
                    wrote on last edited by
                    #12

                    @J-Hilk in my windows computer it opens as you put it in the photo. But other device is ubuntu 18.04 . I downloaded it by typing the following command in the terminal.
                    sudo apt-get update
                    sudo apt-get install qt4-dev-tools qt4-qtconfig qt4-demos
                    sudo apt-get install qtcreator
                    when i download it like this it doesn't offer the option as you show. opens directly.
                    how can i do?

                    1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Well, 4.8.7 did not have this module. You either have to build it yourself (and find sources that builds against Qt 4) or consider upgrading to at least Qt 5.

                      The Qt 4 series has reached end of life quite a long time ago and should not be used to start new projects.

                      JonBJ Offline
                      JonBJ Offline
                      JonB
                      wrote on last edited by JonB
                      #13

                      @EdaCelik

                      @SGaist said in QSerialPort: No such file or directory:

                      Well, 4.8.7 did not have this module. You either have to build it yourself (and find sources that builds against Qt 4) or consider upgrading to at least Qt 5.

                      @SGaist already said no serial port is supplied with Qt4. He said if you really want to use Qt4 you would have to build it yourself (i.e. from sources, there won't be any apt ... which gets a pre-built binary.

                      You need first to decide whether you are going to use Qt4 or Qt6 (or even Qt5). You must use the same version on both Windows and Linux.

                      E 1 Reply Last reply
                      0
                      • JonBJ JonB

                        @EdaCelik

                        @SGaist said in QSerialPort: No such file or directory:

                        Well, 4.8.7 did not have this module. You either have to build it yourself (and find sources that builds against Qt 4) or consider upgrading to at least Qt 5.

                        @SGaist already said no serial port is supplied with Qt4. He said if you really want to use Qt4 you would have to build it yourself (i.e. from sources, there won't be any apt ... which gets a pre-built binary.

                        You need first to decide whether you are going to use Qt4 or Qt6 (or even Qt5). You must use the same version on both Windows and Linux.

                        E Offline
                        E Offline
                        EdaCelik
                        wrote on last edited by
                        #14

                        @JonB i decide to use qt4 version on ubuntu. in this version are there ready library?

                        JonBJ 1 Reply Last reply
                        0
                        • E EdaCelik

                          @JonB i decide to use qt4 version on ubuntu. in this version are there ready library?

                          JonBJ Offline
                          JonBJ Offline
                          JonB
                          wrote on last edited by
                          #15

                          @EdaCelik
                          Not a great idea, up to you. You ask whether there is a "ready library" when we now have quoted to you 3 times

                          Well, 4.8.7 did not have this module. You either have to build it yourself (and find sources that builds against Qt 4) or consider upgrading to at least Qt 5.

                          What is unclear? It does not matter how many times you ask the same question the answer remains.

                          E 1 Reply Last reply
                          0
                          • JonBJ JonB

                            @EdaCelik
                            Not a great idea, up to you. You ask whether there is a "ready library" when we now have quoted to you 3 times

                            Well, 4.8.7 did not have this module. You either have to build it yourself (and find sources that builds against Qt 4) or consider upgrading to at least Qt 5.

                            What is unclear? It does not matter how many times you ask the same question the answer remains.

                            E Offline
                            E Offline
                            EdaCelik
                            wrote on last edited by
                            #16

                            @JonB i can't find library for Qt4 and i can't build myself

                            JonBJ 1 Reply Last reply
                            0
                            • E EdaCelik

                              @JonB i can't find library for Qt4 and i can't build myself

                              JonBJ Offline
                              JonBJ Offline
                              JonB
                              wrote on last edited by
                              #17

                              @EdaCelik
                              Then "i decide to use qt4 version on ubuntu" is not a good choice.

                              E 1 Reply Last reply
                              0
                              • JonBJ JonB

                                @EdaCelik
                                Then "i decide to use qt4 version on ubuntu" is not a good choice.

                                E Offline
                                E Offline
                                EdaCelik
                                wrote on last edited by
                                #18

                                @JonB you're right That's why I asked the same question in case there is maybe. thank you all

                                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
                                • Unsolved