Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt 5.11.2 shared object library header rename fail
LubomirBogdanov last edited by
Just wanted to mention that in the 5.11.2 release if you try to build a .so and a .bin (.exe) project that links to the .so, and if you rename a header in the .so project this WILL affect the .bin project also - it will fail to build.
Whenever you rename a header it is changed everywhere in "includes" (in each source) but one entry with the old file remains - in the Makefile, in the build dir of the binary(or .exe) project.
The solution to this is to delete the build dir of the binary project and let Qt recreate it. Then it works.
So this is not a question, it's more like a how-to.