Unsolved How may I supply the qt5 configure script with the path to the C++ compiler I wish to use?
I'd like to use a different path to my C++ compiler, but the configure script doesn't seem to honor the CXX env var. How may I achieve that?
Hi and welcome to devnet,
Which OS are you on ?
Which compiler is that ?
How are you calling configure ?
@SGaist Thanks! I'm on Linux, the compiler is a freshly compiled GCC.
This is how I call configure:
CC='/path/to/gcc' CXX='/path/to/g++' /path/to/configure args. The
makeoutput still shows it using the regular g++.
Edit: I've checked out 5.15.2. I cant post it properly because of the reputation block.
Which version of Qt are you trying to build ?
@SGaist I've checked out 5.15.2. Sorry for the late relpy, I lack the reputation to post faster.
One possible way is to create a custom makspec that makes use of your particular GCC build.
KH-219Design last edited by
Just to build on @SGaist 's remarks, some info regarding what Qt has named