[Qgis-developer] CMake question

Martin Dobias wonder.sk at gmail.com
Sun Jan 14 06:37:36 EST 2007


Hi Marco,

this should be possible by specifying QT_QMAKE_EXECUTABLE - by
specifying the executable you should be able to change to the other
Qt4 installation - CMake gathers all information from it. To
understand how does it work, see
/usr/share/CMake/Modules/FindQt4.cmake

Martin

On 1/14/07, Marco Hugentobler <marco.hugentobler at karto.baug.ethz.ch> wrote:
> Hi devs,
>
> I really like the cmake build system. As it is quite new for me, I have a
> simple question about it:
> Is it possible to change the qt location with a single -D? It seems possible
> to
> use -DQT_INCLUDE_DIR -DQT_LIBRARY_DIR -DQT_QTCORE_INCLUDE_DIR -DQT_QTCORE_INCLUDE_DIR
> and so on also for xml, qt3support, network and possible more. But it would
> be handy to have only a single variable pointing to the whole qt location
> (like --with-qtdir in autotools). Is there such a variable?
>
> thanks,
> Marco
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
>



More information about the Qgis-developer mailing list