Re: Error load: QtE5Widgets64.dll

2021-08-31 Thread frame via Digitalmars-d-learn

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.


Re: Error load: QtE5Widgets64.dll

2021-08-31 Thread Kagamin via Digitalmars-d-learn
Maybe you're trying to load a 32-bit library into a 64-bit 
process.


Error load: QtE5Widgets64.dll

2021-08-29 Thread frame via Digitalmars-d-learn

I'm Following the instruction by evilrat,
https://forum.dlang.org/post/xljvxkqimdvvbvujc...@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.