@GeorgesS said in Qt5Core dll gets overwritten at compilation:
Hi,
I have a c++ project using qt 5.12.10 and I recently upgraded it so it can work on 64-bits system.
When I get my dll from APP\Qt\qt5.12.10... repository, it works fine but when I compile (release or debug), my qt5core.dll in my project gets overwritten ("modified on" compilation time). Then, when I launch my project, every icons in my mainwindow won't show.
If I replace the qt5core.dll with the one from the APP\Qt\qt5.12.10... repository, my icons are displayed properly.
Does the compilation look for the dll where it shouldnt ? Or is there something in .pro file that overwrites it ?
It only does this for qt5core.
I am using core, network and gui modules.
Compile with QMake, MinGW-64 bits and using windeployqt.
It's a project that I inherited from so I'm not so familiar with it.
Double-check the environment and build settings in your project to ensure that the correct paths to the Qt DLLs are set. Make sure that the directory containing the DLLs from the APP\Qt\qt5.12.10 repository is listed before any other directories in the system PATH variable.