Bug 470733

Summary: "Unable to find Entry point" in DLLs - crash on launching filelight
Product: [Applications] filelight Reporter: GK <hgkamath>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: martin.sandsmark, qydwhotmail
Priority: NOR    
Version: 23.04.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description GK 2023-06-07 07:02:07 UTC
SUMMARY
Unable to find Entry point" in DLLs - crash on launching filelight
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

This is similar to #469718 of kdeconnect but for filelight. 

STEPS TO REPRODUCE
What I am doing is essentially a portable install.
1. Download 23.0.4.1 win64 installer exe ```filelight-23.04.1-1370-windows-cl-msvc2019-x86_64.7z```
2. do manual extraction using 7zip (I usually don't do windows managed install)
3. open a command prompt
4. cd to location of binary
5. .\filelight.exe  
   note error message in dialog box: 
6. verify that the problem does not happen with ```filelight-23.04.0-1330-windows-cl-msvc2019-x86_64.exe ```

nb. I usually use ```scoop``` to fetch and install to scoop directory, essentially it does the same thing.

I have not checked if it works on normal installation. But even if it does, this method of portable installs should not fail.

LOGS
It gives two near identical error messages in msg popup dialogs and then bails out
first dialog is
```
filelight:exe - Entry Point Not found
Error: The procedure entry point
?accessibleRole@QQuickItemPrivate@@UEBA?AW4Role@QAccessible@@XZ could not be located in the dynamic link library C:\vol\scoop_01\scoopg\apps\filelight\23.04.1-1370\bin\Qt5QuickControls2.dll 
```
followed by
```
filelight:exe - Entry Point Not found
Error: The procedure entry point
?accessibleRole@QQuickItemPrivate@@UEBA?AW4Role@QAccessible@@XZ could not be located in the dynamic link library C:\vol\scoop_01\scoopg\apps\filelight\23.04.1-1370\bin\Qt5QuickTemplates2.dll 
```

WORK AROUND
downgrade: download and use filelight-23.04.0-1330-windows-cl-msvc2019-x86_64.exe  instead

OBSERVED RESULT
crash

EXPECTED RESULT
should not crash 

SOFTWARE/OS VERSIONS
Windows:  win10 22H2 19045.3031
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Fushan Wen 2023-07-10 06:23:32 UTC

*** This bug has been marked as a duplicate of bug 470941 ***
Comment 2 GK 2023-07-10 09:09:00 UTC
Upgraded scoop filelight from
filelight: 23.04.2-1386 -> 23.04.3-1403 (global)

yes,
Confirming that 23.04.3 does indeed start without this issue on win10 from both the startmenu as well as powershell-5.1 terminal. 

Thx.