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 with readyread() and QFile
Forum Update on Monday, May 27th 2025

Problem with readyread() and QFile

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 4.5k Views
  • 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.
  • N Offline
    N Offline
    Naouali
    wrote on 5 May 2011, 15:01 last edited by
    #1

    Hi
    is readyread signal of QIODevice implemented in QFile ? it didn't work for me ?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on 5 May 2011, 15:09 last edited by
      #2

      No, just read the documentation about "QFile":http://doc.qt.nokia.com/latest/qfile.html

      bq. Unlike other QIODevice implementations, such as QTcpSocket, QFile does not emit the aboutToClose(), bytesWritten(), or readyRead() signals.

      Best regards,
      Leon

      http://anavi.org/

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Naouali
        wrote on 5 May 2011, 15:17 last edited by
        #3

        Basically i want to read gps infos from /dev/rfcomm0 . is there a way to do that in Qt ?

        1 Reply Last reply
        0
        • L Offline
          L Offline
          leon.anavi
          wrote on 5 May 2011, 15:29 last edited by
          #4

          [quote author="Naouali" date="1304608650"]Basically i want to read gps infos from /dev/rfcomm0 . is there a way to do that in Qt ?[/quote]

          Most probably yes :)

          You can also use "the Location API which is part of Qt Mobility":http://doc.qt.nokia.com/qtmobility-1.1.0/location-overview.html

          http://anavi.org/

          1 Reply Last reply
          0

          3/4

          5 May 2011, 15:17

          • Login

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