Hi All,<div><br></div><div>I was trying to build the VisIt software package on my Mac OSX 1.5 . This package uses Qt 4.6.1 during its build. I ran into an issue where the QtCore path finds my globally installed version of Qt (4.7) as apposed to the Qt (4.6.1). </div>
<div><br></div><div>While digging around I found that FIND_PATH (code included below) in FindQt4.cmake is pulling information from the system path and assigning this value to the QT_QTCORE_INCLUDE_DIR. This is causing a build failure where the rest of the QT headers are using 4.6.1 and QtCore is using version 4.7. </div>
<div><br></div><div>The value in ${qt_headers} points to the correct 4.6.1 location yet FIND_PATH does not use this parameter. Any ideas? </div><div><br></div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "> _qt4_query_qmake(QT_INSTALL_HEADERS qt_headers)<br>
SET(QT_QTCORE_INCLUDE_DIR NOTFOUND)<br> FIND_PATH(QT_QTCORE_INCLUDE_DIR QtCore<br> HINTS ${qt_headers}<br> ${QT_LIBRARY_DIR}/QtCore.framework/Headers<br> PATH_SUFFIXES QtCore<br>
)</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Thanks,</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Hari</span></div>