On Feb 19, 2012, at 7:19 PM, Gary Sherman wrote:

>> Does the resultant file have contents? Like (from PyQt's api file):
>> 
>> PyQt4.QtCore.qInstallMsgHandler?4(callable) -> callable
>> PyQt4.QtCore.qRegisterResourceData?4(int, str, str, str) -> bool
>> PyQt4.QtCore.qUnregisterResourceData?4(int, str, str, str) -> bool
>> 
> Yes, it has contents.

Unfortunately sip is run in three passes (I think) so the file is getting 
overwritten. It only contains the results of the last run. Not sure how to 
manage that since there is one flag setting in CMake.

> 
>> I have gotten empty files before. If yours is OK, then, on the Mac, it goes 
>> in:
>> 
>> /usr/local/Qt4.[7|8]/qsci/api/python/
>> 
>> as per default open source Qt install. For Eric to use the API files
>> they need to be statically linked in by compiling via the Eric API
>> preference dialog (which should automatically compile the APIs in that
>> default directory) [1]. Other options for Eric4's use of the API files
>> are in the Autocompletion and Call Tips dialogs.
>> 
>> Could you post a link to the generated PyQGIS API file? (In case I
>> miserably fail at compiling it again.) Like to test it out.
> 

-gary

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Gary Sherman
GeoApt LLC
  http://geoapt.com
Founder, Quantum GIS
Chair, QGIS PSC
Book:
  http://geospatialdesktop.com
"We work virtually everywhere"
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=









_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to