On Tuesday 10 November 2015 08:01:53 Etienne Sandré-Chardonnal wrote:
> Hi,
>
> I have fixed the crash problem, but the double destructor is still there.
> For the record, what is the compiler mechanism behind this?
Without knowing the source code and the assembly, I could only guess.
The most l
By the way, I would have expected QQbject to "deparent" C before the
destroyed() signal is sent to connected slots. This would have prevented
the crash there.
Etienne
2015-11-10 8:01 GMT+01:00 Etienne Sandré-Chardonnal
:
> Hi,
>
> I have fixed the crash problem, but the double destructor is sti
Hi,
I have fixed the crash problem, but the double destructor is still there.
For the record, what is the compiler mechanism behind this?
The crash issue was simple : I have three QObjects with parents A -> B -> C
(grandchild)
The C destructor was sending destroyed() signal to B slot, which was
Gentlemen,
My app was crashing on a null QWindow pointer
from focusView() in QIOSInputContext::scrollToCursor
Unfortunately, my attempt to create a reproducing example
failed; thus, a formal bug-report is not an option.
The scenario is:
sending an email from a native popover over a Qt-widget app,
On Monday 09 November 2015 16:21:44 Etienne Sandré-Chardonnal wrote:
> Dear all,
>
> I am debugging an app which crashes when an object is being deleted. The
> debuggers halt on a segmentation fault inside QObject destructor. The
> object deletion was requested by a call to deleteLater()
>
> Here
We achieved a successful Qt 5.5.1 build of our large Qt 4.8 application,
built with MSVC 2010, 64-bit.
But this build is succeeding only on the single machine on which Qt
5.5.1 was actually built. When we try to compile our application on
another machine, we are getting many of these ERRORS i
On Monday 09 November 2015 11:28:45 Phil Weinstein wrote:
> We're not currently using Qt translation. But, FWIW, if we were to, I
> guess we would initialize static QStrings in the following way (and not
> worry about them being 'const'):
I advise against static QStrings altogether. Just don't do
Thiago, thanks so much for your precise reply. We will remove
QObject::tr() from static const QString initializations.
We're not currently using Qt translation. But, FWIW, if we were to, I
guess we would initialize static QStrings in the following way (and not
worry about them being 'const')
Thanks for the reply Andrew!
That helps a lot. I did notice that QSoundEffect is initializing it's category
to the string "game" and that it is managed by the Media stream volume on
Android. That string is obviously different than the one being used by
QAudioOutput which is probably why you're
Perhaps, there are issues reported as
switch-over between monitors or graphical cards?
Sorry, no clues.
Regards,
Robert
On Mon, Nov 9, 2015 at 5:45 PM, maitai wrote:
> Thanks Robert for your reply,
>
> In fact I succeeded to reproduce partly the problem. I have a laptop with 2
> graphic cards,
>
> Are you sure that in some way it’s not child of itself ?
> Qt automatically destroy all children of an QObject … and I really don’t
> know how safe is Qt to assign itself as child.
>
The parent is set upon creation, to the class which creates and manages it.
But I will triple check. However, i
Are you sure that in some way it’s not child of itself ?
Qt automatically destroy all children of an QObject … and I really don’t know
how safe is Qt to assign itself as child.
Ciao,
Gianluca.
> On 9 Nov 2015, at 15:55, Etienne Sandré-Chardonnal
> wrote:
>
> Dear Gian,
>
> I have checked th
Dear Gian,
I have checked that of course. But this is not the case, the destructor has
been reduced to a single call to qDebug (see my other mail) and the error
persists.
Also, when I set a breakpoint on the qDebug line, the debugger halts on the
second call (both are already in the stack) which i
Dear Konstantin,
Sorry, I should have included the code... Here is it. The answer is
definitely not inside.
RendererInterface::~RendererInterface()
{
qDebug("RendererInterface : destroyed"); //Line 119
//Ensure renderThread finishes its execution as it will be deleted
(child)
/*if(
Thanks Robert for your reply,
In fact I succeeded to reproduce partly the problem. I have a laptop
with 2 graphic cards, switchable. Whenever the PC goes in power-saving
mode, it switches to the intel one. When this happens, my menubar
(regular QMenuBar) is changing font and becomes ugly, and
> On 9 Nov 2015, at 15:38, Konstantin Tokarev wrote:
>
>
>
> 09.11.2015, 18:22, "Etienne Sandré-Chardonnal" :
>> Dear all,
>>
>> I am debugging an app which crashes when an object is being deleted. The
>> debuggers halt on a segmentation fault inside QObject destructor. The object
>> deleti
09.11.2015, 18:22, "Etienne Sandré-Chardonnal" :
> Dear all,
>
> I am debugging an app which crashes when an object is being deleted. The
> debuggers halt on a segmentation fault inside QObject destructor. The object
> deletion was requested by a call to deleteLater()
>
> Here is what I get in
Hi,
I was wondering how does Qt communicate with the audio device on Android. Does
it need to talk with the Android media server? Or does it open the audio
devices directly at the system level?
I’m working on a app that uses audio and if I want low latency, i’m forcing the
sound buffer to be s
Dear all,
I am debugging an app which crashes when an object is being deleted. The
debuggers halt on a segmentation fault inside QObject destructor. The
object deletion was requested by a call to deleteLater()
Here is what I get in the stack trace:
0QObject::~QObjectqobject.cpp993
On Mon, 9 Nov 2015, Ch'Gans wrote:
Any experience to share on using FitNesse with Qt? Or maybe you guys
use a different tool and/or approach?
BDD (Behavior-driven Development or Testing) might be an approach you'll
like equally much. Features and scenarios are described in plain English
(or
Hi,
This weekend I have been faced with a problem and I would like to share it with
you before submitting a bug report.
My apps relies on QtGuiApplication applicationStateChanged to start and stop
some services when the app is active, inactive, suspended, etc
It happens that, on the first run
Hello,
The example giving in qt doc concerning qquickwidget (a bit modified
because I insert the qquickwidget in a qdialog layout) works for me on
Android, but I need to send the app background and foreground to get it
working. If I remove the animation from the qml file it works straight
away
On Mon, Nov 9, 2015 at 7:54 AM, maitai wrote:
>
> Hello
>
> On Windows, some users are reporting that the application style (font?
> palette?) is changing when laptop goes in energy saving mode, and becomes
> more or less unreadable (white font on white background, etc). I have seen
> that myse
Hi,
In order to understand a complex bug, I'm trying tu step into Qt sources
when debugging with Qt Creator under ubuntu.
As I'm using the ubuntu package for Qt5 libs, I also installed the
debugging symbols (qt5base-sbg) and the sources with apt-get source.
GDB under Qt creator seem to find the
24 matches
Mail list logo