Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-79915

"QFileDialog.getOpenFileName" can't find the correct "Oleaut32.dll" and App crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.12.5
    • None
    • Qt creator 4.10.2 and Qt 5.12.5
    • Windows

    Description

      I have same issue and dont know what need to do. I just started learning Qt so in my form there is nothing but i has button and a toggle event with file dialog:

      const QStringList& fileName = QFileDialog::getOpenFileNames(this, "Open Image File", QDir::currentPath(), tr("All Files (*);;" "Image Files (*.png *.jpg *.jpeg *.gif);;" "PNG(*.png);;" "JPEG(*.jpg *.jpeg);;" "GIF(*.gif);;" "TIFF(*.tif *.tiff);;" "BMP(*.bmp);;" "ICO(*.ico)"));
      

       

      The dialog box opens normally, but if you just wait, you can see how the files are loaded *.dll and then comes out a bunch of errors and the application crashes.

      20:10:24: Отладка запущена
      
      mincore\com\oleaut32\dispatch\ups.cpp(2125)\OLEAUT32.dll!00007FFC8D8F1D23: (caller: 00007FFC8D8F1E9A) ReturnHr(1) tid(3afc) 8002801D Áèáëèîòåêà íå çàðåãèñòðèðîâàíà.
      
      shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!00007FFC8C130A8F: (caller: 00007FFC8C1306DB) ReturnHr(1) tid(395c) 80040154 Êëàññ íå çàðåãèñòðèðîâàí
      
      shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!00007FFC8C13076C: (caller: 00007FFC8C1302FC) LogHr(1) tid(395c) 80040154 Êëàññ íå çàðåãèñòðèðîâàí
      
      Msg:[Creating icon overlay handler from Registry failed. The CLSID is \\\\\\{472083B0-C522-11CF-8763-00608CC02F24}.] shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!00007FFC8C130A8F: (caller: 00007FFC8C1306DB) ReturnHr(2) tid(11a8) 80040154 Êëàññ íå çàðåãèñòðèðîâàí
      
      shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!00007FFC8C13076C: (caller: 00007FFC8C1302FC) LogHr(2) tid(11a8) 80040154 Êëàññ íå çàðåãèñòðèðîâàí
      
      Msg:[Creating icon overlay handler from Registry failed. The CLSID is \\\\\\{472083B0-C522-11CF-8763-00608CC02F24}.] shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!00007FFC8C130A8F: (caller: 00007FFC8C1306DB) ReturnHr(3) tid(3128) 80040154 Êëàññ íå çàðåãèñòðèðîâàí
      
      shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!00007FFC8C13076C: (caller: 00007FFC8C1302FC) LogHr(3) tid(3128) 80040154 Êëàññ íå çàðåãèñòðèðîâàí
      
      Msg:[Creating icon overlay handler from Registry failed. The CLSID is \\\\\\{472083B0-C522-11CF-8763-00608CC02F24}.] shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!00007FFC8C130A8F: (caller: 00007FFC8C1306DB) ReturnHr(4) tid(540) 80040154 Êëàññ íå çàðåãèñòðèðîâàí
      
      shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!00007FFC8C13076C: (caller: 00007FFC8C1302FC) LogHr(4) tid(540) 80040154 Êëàññ íå çàðåãèñòðèðîâàí
      
      Msg:[Creating icon overlay handler from Registry failed. The CLSID is \\\\\\{472083B0-C522-11CF-8763-00608CC02F24}.] Invalid parameter passed to C runtime function.
      
      Invalid parameter passed to C runtime function.
      
      Invalid parameter passed to C runtime function.
      
      Invalid parameter passed to C runtime function.
      

       

      The application is stopped because it has received a signal from the operating system.

      Signal: SIGSEGV
      Purpose: Segmentation fault

       

      OS info:

      • System: Windows 10 Pro
      • Version: 1809
      • Date installed: 31.03.2019
      • Build: 17763.805

       

      Qt installed info:

      Kit selected: Desktop Qt 5.12.5 MinGW 64 bit

      Attachments

        1. installed.png
          installed.png
          68 kB
        2. issue.png
          issue.png
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            dds DDS Sector
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes