[Qgis-developer] QGIS Canvas API : Hello Word

Michael musset mickamusset at gmail.com
Sat Feb 6 14:45:24 EST 2010


and my ccmake looks like that :

 BINDINGS_GLOBAL_INSTALL
OFF

 BISON_EXECUTABLE
/usr/bin/bison

 EXPAT_INCLUDE_DIR
/usr/include

 EXPAT_LIBRARY
/usr/lib/libexpat.so

 FLEX_EXECUTABLE
/usr/bin/flex

 GDAL_CONFIG
/usr/bin/gdal-config

 GDAL_CONFIG_PREFER_FWTOOLS_PAT
/bin_safe

 GDAL_CONFIG_PREFER_PATH
/bin

 GDAL_INCLUDE_DIR
/usr/include/gdal

 GDAL_LIBRARY                     /usr/lib/libgdal1.5.0.so

 GEOS_CONFIG
/usr/bin/geos-config

 GEOS_CONFIG_PREFER_PATH
/bin

 GEOS_INCLUDE_DIR
/usr/include

 GEOS_LIBRARY
/usr/lib/libgeos_c.so

 GEOS_LIB_NAME_WITH_PREFIX
-lgeos_c

 GRASS_PREFIX

 GSL_CONFIG
/usr/bin/gsl-config

 GSL_CONFIG_PREFER_PATH
/bin

 GSL_EXE_LINKER_FLAGS
-Wl,-rpath,

 PEDANTIC
OFF

 POSTGRESQL_PREFIX

 POSTGRES_CONFIG
/usr/bin/pg_config

 POSTGRES_CONFIG_PREFER_PATH
/bin

 POSTGRES_INCLUDE_DIR
/usr/include/postgresql

 POSTGRES_LIBRARY
/usr/lib/libpq.so

 PROJ_INCLUDE_DIR
/usr/include

 PROJ_LIBRARY
/usr/lib/libproj.so

 PYRCC4_PROGRAM
/usr/bin/pyrcc4

 PYTHON_LIBRARY                   /usr/lib/libpython2.6.so

 PYUIC4_PROGRAM
/usr/bin/pyuic4

 QT_QMAKE_EXECUTABLE
/usr/bin/qmake

 QWT_INCLUDE_DIR
QWT_INCLUDE_DIR-NOTFOUND

 QWT_LIBRARY
QWT_LIBRARY-NOTFOUND

 SVNVERSION                       /usr/bin/svnversion



On Sat, Feb 6, 2010 at 8:11 PM, Michael musset <mickamusset at gmail.com>wrote:

> hey again,
>
>
> well now i'm trying to compile myself qgis with following this tutorial :
> http://linfiniti.com/2009/11/compiling-qgis-under-ubuntu-9-10/
>
>
> when i'm trying to compile qgis 'm getting this error :
>  ImportError: No module named PyQt4.uic.pyuic
>
>
>  but i've already these package : python-qt4 python-qt4-dev pyqt4-dev-tools
>
>
> here is other information :
>
>
>
>
> Traceback (most recent call last):
>   File "/usr/bin/pyuic4", line 3, in ?
>     import PyQt4.uic.pyuic
> ImportError: No module named PyQt4.uic.pyuic
> make[2]: *** [python/plugins/plugin_
> installer/ui_qgsplugininstallerbase.py] Error 1
> make[1]: ***
> [python/plugins/plugin_installer/CMakeFiles/pluginstaller.dir/all] Error 2
> make: *** [all] Error 2
>
> micka at micka-laptop:~/dev/cpp/qgis/build$ whereis python
> python: /usr/bin/python2.6 /usr/bin/python2.5 /usr/bin/python
> /usr/bin/python2.6-dbg-config /usr/bin/python2.4 /usr/bin/python2.4-config
> /usr/bin/python2.6-dbg /usr/bin/python2.6-config /etc/python2.6
> /etc/python2.5 /etc/python /etc/python2.4 /usr/lib/python2.6
> /usr/lib/python3.0 /usr/lib/python2.5 /usr/lib/python2.4
> /usr/local/bin/python /usr/local/bin/python2.4 /usr/local/lib/python2.6
> /usr/local/lib/python2.5 /usr/local/lib/python2.4 /usr/include/python2.6
> /usr/include/python2.5 /usr/include/python2.5_d /usr/include/python2.4
> /usr/include/python2.6_d /usr/share/python /usr/share/man/man1/python.1.gz
>
>
>
>
> micka at micka-laptop:~/dev/cpp/qgis/build$ which python
> /usr/local/bin/python
>
>
>
> what is wrong ? thx for your help ^^ ( ubuntu 9.10 )
>
>
>
>
>
>
> On Sat, Feb 6, 2010 at 7:03 PM, Anne Ghisla <a.ghisla at gmail.com> wrote:
>
>> On Sat, Feb 6, 2010 at 7:57 PM, Michael musset <mickamusset at gmail.com>
>> wrote:
>> > Hi,
>> >
>> > i'm trying to follow this tutorial :
>> > http://blog.qgis.org/node/10
>> >
>> > and when i tape the command cmake .. i'm getting this error :
>> >
>> > CMake Error: The source directory "/home/micka" does not appear to
>> contain
>> > CMakeLists.txt.
>> > Specify --help for usage, or press the help button on the CMake GUI.
>>
>> Hi Michael,
>>
>> the code snippet misses
>>
>> cd build/
>>
>> before running cmake. cmake .. means that CMakeLists.txt will be
>> searched in the parent directory (correct me if wrong).
>>
>> hope this helps and happy hacking :)
>> Anne
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20100206/4d7145a1/attachment-0001.html


More information about the Qgis-developer mailing list