Hello,
I am having some problem with FindQt4.cmake (both in v2.8.11.2 and
v2.8.10.2). I have localised the problem to a find_program call and added
message() calls around this find_program call.
message("--------------------env QTDIR $ENV{QTDIR}")
find_program(QT_QMAKE_EXECUTABLE NAMES ${QMAKE_NAME}
PATHS
ENV QTDIR
"[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\${qt_install_version};InstallDir]"
PATH_SUFFIXES bin
DOC "The qmake executable for the Qt installation to use"
)
message("--------------------QT_QMAKE_EXECUTABLE: ${QT_QMAKE_EXECUTABLE}")
The environment variable QTDIR is set
to F:/TCT/4.7.4-gefed_vc10_exe-win32-msvc++10.0-64bit
The following is printed to the console:
--------------------env QTDIR
F:/TCT/4.7.4-gefed_vc10_exe-win32-msvc++10.0-64bit
--------------------QT_QMAKE_EXECUTABLE:
F:/TCT/4.7.4-gefed_vc10_exe-win32-msvc++10.0-64bit
I would expect the QT_QMAKE_EXECUTABLE to point to
F:/TCT/4.7.4-gefed_vc10_exe-win32-msvc++10.0-64bit/bin/qmake.exe but it
doesn't.
Is this a bug?
Paul
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake