Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Duplicate properties when querying\setting Qmake environment variables
gogfather last edited by
I'm running into the "Could not find mkspecs for your QMAKESPEC..." error when trying to build Qt 4.7.3. Reading the documentation you can use "qmake -set VARNAME VARVALUE" to set these properties. I set them all to the appropriate directories and they seemed to have worked. When I run a "qmake -query", it lists all of my changes as well as the values it had before! When I run qmake in the Qt build, it of course references the old values, not the new ones I set. I only have one version of Qmake in my path and I verified that the QMake versions I set and use in the build are the same. (v2.01a). Here's the "qmake -query" output.
The first set of value are the ones I set, the second set were somehow set by default. Can anybody let me know how to set it properly?