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. Help with QFile
Qt 6.11 is out! See what's new in the release blog

Help with QFile

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 5 Posters 2.5k 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.
  • J Offline
    J Offline
    Jeronimo
    wrote on last edited by Jeronimo
    #1

    Hi i was checking to modify the content of one file but show me this error:
    shell\comdlg32\fileopensave.cpp(14247)\comdlg32.dll!77B01E65: (caller: 77B3268C) ReturnHr(1) tid(2114) 80004005 Error no especificado
    CallContext:[\PickerModalLoop]

    What does it mean? I was only creating the file and writing.
    I think is because for this line:
    myfile.setFileName(QFileDialog::getSaveFileName(this,"myfile"));

    Show me this error

    Ni.SumiN 1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Please provide a minimal example so we can try to reproduce this.

      1 Reply Last reply
      2
      • J Jeronimo

        Hi i was checking to modify the content of one file but show me this error:
        shell\comdlg32\fileopensave.cpp(14247)\comdlg32.dll!77B01E65: (caller: 77B3268C) ReturnHr(1) tid(2114) 80004005 Error no especificado
        CallContext:[\PickerModalLoop]

        What does it mean? I was only creating the file and writing.
        I think is because for this line:
        myfile.setFileName(QFileDialog::getSaveFileName(this,"myfile"));

        Show me this error

        Ni.SumiN Offline
        Ni.SumiN Offline
        Ni.Sumi
        wrote on last edited by
        #3

        @Jeronimo said in Help with QFile:

        shell\comdlg32\fileopensave.cpp(14247)\comdlg32.dll!77B01E65: (caller: 77B3268C) ReturnHr(1) tid(2114) 80004005 Error no especificado
        CallContext:[\PickerModalLoop]

        Sounds like this... Whats the Qt version ?
        https://bugreports.qt.io/browse/QTBUG-52618

        J 1 Reply Last reply
        3
        • Ni.SumiN Ni.Sumi

          @Jeronimo said in Help with QFile:

          shell\comdlg32\fileopensave.cpp(14247)\comdlg32.dll!77B01E65: (caller: 77B3268C) ReturnHr(1) tid(2114) 80004005 Error no especificado
          CallContext:[\PickerModalLoop]

          Sounds like this... Whats the Qt version ?
          https://bugreports.qt.io/browse/QTBUG-52618

          J Offline
          J Offline
          Jeronimo
          wrote on last edited by Jeronimo
          #4

          @Ni.Sumi qt 5.7. yeah it's the bug still show me error. I'm using windows 10 so i can sure that this bug still take error.

          And the example:
          ui->textfield->setText(QFileDialog::getOpenFileName(this,"Abrir archivo"));
          }
          And anyways i tried to update code but i still i get this message:
          CallContext:[\PickerModalLoop]

          What does it mean?

          The only solution i think is using windows 7 i think

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

            Hi
            Did you read the bug report?
            They consider it "Out of scope" which means they dont think its a
            Qt thing and no solution exists.

            It should still work. So you can ignore the warnings.

            1 Reply Last reply
            3
            • m.sueM Offline
              m.sueM Offline
              m.sue
              wrote on last edited by
              #6

              Hi,
              FYI: I use Windows 10 (64-bit, version 1607) together with MSVC 2015 (Update 3) and I do not get the warnings when I use the code line
              QFileDialog::getOpenFileName(this, tr("Open Image"), tr("C:/dev"), tr("Image Files (*.png *.jpg *.bmp)"));
              of the bug report. So it should not be a general problem.
              -Michael.

              1 Reply Last reply
              3

              • Login

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