www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Error load: QtE5Widgets64.dll

reply frame <frame86 live.com> writes:
I'm Following the instruction by evilrat,
https://forum.dlang.org/post/xljvxkqimdvvbvujczqy forum.dlang.org

but apparently I'm to stupid to run the example.

The application quits with `Error load: QtE5Widgets64.dll` which 
is located next to the EXE-file (also Qt5Core.dll, Qt5Gui.dll and 
Qt5Widgets.dll).

The error is traced back to `Runtime.loadLibrary()` in 
`GetHlib()` in qte5.d but that's it.

Not sure what Windows does at loading the Qt5Core.dll (it looks 
for multiple paths where the DLL is also present but it also 
locks the Qt5Core.dll in the application directory - according 
Process Monitor) but it seems that's the last DLL which is loaded 
before the thread is exited.

Any hints are appreciated.
Aug 29 2021
parent reply Kagamin <spam here.lot> writes:
Maybe you're trying to load a 32-bit library into a 64-bit 
process.
Aug 31 2021
parent frame <frame86 live.com> writes:
On Tuesday, 31 August 2021 at 17:55:33 UTC, Kagamin wrote:
 Maybe you're trying to load a 32-bit library into a 64-bit 
 process.
Hmm, it's precompiled and the 64bit version should be a wrapper but I guess that it just doesn't work yet or needs a 64bit runtime as well. No idea where to get the runtime alone without downloading the whole QT framework... Indeed, the 32bit build works.
Aug 31 2021