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. Qt demo app (C++) that talks to a USB device
Forum Updated to NodeBB v4.3 + New Features

Qt demo app (C++) that talks to a USB device

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 7 Posters 2.1k 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.
  • R Offline
    R Offline
    Rahul Samanta
    wrote on last edited by
    #1

    Qt demo app (C++) that talks to a USB device

    raven-worxR aha_1980A 2 Replies Last reply
    0
    • R Rahul Samanta

      Qt demo app (C++) that talks to a USB device

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Rahul-Samanta
      and.... is there any question from your side?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      4
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #3

        http://doc.qt.io/qt-5/qtserialport-examples.html

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        1
        • K Offline
          K Offline
          kuzulis
          Qt Champions 2020
          wrote on last edited by
          #4

          @VRonin said in Qt demo app (C++) that talks to a USB device:

          http://doc.qt.io/qt-5/qtserialport-examples.html

          Nonono, it is not an USB! :)

          VRoninV 1 Reply Last reply
          2
          • K kuzulis

            @VRonin said in Qt demo app (C++) that talks to a USB device:

            http://doc.qt.io/qt-5/qtserialport-examples.html

            Nonono, it is not an USB! :)

            VRoninV Offline
            VRoninV Offline
            VRonin
            wrote on last edited by
            #5

            @kuzulis said in Qt demo app (C++) that talks to a USB device:

            it is not an USB!

            USB = Universal Serial Bus

            "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
            ~Napoleon Bonaparte

            On a crusade to banish setIndexWidget() from the holy land of Qt

            1 Reply Last reply
            2
            • mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by mrjj
              #6

              But i think poster thinks of an USB stick :)

              1 Reply Last reply
              0
              • R Rahul Samanta

                Qt demo app (C++) that talks to a USB device

                aha_1980A Offline
                aha_1980A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Rahul-Samanta

                But i think poster thinks of an USB stick :)

                The only one that can tell us, is the poster.

                So @Rahul-Samanta, what do you really want to achive?

                Qt has to stay free or it will die.

                R 1 Reply Last reply
                1
                • aha_1980A aha_1980

                  @Rahul-Samanta

                  But i think poster thinks of an USB stick :)

                  The only one that can tell us, is the poster.

                  So @Rahul-Samanta, what do you really want to achive?

                  R Offline
                  R Offline
                  Rahul Samanta
                  wrote on last edited by
                  #8

                  @aha_1980 said in Qt demo app (C++) that talks to a USB device:

                  @Rahul-Samanta

                  But i think poster thinks of an USB stick :)

                  The only one that can tell us, is the poster.

                  So @Rahul-Samanta, what do you really want to achive?

                  An application that will show Only (note: not all the system drive)the available PEN Drive / USB Drive. After that wants to open a text file into an edit text from that existing PEN drive /USB drive.

                  jsulmJ 1 Reply Last reply
                  0
                  • R Rahul Samanta

                    @aha_1980 said in Qt demo app (C++) that talks to a USB device:

                    @Rahul-Samanta

                    But i think poster thinks of an USB stick :)

                    The only one that can tell us, is the poster.

                    So @Rahul-Samanta, what do you really want to achive?

                    An application that will show Only (note: not all the system drive)the available PEN Drive / USB Drive. After that wants to open a text file into an edit text from that existing PEN drive /USB drive.

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @Rahul-Samanta Reading files from an USB device works same way as reading files from any other storage (see QFile as I already mentioned in one of your other threads). To list USB devices you will need to use something else as there is nothing in Qt. Forexample libusb.

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    1

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved