Details
-
Task
-
Resolution: Done
-
P4: Low
-
None
-
None
-
None
Description
If a user copies whole project directory from a pc to another one (for example after reinstall of OS), the .user file is not valid but Qt Creator doesn't notice that.
Symptoms for this include for example Creator not detecting binary to run. No warning of this is given to the user.
Suggested solution:
Qt Creator should create a machine-specific id to all created .user files. This could consist of hostname, username, uid, cpu id, hard disk id, and/or any other information available to detect change of environment.
When loading a .user file Qt Creator should check wheter the machine id matches the current environment. If it doesn't, it should do something sane such as warn user or try to import old .user file and re-create the machine id.