Duplicate properties when querying\setting Qmake environment variables
-
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.
QMAKE_MKSPECS:C:\global_online\Qt\4.7.3\mkspecs
QMAKE_VERSION:2.01a
QT_INSTALL_BINS:C:\global_online\Qt\4.7.3\bin
QT_INSTALL_CONFIGURATION:C:\global_online\Qt\4.7.3
QT_INSTALL_DATA:C:\global_online\Qt\4.7.3
QT_INSTALL_DEMOS:C:\global_online\Qt\4.7.3\demos
QT_INSTALL_DOCS:C:\global_online\Qt\4.7.3\doc
QT_INSTALL_EXAMPLES:C:\global_online\Qt\4.7.3\examples
QT_INSTALL_HEADERS:C:\global_online\Qt\4.7.3\include
QT_INSTALL_IMPORTS:C:\global_online\Qt\4.7.3\imports
QT_INSTALL_LIBS:C:\global_online\Qt\4.7.3\lib
QT_INSTALL_PLUGINS:C:\global_online\Qt\4.7.3\plugins
QT_INSTALL_PREFIX:C:\global_online\Qt\4.7.3
QT_INSTALL_TRANSLATIONS:C:\global_online\Qt\4.7.3\translations
QT_VERSION:4.7.3
QT_INSTALL_PREFIX:E:\p4\Qt\4.7.3
QT_INSTALL_DATA:E:\p4\Qt\4.7.3
QT_INSTALL_DOCS:E:\p4\Qt\4.7.3\doc
QT_INSTALL_HEADERS:E:\p4\Qt\4.7.3\include
QT_INSTALL_LIBS:E:\p4\Qt\4.7.3\lib
QT_INSTALL_BINS:E:\p4\Qt\4.7.3\bin
QT_INSTALL_PLUGINS:E:\p4\Qt\4.7.3\plugins
QT_INSTALL_IMPORTS:E:\p4\Qt\4.7.3\imports
QT_INSTALL_TRANSLATIONS:E:\p4\Qt\4.7.3\translations
QT_INSTALL_CONFIGURATION:E:/p4/Qt/4.7.3
QT_INSTALL_EXAMPLES:E:\p4\Qt\4.7.3\examples
QT_INSTALL_DEMOS:E:\p4\Qt\4.7.3\demos
QMAKE_MKSPECS:E:\p4\Qt\4.7.3\mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.7.3The 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?