[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: Running PyQt6 with Debug Modules
From:       Florian Bruhin <me () the-compiler ! org>
Date:       2022-08-26 10:06:39
Message-ID: 20220826100639.kk2lxjvmwvw6bg6i () aragog
[Download RAW message or body]


Hey,

On Fri, Aug 26, 2022 at 04:24:08AM +0000, Johnmichael.Quinlan@idsoftware.com wrote:
> I have an application that I need to run in debug that utilizes PyQt6, however, the \
> modules fail to load, it appears I need to build PyQt6 with debug symbols, likely \
> against the Qt debug libraries? I couldn't find any documentation on how to do this \
> and it doesn't appear to be supported in the shipped modules you can download. See \
> the code and images below for details: 
> [...]
> 
> If anyone can help me figure out the steps I would need to build PyQt6 modules that \
> work in debug that would be amazing.

As far as I know, you don't need to have a debug Qt/PyQt to use it with
a debug Python. It looks like you simply have two separate installs of
Python, and only have PyQt installed in one of them.

If you run your python_d.exe with the -v flag, it will show you where
it's trying to find modules you are importing. If you compare those
paths to the python.exe ones, that should give you an idea of what's
missing.

> I tried to build pyqt6 with sipbuild from the debug console passing
> the debug flag however it cant find some modules for sipbuild, so the
> next thing I was going to try was building sipbuild in debug. It just
> seems like a bit of mine field without any documentation.

How to build PyQt6 from source is documented pretty well:
https://www.riverbankcomputing.com/static/Docs/PyQt6/installation.html#building-and-installing-from-source


Florian

-- 
            me@the-compiler.org | https://www.qutebrowser.org 
       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
             I love long mails! | https://email.is-not-s.ms/


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic