Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-05 Thread coroberti .
Have you tried to comment out cleanup of reply objects (QNetworkReply) ? On Thu, Feb 6, 2020 at 8:49 AM maitai wrote: > > I've checked it already, and anyway a QFileDialog is a QWidget and as such > cannot be created before QApplication (that's what it said when I tried). > > Philippe > > > > >

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-05 Thread maitai
I've checked it already, and anyway a QFileDialog is a QWidget and as such cannot be created before QApplication (that's what it said when I tried). Philippe Le 05-02-2020 21:20, Henry Skoglund a écrit : > Hi, maybe you already checked this, but if you have any big wheels like a > QFileDialog

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-05 Thread Henry Skoglund
Hi, maybe you already checked this, but if you have any big wheels like a QFileDialog declared static, their ctors most likely will run before main(), i.e. some COM/networking activity could occur before main() kicks in. On 2020-02-05 21:10, maitai wrote: As I said, I now have doubts it come

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-05 Thread maitai
As I said, I now have doubts it comes from COM threading... I have built a small app with nothing inside, with the same .pro file exactly (qt modules, libs, etc, in the same order). The only difference is HEADERS and SOURCES of course, main.cpp being the same at least until it crashes. No problem

Re: [Interest] Python staticmethod slot

2020-02-05 Thread Jérôme Godbout
Related issue: https://bugreports.qt.io/browse/PYSIDE-1217 -Original Message- From: Interest On Behalf Of Jérôme Godbout Sent: February 5, 2020 2:56 PM To: Cristián Maureira-Fredes ; interest@qt-project.org Subject: Re: [Interest] Python staticmethod slot Hi, The init did not changed an

Re: [Interest] Python staticmethod slot

2020-02-05 Thread Jérôme Godbout
Hi, The init did not changed anything, here is the minimal replicate. I will open a bug if I did not made any obvious error there. Thanks, Jerome -Original Message- From: Interest On Behalf Of Cristián Maureira-Fredes Sent: February 5, 2020 11:28 AM To: interest@qt-project.org Subject:

Re: [Interest] Python staticmethod slot

2020-02-05 Thread Cristián Maureira-Fredes
On 2/5/20 4:29 PM, Jérôme Godbout wrote: > __ > Python code: > __ > import math > from PySide2.QtCore import QObject > from PySide2.QtGui import QVector3D > > class PointHelper(QObject): > @staticmethod > @Slot(QVector3D, result=bool) > def pose_pos

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-05 Thread Henry Skoglund
On 2020-02-05 16:32, maitai wrote: Hi Rainer, Unfortunately your suggestion didn't work I have added in my pro file: win32:QMAKE_LFLAGS+=/CLRTHREADATTRIBUTE:MTA and I can see the option in the link command (I also tried the 2 other possibilities STA and NONE of course), but that does not fix

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-05 Thread maitai
Hi Rainer, Unfortunately your suggestion didn't work I have added in my pro file: win32: QMAKE_LFLAGS += /CLRTHREADATTRIBUTE:MTA and I can see the option in the link command (I also tried the 2 other possibilities STA and NONE of course), but that does not fix anything. My feeling is that it

Re: [Interest] Python staticmethod slot

2020-02-05 Thread Jérôme Godbout
__ Python code: __ import math from PySide2.QtCore import QObject from PySide2.QtGui import QVector3D class PointHelper(QObject): @staticmethod @Slot(QVector3D, result=bool) def pose_position_is_nan(pose: QVector3D) -> bool: """This does not work

Re: [Interest] Python staticmethod slot

2020-02-05 Thread Cristián Maureira-Fredes
On 2/4/20 10:16 PM, Jérôme Godbout wrote: > Hi, > > Since the doc is pretty slim, and I have no clue how to make this work, > anyone known how to call a staticmethod slot into PySide2 from Qml? > > This do work: > >     @Slot(QVector3D, result=bool) > >     def myfct(self, pos: QVector3D)

Re: [Interest] qmlRegisterType in python

2020-02-05 Thread Cristián Maureira-Fredes
On 2/4/20 4:04 PM, Jérôme Godbout wrote: > Hi, > > I was developing a small Python application for a client and I did hit a > wall with the qmlRegisterType variant methods. Python PySide2 is missing > any qmlRegisterSingletonType and qmlRegisterUncreatableType and the like > (PyQt was exposin

Re: [Interest] Keep screen active on desktop

2020-02-05 Thread Kevin André
On Sun, Dec 29, 2019 at 3:41 PM Kevin André wrote: > Does Qt provide some platform-independent way to keep the screen > active? Or do I need to submit an enhancement request? I have created an enhancement request for this: https://bugreports.qt.io/browse/QTBUG-81907 _

Re: [Interest] QtSQL Module Maintainer

2020-02-05 Thread Alex Blasche
Hi, Mark Brand is the maintainer. That's why bugs get auto assigned to him. To resolve the situation the first step would be to find a new maintainer for the module. -- Alex From: Interest on behalf of roberts...@interia.pl Sent: Wednesday, 5 Februar

[Interest] QtSQL Module Maintainer

2020-02-05 Thread robertsz27
Hi all, I would like to know who is the current maintainer of the QtSQL module. I am asking because all bugs related to the SQL Support component are assigned to Mark Brand, but this person has not been active on Jira for the last few years. Best regards, Robert _

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-05 Thread Rainer Wiesenfarth
[...] > That being said, even if I remove this call and all references to WMI code > and CoInitializeEx (including the links to wbemuuid and ws2_32), it still > crashes if i do not create QNetworkManager before QApplication... > [...] > Our experience is that only the first call to CoInitializeEx(

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-05 Thread Mårten Nordheim
Any chance we could get a stacktrace from the crash? Or does your build of Qt not have any symbols? Mårten Fra: Interest på vegne av maitai Sendt: Tuesday, February 4, 2020 7:42:50 PM Til: Interest@qt-project.org Emne: Re: [Interest] Crash when creating QNetw