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

Jürgen E. Fischer jef at norbit.de
Tue Oct 18 23:47:27 PDT 2016


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                         
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20161019/b45cc5e8/attachment.sig>


More information about the Qgis-developer mailing list