[QGIS-trac] [Quantum GIS] #1214: Python not loading in Windows QGIS (build from source)

Quantum GIS qgis at qgis.org
Thu Aug 7 22:10:31 EDT 2008


#1214: Python not loading in Windows QGIS (build from source)
-----------------------------------------------+----------------------------
   Reporter:  smizuno                          |              Owner:  nobody       
       Type:  bug                              |             Status:  new          
   Priority:  minor: annoyance or enhancement  |          Milestone:  Version 1.0.0
  Component:  Build/Install                    |            Version:  HEAD         
   Keywords:  windows python                   |   Platform_version:               
   Platform:  Windows                          |           Must_fix:  No           
Status_info:  0                                |  
-----------------------------------------------+----------------------------
 For Windows platform, when I build from source the file libqgispython.dll
 is not loaded by QGIS, therefore there is no Python support.

 I have found in src/app/qgisapp.cpp in line 3820 (file is r9003)
 {{{
 QString pythonlibName("qgispython");
 }}}

 If I make the string "libqgispython" then the .dll is loaded and Python
 support is available.

 With Linux the name doesn't seem to matter.

 So, for Windows the name should be "libqgispython" or the file should be
 built as qgispython.dll

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1214>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list