Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
Qt Creator 2.7.0
Description
If you have several different Qt versions and you are using the "deploy local libs" option in Qt Creator, you can easily get into the situation where you have run an application against a newer Qt build, and then run a different application against an older, incompatible Qt build and get a crash. The reason is that the smart deployer only checks the timestamps of the libraries and the same storage location is used for all Qt versions.
I see two potential fixes for this: Either we somehow identify different Qt builds (e.g. by hashing their paths or something like that) and store them separately on the device, or we use hashes of the libraries to check if they need to be updated instead of timestamps.
I think the former is the better option, since it's probably easier to implement and reduces the number of syncs you have to do when switching between Qt versions.