<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello,<BR>&nbsp;<BR>Using CMake 2.8.10 on Windows 7.<BR>&nbsp;<BR>We have a working project that finds QT liket this:<BR>FIND_PACKAGE(Qt4 4.7.1 COMPONENTS QtCore QtGui)<BR>&nbsp;<BR>Now we would like to update&nbsp;Qt library, so changed it to:<BR>FIND_PACKAGE(Qt4 4.8.4 COMPONENTS QtCore QtGui)<BR>&nbsp;<BR>This however&nbsp;fails because FindQt4.cmake execute "qmake -query QT_INSTALL_LIBS" which returns the path where the Qt library was built. We however store Qt in another location in our development setup. How can is solved this issue without rebuilding the Qt library in the same path as the development setup? <BR>&nbsp;<BR>What is the rational behind querying qmake for the the location of the libs? <BR>&nbsp;<BR>Regards, Lars<BR>                                               </div></body>
</html>