[Qgis-developer] Building and debugging QGIS on Windows x64

Frits van Veen fritsvanveen at ziggo.nl
Wed Oct 19 00:42:12 PDT 2016


Hi Casper

 

I don’t think the double slash is a problem.

I have a note regarding pyuic-wrapper. I changed pyuic-wrapper.bat and the ImportError goes away. This is probably not the optimal solution, but maybe it brings you a little further.

 

rem %PYTHON% %~dp0\pyuic-wrapper.py %5 %6 %7 %8 %9

%PYTHON% "C:\OSGeo4W64\apps\Python27\lib\site-packages\PyQt4\uic\pyuic.py" %5 %6 %7 %8 %9

 

Frits

 

From: Jürgen E. Fischer [via OSGeo.org] [mailto:ml-node+s1560n5291369h93 at n6.nabble.com] 
Sent: 19 October 2016 08:48
To: Frits van Veen
Subject: Re: Building and debugging QGIS on Windows x64

 

Hi Casper, 

On Wed, 19. Oct 2016 at 06:21:40 +0000, Casper Børgesen (CABO) wrote: 
> Thank you for your answer and your guidance. I used Jürgens advise and used 
> the spatialite_i.lib instead and I got a bit further. I am now also able to 
> run and debug a QGIS session, but I cannot use python either, which I really 
> want to. 
  
> I am using master_2 and building QGIS using "RelWithDebInfo", since "debug" 
> gives me a lot of errors. Are the difference between the two, that using 
> "debug" I'll be able to debug dependencies and not just the QGIS project? 

No, the "Debug" uses another set of runtime libraries that have debugging code 
in them (mainly for memory management), that makes them incompatible with the 
original set.  So you also have to build the dependencies with those and end up 
with two sets of everything. 

"RelWithDebInfo" just adds the debugging information (and skips some 
optimization) and hence enables debugging, but doesn't require the other set of 
libraries. 

> 263>    File "C:\QGIS\master_2\scripts\\pyuic-wrapper.py", line 26, in <module> 
> 263>      import qgis.PyQt.uic.pyuic 
  
> Has this got something to do with the double slash near pyuic-wrapper.py and 
> in that case, where should I fix it? Or is this problem about something 
> completely different? 

Probably.  I guess you're running the development environment without the PATH 
setup (like in package-nightly.cmd at the point where cmake --build %BUILDDIR% 
--config %BUILDCONF% is invoked). 


Jürgen 

-- 
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31 
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50 
Software Engineer           D-26506 Norden             http://www.norbit.de
QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode                         

_______________________________________________ 
Qgis-developer mailing list 
[hidden email] 
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer


  <http://osgeo-org.1560.x6.nabble.com/images/icon_attachment.gif> attachment0 (844 bytes) Download Attachment <http://osgeo-org.1560.x6.nabble.com/attachment/5291369/0/attachment0> 

 

  _____  

If you reply to this email, your message will be added to the discussion below:

http://osgeo-org.1560.x6.nabble.com/Building-and-debugging-QGIS-on-Windows-x64-tp5291058p5291369.html 

To unsubscribe from Building and debugging QGIS on Windows x64, click here <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5291058&code=ZnJpdHN2YW52ZWVuQHppZ2dvLm5sfDUyOTEwNTh8LTQwMzg5MDEyOQ==> .
 <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML 





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Building-and-debugging-QGIS-on-Windows-x64-tp5291058p5291383.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20161019/a72a9e23/attachment-0001.html>


More information about the Qgis-developer mailing list