[Qt-creator] Behavior of .pro.shared files in QtCreator 2.8 beta
orgads at gmail.com
Wed Aug 14 14:06:27 CEST 2013
On Thu, Aug 8, 2013 at 2:42 PM, Putze Sven <
mailinglist.Qt-creator at hardcodes.de> wrote:
> 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.
> On 09.07.2013, at 08:01, "Epting, Thomas" <thomas.epting at stryker.com>
> >>> 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
> >> 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
> Qt-creator mailing list
> Qt-creator at qt-project.org
Fix pending <https://codereview.qt-project.org/62987>.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qt-creator