Details
-
Suggestion
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
Qt Creator 4.8.0
-
None
-
Windows 10
Mingw 8.1.0
Qt 5.12
QtCreator 4.8.0 but this problem has existed for many versions of QtCreator.
Description
When debugging code, QtCreator tries to load debugging versions of the Qt libraries. For example qtmaind, Qt5Cored, QT5Guid and so on. This assumes I want to debug the Qt libraries as well as my code which I suspect will rarely be the case for most users of Qt. Downloading the debugging versions of these libraries or compiling them locally adds gigabytes to the Qt installation. I have found that if I comment out the line
win32: return($${suffix}d) in ...mkspecs\features\qt_functions.prf I remove all the problems except for -lqtmaind which seems to get added somewhere else that I haven't found yet. This is not a "solution" that could be adopted for everyone obviously but would it not be possible to do something in QtCreator that allows users to debug their code without also having to debug the Qt Library. In nearly 40 years of programming I have never come across a development environment that forces users to debug system libraries as well as their own code.
Best wishes....
Colin Bruce