What is background build in Qt VS tools

Viewed 277

Relates to Error while using Qt in Visual Studio 2019

I have the same error. Unfortunately I cannot still fix it, as Qt VS Tools for VS 2015 aren't updated. But my question is not how to avoid background build.

My question: what is background build?

1 Answers

Oh, I believe you are running into the 32767 names for this.

Let me preface this by stating that 2015 may have been the last time I used Visual Studio or developed anything for a Microsoft platform.

Part of your answer is in this discussion.

I believe the latest (or more current) name for "background build" is "live code compilation."

This is a resource robbing, highly annoying, syntax checking thing Microsoft thought would be great. It ranks right up there with Microsoft Clippy as far as tragic ideas go.

Basically, as you type, visual studio tries to build your stuff, puts squiggles under errors and generally consumes a whole lot of resources.

If you are using that Qt plug-in to build a QMake project this can cause all kinds of hardship, especially when you have UI files that need to MOC compile and are in the designer modifying the .UI file.

Whatever version of Visual Studio I was forced to use for that project, the first thing I did was find out how to turn that off.

Qt appears to not play well with Visual Studio it seems.

Here is a more complete description if you happen to have the plug-in.

BuildOnSave is an extension for Visual Studio 2019 and 2017 that builds the current solution as soon a file is saved, and in combination with the the extension SaveAllTheTime, enables a live, background build experience while you type.

Related