Re: [Qt-creator] MakeStep

2023-08-21 Thread Christian Kandeler via Qt-creator

On 8/11/23 14:30, Knut Petter Svendsen via Qt-creator wrote:

In my custom plugin, I've crafted a class, lets call it MyMakeStep which
inherits from ProjectExplorer::MakeStep. This class requires specific
settings from MySettings, a class that derives from Core::PagedSettings.
However, I'm encountering challenges when attempting to inject or retrieve
these settings within MyMakeStep. The construction of MakeStep instances
is managed by a factory which regrettably doesn't accept any arguments.


I think you need to provide your own factory.


Christian

--
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator


Re: [Qt-creator] Code model / static analyzer with changed working copies incorrect

2023-08-21 Thread Wiebe Cazemier via Qt-creator
- Original Message -
> From: "Wiebe Cazemier" 
> To: "apoenitz" 
> Cc: qt-creator@qt-project.org
> Sent: Monday, 14 August, 2023 20:32:49
> Subject: Re: [Qt-creator] Code model / static analyzer with changed working 
> copies incorrect
>> 
>> Out of curiosity: Is this with 'clangd' enabled, and does this change if
>> you temporarily disable it?
>> 
>> Andre'
> 
> Ah, yes, if I disable clangd, it works better in that regard.
> 
> I haven't looked into how clangd is fed, but it looks to me like it's more
> complex than just giving it the directory where the source code is, because it
> IS able to analyze the unsaved file you're looking at. So, is it possible to
> feed it all working copies of open files?
> 
> Wiebe

Hi André,

Did you ever get my e-mail? I got a delayed response from t-online.de. Their 
mail servers only allow mail from large corporate mail servers ("As mentioned, 
we only allow evidently commercial or similar operators to
connect to our mailservers."), so I can't mail you. I hope it works through the 
mailing list.
-- 
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator