qtcreator - exe does work fine inside qtcreator but doesn't outside

后端 未结 4 1198
梦毁少年i
梦毁少年i 2020-12-16 07:54

I want to give a friend of mine a release build of a little project. It works perfectly fine when started from inside qtcreator, but doesn\'t open when double-clicked on the

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-16 08:32

    Solved it! All I had to do was to download "libEGL.dll" and put it in the directory where my exe file is located. Of course all the other .dll files from qt were needed, too. But these were explicitly mentioned in an error message. But for the "libEGL.dll" there is not even an error message. The .dll files that were listed in "dependency walker" can be ignored. For my problem this tool didn't really help. It didn't list the libEGL.dll but listed other .dll files which are in fact unused.

提交回复
热议问题