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 4.4.3 not able to list directories and files from shared folder.
QtWS25 Last Chance

Qt 4.4.3 not able to list directories and files from shared folder.

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 3.3k 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.
  • S Offline
    S Offline
    sumitgogna
    wrote on last edited by
    #1

    I am trying to use QDir::entryList() to list files from a shared folder. Path is :

    "//ComputerName/SharedFolder/Target"

    Qt finds the directory but is not able to list the files inside it. With Qt 3.3.4 code was working perfectly fine. I tried entryInfoList() also but same result.

    entryList in Qt4.4.3 works fine for Local Folders but not for shared folders. Any suggestions for getting it work or any work around ?

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZapB
      wrote on last edited by
      #2

      Have you tried it with a newer version of Qt? 4.7.2 for example?

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sumitgogna
        wrote on last edited by
        #3

        No, I have not tried Qt 4.7.2, I have to use only 4.4.3. It's big project and can not just switch over in between. But its really strange, didn't Nokia Testing team did proper testing ???

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          ZapB
          wrote on last edited by
          #4

          I'm not suggesting that you switch over, just that you try a test with a newer version. At least then we know if it is already fixed. If that is the case then you can either upgrade or you can look for the commit that fixed that bug and apply it to 4.4.3.

          Of course Qt is tested, but regressions can and do happen in reality.

          Edit: You can do the test with 4.7.2 using a trivial test harness, no need to build your entire large project against it.

          Edit: please use edit instead of a new post to add to your previous post; Andre

          Nokia Certified Qt Specialist
          Interested in hearing about Qt related work

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andre
            wrote on last edited by
            #5

            Did you search the bugreports to see if this is or was a known bug?

            You might at least try and see if you see the same behavior in a recent Qt version. If so, than you might try to find the patch, and backport it to your version of Qt.

            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