Hi Marco,<br><br>thanks for replying... It was able to find SIP and PyQt. But it is not able to find core.lib, gui.lib from Python/QGIS directory. How do we build these files? Where is source code to build these files ? These files are available with default Quantam GIS Installation Setup. I want to build them so that they are compatible with Python 27. I am not able to find any documentation about these files. <br>
<br>thanks in advance,<br>Afzal<br><br><div class="gmail_quote">On Thu, Mar 24, 2011 at 2:14 PM, Marco Bernasocchi <span dir="ltr"><<a href="mailto:marco@bernawebdesign.ch">marco@bernawebdesign.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I had the same issue, try sip 4.10.5 and PyQt 4.7.4 and it should work,<br>
there are some problems with kde backports versions.<br>
As well, i'd be nicer to sign your message with a name... ;)<br>
ciao<br>
Marco<br>
<div class="im"><br>
On 03/24/2011 06:00 AM, Learn Qgis wrote:<br>
> Hi All,<br>
><br>
> Is there anybody who can help me out with Python integration in QGIS....<br>
> ? Please help me... I need to learn to integrate Python in QGIS.<br>
><br>
> thanks in Advance,<br>
> QGIS Learner<br>
><br>
><br>
> On Thu, Mar 17, 2011 at 10:34 PM, Charlie Sharpsteen<br>
</div><div class="im">> <<a href="mailto:chuck@sharpsteen.net">chuck@sharpsteen.net</a> <mailto:<a href="mailto:chuck@sharpsteen.net">chuck@sharpsteen.net</a>>> wrote:<br>
><br>
> On Wed, Mar 16, 2011 at 10:20 PM, Learn Qgis <<a href="mailto:learn.qgis@gmail.com">learn.qgis@gmail.com</a><br>
</div><div><div></div><div class="h5">> <mailto:<a href="mailto:learn.qgis@gmail.com">learn.qgis@gmail.com</a>>> wrote:<br>
><br>
> Hi,<br>
><br>
> I am new to QGIS. I am trying to build the source code using<br>
> CMAKE to Visual Studio 2008 environment with python binding.<br>
><br>
> I am using Python 2.7, SIP 4.12.1 and PyQt 4.8.3<br>
><br>
> I am getting below error....<br>
><br>
> *Couldn't load PyQGIS.<br>
> Python support will be disabled.<br>
> *<br>
><br>
> *<br>
> Traceback (most recent call last):<br>
> File "", line 1, in<br>
> ImportError: dynamic module does not define init function (initcore)<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> *<br>
><br>
> *Python version:<br>
> 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)]<br>
><br>
> QGIS version:<br>
> 1.6.0-Copiapo 'Copiapo', exported<br>
><br>
> Python path:<br>
> ['D:/dev/cpp/build/src/app/**Debug/./python', 'C:/Documents and<br>
> Settings/Administrator/.qgis/**python', 'C:/Documents and<br>
> Settings/Administrator/.qgis/**python/plugins',<br>
> 'D:/dev/cpp/build/src/app/**Debug/./python/plugins',<br>
> 'E:\\Python27\\Lib\\site-**packages', 'E:\\Python27\\Lib',<br>
> 'D:\\dev\\cpp\\build\\src\\**app\\Debug',<br>
> 'C:\\WINDOWS\\system32\\**python27.zip', 'E:\\Python27\\DLLs',<br>
> 'E:\\Python27\\lib\\plat-win', 'E:\\Python27\\lib\\lib-tk',<br>
> 'E:\\Python27']*<br>
><br>
><br>
><br>
> Please help me in resolving this error....<br>
><br>
><br>
> thanks in advance...<br>
><br>
><br>
> Usually this means that Python could not find the PyQt module or<br>
> could not load it for some reason. Check your environment<br>
> variables---specifically PATH and PYTHONPATH.<br>
><br>
> -Charlie<br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Qgis-developer mailing list<br>
> <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<font color="#888888"><br>
--<br>
Marco Bernasocchi<br>
<a href="http://www.bernawebdesign.ch" target="_blank">www.bernawebdesign.ch</a><br>
skype: mbernasocchi<br>
</font></blockquote></div><br>