firebird
firebird copied to clipboard
ANGLE is not work with some Graphic Card(e.g. Intel HD Graphics Family)
we can simply add one line code: "QCoreApplication::setAttribute(Qt::AA_UseDesktopOpenGL);" in main.c to avoid this problem.
this solution only fix the problem for desktop use, I hope someone can add a better solution.
more details please refer to: Strange Behaviour with a Multi-Monitor-Set and OpenGL(https://forum.qt.io/topic/69396/strange-behaviour-with-a-multi-monitor-set-and-opengl/14)
It looks to me like it already tries OpenGL 2.0, so desktop opengl by default. Are all the listed dlls available in the same directory as firebird.exe?
PS: the real error msg is not point ANGLE error when run firebird.exe. it says:" api-ms-win-core-libraryloader-l1-2-0.dll is missing"
That's not good, that dll is part of windows itself. I'm afraid that your installation is apparently broken.
I tried run firebird on several pc, none of them have that dll, only this guy shows "api-ms-win-core-libraryloader-l1-1-0.dll", its version is 1-1-0.
I think maybe it's a bug of ANGLE
I don't think so, can you add the .dll manually to the firebird directory?
yes, I have tried that, manually add dll "api-ms-win-core-libraryloader-l1-2-0.dll" to APP folder, It does not work. so, this issue is not about operation system broken or dll missing, also not about app installation broken, just add "QCoreApplication::setAttribute(Qt::AA_UseDesktopOpenGL);" to main.c can solve this problem.
It does not work.
What happens?
just add "QCoreApplication::setAttribute(Qt::AA_UseDesktopOpenGL);" to main.c can solve this problem.
That is not a solution, it will break on platforms which do not have HW OpenGL.
- I really dont know 'what hapens', this issue takes me several days to find out 'what happens' till I find this article: "Strange Behaviour with a Multi-Monitor-Set and OpenGL"(which I mentioned earlier, it solves my problem).
- Obviously, add '"QCoreApplication::setAttribute(Qt::AA_UseDesktopOpenGL);" will bring cross-platform problems. And I already mentioned this at first thread in this issue, hope some one can use a better way to solve it, because I'm not good at Qt programming.
The model of my laptop is lenovo E420 with two graphic cards, hope you can find a similer one for testing or just close this issue becasue it rarely happen. We should keep this issue here just for someone like me, it help them out.