[Qt-creator] Behavior of .pro.shared files in QtCreator 2.8 beta

Putze Sven mailinglist.Qt-creator at hardcodes.de
Thu Aug 8 13:42:46 CEST 2013


Hi there,

does this problem still exist for the currently available QtCreator 2.8.0 (pre-compiled from https://qt-project.org/downloads)?
Inside a fresh cloned repository with just the .pro and .pro.shared file, QtCreator behaves as if the .pro.shared file would not exist. Couldn't find a filed bug though.

Best.

Sven

On 09.07.2013, at 08:01, "Epting, Thomas" <thomas.epting at stryker.com> wrote:

>>> I already had a look at the code and found nothing wrong about it at 
>>> the first glance. However, even a very simple .pro file (working well 
>>> with QtCreator 2.7) seems to have no effect anymore in QtCreator 2.8 
>>> (built this morning).
> 
>> Addendum: Even if I change the FileVersion number to 14, the settings
>> stored in the .shared file are not transferred to the .user file. (Qt Creator
>> build from 2.8 branch.)
> 
> Since the problem only arises if there is no .user file yet, I did some debugging on this and found that SettingsAccessor::mergeSettings() returns an empty settings map if userSettings was empty before (no matter what sharedSettings contains).
> 
> One potential fix could be to assign sharedSettings to userSettings if the latter is empty in SettingsAccessor::restoreSettings(). Such a behavior was there in restoreSettings() before change 0adde8 from 05 Apr 2013. But I'm unsure whether there are any unwanted side effects with such a change.
> 
> Best regards,
> Thomas
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator




More information about the Qt-creator mailing list