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

List:       pykde
Subject:    Re: Do not terminate application when fail to create QApplication
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2022-07-28 10:51:26
Message-ID: e05a430ec68f03fc17fd0a3c633102da () riverbankcomputing ! com
[Download RAW message or body]

On 28/07/2022 11:48, Grzegorz Bokota wrote:
> Dear Phil,
> Is there any option to not terminate process on failure of creating
> QApplication. This behaviour is especially problematic when we use 
> pytest
> that capture stdout and stderr so message about lack of plugins is not
> rendered and less experienced users do not know how to interpret
> stacktrace.
> 
> If fail of application create will raise exception instead of abort 
> process
> it will be possible to provide proper error message to users and fresh 
> OSS
> contributors.
> 
> Example issue that was reported as motivation for this email:
> https://github.com/napari/napari/issues/4876

That's a Qt, not PyQt, issue.

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

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