[Qt-creator] Fwd: Remote debugging - Compiler set

Christian Kandeler christian.kandeler at qt.io
Tue Jul 7 12:21:21 CEST 2020


On Tue, 7 Jul 2020 15:39:33 +0530
Vidhya Arun <svidhyapria at gmail.com> wrote:

> Below is the code used which worked fine with earlier versions:
> 
> ToolChain *tc = new ProjectExplorer::GccToolChain(ProjectExplorer::Constants::C_LANGUAGE_ID);
> ProjectExplorer::ToolChainManager::registerToolChain(tc);
> ProjectExplorer::ToolChainKitAspect::setToolChain(k, tc);
> 
> ToolChain *tcc = new ProjectExplorer::GccToolChain(ProjectExplorer::Constants::CXX_LANGUAGE_ID);
> ProjectExplorer::ToolChainManager::registerToolChain(tcc);
> ProjectExplorer::ToolChainKitAspect::setToolChain(k, tcc);
> 
> Can someone please guide here on the proper interfaces to be used ?

I think you forgot to mention what the problem is exactly. Are you saying this code doesn't work anymore? If so, how exactly?


Christian


More information about the Qt-creator mailing list