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

Quantum GIS qgis at qgis.org
Sat Aug 9 21:48:40 EDT 2008


#1214: Python not loading in Windows QGIS (build from source)
----------------------------------------------------+-----------------------
        Reporter:  smizuno                          |         Owner:  nobody        
            Type:  bug                              |        Status:  reopened      
        Priority:  minor: annoyance or enhancement  |     Milestone:  Version 1.0.0 
       Component:  Build/Install                    |       Version:  HEAD          
      Resolution:                                   |      Keywords:  windows python
Platform_version:                                   |      Platform:  Windows       
        Must_fix:  No                               |   Status_info:  0             
----------------------------------------------------+-----------------------
Changes (by smizuno):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 I am reopening this ticket because r9030 builds the dll as
 liblibqgispython.dll, which won't be loaded unless it is renamed to
 qgispython.dll.

 I neglected to mention that it was MinGW that I was building with, but you
 picked up on it. Thanks.

 I believe the the file should be referenced from qgisapp.cpp by the name
 "libqgispython" rather than "qgispython". This is what I have been doing
 when I build for Windows and Mandriva Linux.

 I don't have have any experience with MSVC building or Macs, so I'm not
 sure whether the name of the library and how it is referenced has any
 problems if the name is libqgispython in those situations.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1214#comment:2>
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