4/19/2021 0 Comments Onedrive Qt Platform
So, I grabbed the directory in which the dll lived using GetModuleHandleExA and added that directory to the Qt library path at runtime using.Do not forget that many similar questions existed when I asked this one (see e.g.
Onedrive Qt Platform Dll Lived UsingHowever, none of these answers solved my problem. After a long search I found a comment which had been ignored by all users pointing to the missing lib. Now, many months later, the comment has been changed to an answer. However, when I answered this question by msyself I intended to help other people by directly providing the solution. This should not be forgotten and so far my answer helped a lot of people. By the way: The accepted answer within the provided link on top does not solve the problem. Onedrive Qt Platform Windows 7 With QtI am using Qt 5.1.1 with Visual Studio 2012 and developed my Application on Windows 7 with Qt Creator 2.8.1. Application is compiled in Release-mode and can be executed if directly started with Qt Creator. Qt is still not finding the platform plugin windows, where is my mistake. Solved by copying DLL from Qts folder to.MyAppplatformsqwindows.dll. Note: there is no plugins dir in path. ![]() After the app has started and shown the error, libEGL.dll appeared in the dependencies list. ![]() Like magic it works. If the.dll is not there check pluginsplatforms ( with plugins being in the same directory as bin ). Be sure to copy your the qwindows.dll from the same compiler as the one used to release your app. This is the intended way to deploy your application, so you do not miss any libraries (which is the main issue with all of these answers). I used it and it copied everything needed next to the.exe. It removes the guesswork of knowing which dll is needed and which isnt. Qt Widgets Application, then Run and it crashes with the same message. C:QtQt5.6.05.6msvc2015plugins I have Qt (5.6.2) installed in the same location. I learned from this post:, that the Qt5Core.dll has a location to the plugins written to it when Qt is first installed. Since my colleagues and my Qt directories were the same, but different version of Qt were installed, a different qwindows.dll file is needed. Your answer suggests something that the original poster has already tried. Fixed by using your trick (after copying the folder). Thank you. I used windeployqt.exe to set up the Qt dlls, platforms, plugins, etc. After some experimentation, I realized the applications working directory was set to a different folder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |