<div dir="ltr">Hello,<br><br>Sorry for not being able to get back to you on IRC. I have been busy with another project of mine at my university for quite some time now.<br><br>If a method was virtual before and is pure virtual now then one can't call that function as the method is of an abstract class now in Qt5 (and hence can't be instantiated). Just removing these function calls won't help either as the classes that derive from these will also remain an abstract class until these pure virtual functions are reimplemented in the derived classes.<br><br>So the calls to these specific functions will automatically turn up as errors during the compilation process (thus automatically highlighting the need to take care of the now pure virtual function). Can you please explain why then is it needed to use pragma in these cases?<br><br>Regards,<br>Aroonav.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 October 2015 at 22:44, Olivier Churlaud <span dir="ltr"><<a href="mailto:olivier@churlaud.com" target="_blank">olivier@churlaud.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I found why we get so many nasty segfault...<br>
<br>
Several methods of Qt4 (which were virtual) are now (with Qt5) pure virtual, meaning that they are defined like:<br>
        virtual void myfunction( ...args...) = 0 ;<br>
<br>
Therefore calling them produces a segfault...<br>
<br>
IMO, we should first comment them with, before the line<br>
        #pragma message("PORTKF5: X lines here")<br>
so that at compilation time we can easily find what still needs to be changed.<br>
<br>
After that, we'll have to either remove the lines or reimplement them.<br>
<br>
Cheers & Have fun!<br>
Olivier<br>
<br>
-- <br>
Olivier CHURLAUD<br>
Engineer Student at Ecole Centrale de Lyon<br>
in Dual Degree at TU Berlin, M.Sc. Elektrotechnik<br>
@: <a href="mailto:olivier@churlaud.com" target="_blank">olivier@churlaud.com</a><br>
tel: +49 (0)1575-2931348<br>
in:  <a href="http://linkedin.com/in/olivierchurlaud" rel="noreferrer" target="_blank">http://linkedin.com/in/olivierchurlaud</a><br>
web: <a href="http://olivier.churlaud.com" rel="noreferrer" target="_blank">http://olivier.churlaud.com</a><br>
<br>
_______________________________________________<br>
Amarok-devel mailing list<br>
<a href="mailto:Amarok-devel@kde.org" target="_blank">Amarok-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/amarok-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/amarok-devel</a><br>
</blockquote></div><br></div>