2013/3/7 Boudewijn Rempt <span dir="ltr"><<a href="mailto:boud@valdyas.org" target="_blank">boud@valdyas.org</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Erm... I'm looking into Qt5 and KF5 atm, and I was wondering where I could find a FindQt5.cmake module, feeling rather lost.<br></blockquote><div><br></div><div>Hi, I was recently in the same situation than you. It seems you don't need a FindQt5.cmake file.</div>
<div>If you build and install Qt5, the appropiate cmake files will be installed to $prefix/lib/cmake</div><div><br></div><div>So you just have to put this in your CMakeLists.txt file to find it:</div><div><div><br></div>
<div>
find_package(Qt5Core REQUIRED)</div><div>find_package(Qt5Sql REQUIRED)</div><div><br></div><div>And so on, depending on the modules you're using.</div></div><div><br></div><div>If you want more information, read this: <a href="http://www.kdab.com/using-cmake-with-qt-5/">http://www.kdab.com/using-cmake-with-qt-5/</a></div>
<div>It explains quite well how to work with Qt5 and cmake.</div><div><br></div><div>Greetings,</div><div><br></div><div>-- </div><div>Antonio Larrosa</div></div>