octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Require Qt5 for the upcoming 6.1 release?


From: Daniel J Sebald
Subject: Re: Require Qt5 for the upcoming 6.1 release?
Date: Sat, 2 Nov 2019 01:10:24 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

On 11/1/19 4:01 PM, John W. Eaton wrote:
I just wasted WAY more time than I would like to admit debugging a signal/slot connection because of a stupid ONE-CHARACTER TYPO.  Instead of

   connect (p, SIGNAL (settings_changed (const gui_settings *)),
            this, SLOT (handle_settings (const gui_settings *)));

I wrote

   connect (p, SIGNAL (settings_changed (const gui_ettings *)),
            this, SLOT (handle_settings (const gui_settings *)));

It seems obvious now, but of course there was no warning and I simply could not spot the error among all the other changes I had made.  Gah.

That is kind of annoying sometimes. Launched from the command line Qt should dump a runtime warning displayed in the console when such a connection is attempted. I've never used the QDebug window much, but the message probably shows up there as well.

Dan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]