Hi all.<div><br></div><div>I have a problem where I pack the necessary stuff from qt into a dependency zip file (.h, .lib, .dll and qmake.exe).</div><div><br></div><div>I have the path to qmake setup, so that qmake can be found.</div>
<div><br></div><div>Then I unpack that to some specified directory and run cmake on my own code.</div><div><br></div><div>My projectgs CMakeLists.txt call FIND_PACKAGE( Qt4 ) which among other things call:</div><div><br></div>
<div>qmake -query QT_INSTALL_LIBS (<br clear="all"><br></div><div>Now this returns with the ORIGINAL build directory, not the new one where qmake actually exists.</div><div><br></div><div>Is there anything one can do to fix this?</div>
<div>I want CMake to use qmake so that it can locate things in relative to where qmake actually is, and not where it was when I built qt.</div><div><br></div><div><br></div><div><br><br>
</div>