[Interest] Windows: "loadlibrary failed with error 87" on a configuration with a fake video card?

Scott Bloom scott at towel42.com
Fri Mar 18 16:47:12 CET 2022


If there is an error in LoadLibrary, qt will get the error message from the windows system, and then print it out.



-----Original Message-----
From: Interest <interest-bounces at qt-project.org> On Behalf Of Alexander Dyagilev
Sent: Thursday, March 17, 2022 9:20 PM
To: fromqt at tungware.se; interest at qt-project.org
Subject: Re: [Interest] Windows: "loadlibrary failed with error 87" on a configuration with a fake video card?

Yes. But what I meant is that it has to be triggered by Qt somehow.

As a first attempt I asked the user to set QT_OPENGL env var to "software". This did not help. So it's probably not related to OpenGL.

Anyway, thanks to Thiago Macieira, I asked the user to send me the dump file. Let's see. :)


On 3/18/2022 6:52 AM, Henry Skoglund wrote:
> On 2022-03-18 04:41, Thiago Macieira wrote:
>> On Thursday, 17 March 2022 19:50:45 PDT Alexander Dyagilev wrote:
>>> This error message is shown by Windows OS when it's failed to load a
>>> library the process sayed it to load.
>>>
>>> I.e. Qt calls LoadLibrary (directly, or by loading some other modules
>>> which calls it to load another modules they depends on).
>>>
>>> Short googling tells that it's an graphics card driver related issue
>>> (e.g. https://github.com/spyder-ide/spyder/issues/10084).
>>>
>>> But, maybe there is some known work around for this...
>> If you can generate a backtrace from the application at the moment 
>> that dialog
>> is shown, it can help pinpoint what was being loaded and where from. 
>> There are
>> too many LoadLibrary in the source code to guess which one has incorrect
>> parameters.
>>
> Hi, note: it's not certain that the LoadLibrary error is from Qt, for 
> example a similar error:
> "Load Library failed with error 126: The specified module could not be 
> found." was found to be from within the bowels of Windows itself 
> (non-Qt apps also got this error).
> More here about error 126: 
> https://forum.qt.io/topic/132880/qt-creator-error-126-running-on-windows-10-via-rdp
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
_______________________________________________
Interest mailing list
Interest at qt-project.org
https://lists.qt-project.org/listinfo/interest


More information about the Interest mailing list