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. How to fix error code code: 0x8001010e when using getSaveFileName

How to fix error code code: 0x8001010e when using getSaveFileName

Scheduled Pinned Locked Moved Unsolved General and Desktop
25 Posts 4 Posters 8.1k 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.
  • joeQJ joeQ

    @jsulm oh, my honor. but how to file a bug to qt team?

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

    @joeQ https://bugreports.qt.io/secure/Dashboard.jspa

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

    1 Reply Last reply
    0
    • joeQJ joeQ

      @11hours

      From this, I think i got into problem same with you before. ok, you can use one macro in your program, use the windows native file dialog under release version, not use native file dialog under debug version.

      void MainWindow::StOpenFile()
      {
          /** ... */
      #ifdef DONT_USE_NATIVE_DIALOG
          QStringList ltFilePath = QFileDialog::getOpenFileNames(this,
                                                                 tr("Open files"),
                                                                 defaultDir,
                                                                 QString(STR_OPEN_FILE),
                                                                 0,
                                                                 QFileDialog::DontUseNativeDialog);
      #else
          QStringList ltFilePath = QFileDialog::getOpenFileNames(this,
                                                                 tr("Open files"),
                                                                 defaultDir,
                                                                 QString(STR_OPEN_FILE));
      #endif
      
      /** ... */
      }
      
      
      1 Offline
      1 Offline
      11hours
      wrote on last edited by
      #22

      thank you @joeQ.
      I'm sure now, the error also happens under release version, cause I tried using VS to compile, and it reported the same error under release version.
      I don't know why QT does not report it.
      I decide ignore the error temporarily.
      thank you guys!

      1 Reply Last reply
      0
      • 1 Offline
        1 Offline
        11hours
        wrote on last edited by
        #23

        although this problem is not solved yet, it seems like another issue in COM technology. I guess, in WINDOWS system, qFileDialog calls FileDialog in WINDOWS API.

        joeQJ 1 Reply Last reply
        0
        • 1 11hours

          although this problem is not solved yet, it seems like another issue in COM technology. I guess, in WINDOWS system, qFileDialog calls FileDialog in WINDOWS API.

          joeQJ Offline
          joeQJ Offline
          joeQ
          wrote on last edited by
          #24

          @11hours did you move your programer to another computer to test it ? win7? or win10? or 64bit Qt etc.

          Just do it!

          1 1 Reply Last reply
          0
          • joeQJ joeQ

            @11hours did you move your programer to another computer to test it ? win7? or win10? or 64bit Qt etc.

            1 Offline
            1 Offline
            11hours
            wrote on last edited by
            #25

            @joeQ sorry, my friend. I was out of the earth without internet yesterday. I have't tried yet. Let me find some other computers.

            1 Reply Last reply
            0
            • B bdieterm referenced this topic on

            • Login

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