My end objective is to develop QGIS plugins using C++ for a Windows 10 target machine, and to use QtCreator as the software development and build environment.
Following https://docs.qgis.org/3.22/en/docs/developers_guide/qtcreator.html I have downloaded/cloned (forked) a copy of the QGIS source code from Git. I want to build the QGIS source using QtCreator on Windows 10 and produce a Windows 10 executable. The above help page shows a linux build environment. When I open my project in QtCreator (by opening the CMakeLists.txt file), QtCreator parses the project directory and gives me 3 errors, the first is that it cannot find the dependency Flex, I have down loaded flex and bison, and have a win_flex.exe and win_bison.exe executables.
I am using QtCreator 7.0.2 and need to know how to tell it where to find flex, and/or where I need to put the win_flex.exe file, or anything else I need to do to get past this problem.