Posts

Showing posts with the label automated-refactoring

Is there a easy way to protect, or revert Qt source code?

Is there a easy way to protect, or revert Qt source code? I just accidentally refactored QList to QSet, and Qt faithfully did it, to all of its own sources too... (yup, that was dumb!) Thankfully my code is source controlled, I just reverted everything, would it be feasible/sensible to make a git repo for the Qt sources too? (I have the free version so I didn't think I could modify them anyway...?) Is there a hidden setting that will prevent its sources from being modifiable, to stop me from doing this again? I'm currently using the maintenance tool to install a newer version of Qt, but other than update or add/remove, there wasn't a re-install option that I could see, am I missing something? 2 Answers 2 Thankfully my code is source controlled, I just reverted everything, would it be feasible/sensible to make a git repo for the Qt sources too? (I have the free version so I didn't thi...