[Qgis-developer] CMake question

Marco Hugentobler marco.hugentobler at karto.baug.ethz.ch
Sun Jan 14 10:12:47 EST 2007


Hi Martin,

Thanks for the hint with the .cmake file. 
Setting QT_QMAKE_EXECUTABLE works for me, but only when I generate a symlink 
called qmake-qt4 pointint to qmake. It seems as cmake is looking for this 
file (which does not exist when building qt from source).

Marco

Am Sonntag, 14. Januar 2007 12:37 schrieben Sie:
> 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