Solved My Qt creator broke ?
-
Kits setting look correct.
I would like check that your Qt headers haven't been modified by replace etc ...
v5.11.2 code
QMainWindow.h:
http://code.qt.io/cgit/qt/qtbase.git/tree/src/widgets/widgets/qmainwindow.h?h=v5.11.2QWidget.h:
http://code.qt.io/cgit/qt/qtbase.git/tree/src/widgets/kernel/qwidget.h?h=v5.11.2QObject.h:
http://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/kernel/qobject.h?h=v5.11.2 -
Well it seems like some files have been modified, is there a way to get them back without re-downloading everything ?
It seems like i just need the includes files, at least i want to try with that before anything else.
-
@reonZ well, you could pick rhe files from a source download like http://download.qt.io/official_releases/qt/5.11/5.11.2/single/qt-everywhere-src-5.11.2.zip
but probably its easier to remove + reinstall Qt 5.11.2 with the online installer/maintenance tool
As for the damage: Did you do a Rename Usages before that could have effected the Qt headers?
-
I believe that i must have done a rename that modified a bunch of source files, i would never have imagined that the source files could be modified like that from inside the editor itself, how come is that even possible ? why are they not read only or just protected ?
-
@reonZ , I'm glad that the problem seems to be solved.
In this case, it may be difficult to make the read-only installed file at the usability of the Qt Maintenance Tool.
In my case, I will press F1 before opening the library code, I open help documents and check the API :) -
@KazuoAsano Yeah at least now i am fine with re-installing everything, because i know what the problem was and how to avoid it in the future.
Also doing so i realized that there was a 5.12 version which makes it "convenient" to change now.
-
Hi @reonZ,
I'm glad you fixed it. Nevertheless, your suggestion to make the files read-only is very good.
I created QTBUG-72766 to track that.
Regards
-
@aha_1980
i have done it twice ... Until i learned to always check affected files. ;) -
@mrjj Then please vote for the bug :)
-
@aha_1980 I voted