[Status Report] SoK-18 Project: Write tests and Improve protocol support for Kopete
Himanshu Vishwakarma <[email protected]> Mon, 5 Feb 2018 16:13:57 +0530
| Newsgroups | gmane.comp.kde.devel.kopete |
|---|---|
| Message-ID | <CAAF-E2uuMkjikOjAzAOMDbKNHTDAU5fjz46TvET4AAxFU6dVvg@mail.gmail.com> |
--001a11412f1243c2bf056474bd89
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi,
In this week, I worked on improving the previous patch and made the test
data-driven and now, waiting for the review. I also wrote a new test of
class socket
=E2=80=8B in
=E2=80=8B =E2=80=8B
QQ protocol but
=E2=80=8B there=E2=80=8B
=E2=80=8Bhaving some difficulties=E2=80=8B
.
=E2=80=8B I
=E2=80=8Bwill be
=E2=80=8Bglad
, If you look at the proble
=E2=80=8Bm=E2=80=8B
and give the possible solution.=E2=80=8B
=E2=80=8B
When I compling test it give the error like
=E2=80=8B this
=E2=80=8B
=E2=80=8B
/********************************************************
In file included from /mnt/NewVolume/sok
*=E2=80=8B=E2=80=8B/kopete/protocols/qq/qqsocket.cpp*:26:0:
/mnt/NewVolume/sok
*=E2=80=8B=E2=80=8B/kopete/protocols/qq/qqsocket.h*:18:10: fatal error: qob=
ject.h: No such
file or directory
#include <qobject.h>
^~~~~~~~~~~
compilation terminated.
/***********************************************************
=E2=80=8B=E2=80=8B
=E2=80=8BTo slove the problem, =E2=80=8B
=E2=80=8BI tried the many thing=E2=80=8Bs, some are follows:
- =E2=80=8BReplace to this
#include <QObject> instead of
=E2=80=8B=E2=80=8B
#include <qobject.h>
* =E2=80=8B=E2=80=8Bbut got similar error*.
- I=E2=80=8B
nclude the Qt5::Core library in th
=E2=80=8Be=E2=80=8B
kopete/tests/protocols/qq/CMakeLists.txt
=E2=80=8B =E2=80=8B
=E2=80=8Band in the protocol CMakeLists.txt file also=E2=80=8B.
- G=E2=80=8B
ive the full path of the QObject library in
* =E2=80=8B=E2=80=8Bkopete/tests/protocols/qq/CMakeLists.txt* but the issue
=E2=80=8B remain same=E2=80=8B
.
- Reinstall
=E2=80=8Bed=E2=80=8B
the Qt and change the lastest version Qt-5.10.0.
- If I comment the line
=E2=80=8B =E2=80=8B
=E2=80=8B
*#include <qobject.h>*
then
=E2=80=8Berror change but=E2=80=8B
similar
error has come to this line
* =E2=80=8B=E2=80=8B#include <QList>*=E2=80=8B
Let me know if needed some more information related to the error.
Next, I plan to resolve the issue in
=E2=80=8Babove test
and go through code base of other protocols basically Jabber protocol
=E2=80=8B =E2=80=8B
and =E2=80=8B
I also want to confirm
=E2=80=8B=E2=80=8B
that,
*=E2=80=8B=E2=80=8Bshould I remove the AIM protocol from the kopete?*
Link to patch: https://phabricator.kde.org/D10160
Regards,
Himanshu Vishwakarma
--001a11412f1243c2bf056474bd89
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he=
lvetica,sans-serif">Hi,<br></div><div class=3D"gmail_quote"><div dir=3D"ltr=
"><div class=3D"gmail_quote"><div dir=3D"ltr"><div class=3D"gmail_quote"><d=
iv dir=3D"ltr"><div style=3D"font-family:arial,helvetica,sans-serif"><br></=
div><span style=3D"color:rgb(34,34,34);font-family:arial,helvetica,sans-ser=
if;font-size:small;font-style:normal;font-variant-ligatures:normal;font-var=
iant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;tex=
t-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;backgr=
ound-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-c=
olor:initial;float:none;display:inline"><span class=3D"">In this week, I wo=
rked on improving the previous patch and made the test data-driven and now,=
=C2=A0 waiting=C2=A0for the review. I=C2=A0also wrote=C2=A0a new test of cl=
ass socket</span><div style=3D"font-family:arial,helvetica,sans-serif;displ=
ay:inline">=E2=80=8B in<div class=3D"gmail_default" style=3D"font-family:ar=
ial,helvetica,sans-serif;display:inline">=E2=80=8B =E2=80=8B</div></div>QQ =
protocol but<div style=3D"font-family:arial,helvetica,sans-serif;display:in=
line">=E2=80=8B there=E2=80=8B</div> <div style=3D"font-family:arial,helvet=
ica,sans-serif;display:inline">=E2=80=8Bhaving some difficulties=E2=80=8B</=
div><div style=3D"font-family:arial,helvetica,sans-serif;display:inline">.<=
div style=3D"font-family:arial,helvetica,sans-serif;display:inline">=E2=80=
=8B I <div class=3D"gmail_default" style=3D"font-family:arial,helvetica,san=
s-serif;display:inline">=E2=80=8Bwill be</div>=C2=A0<div class=3D"gmail_def=
ault" style=3D"font-family:arial,helvetica,sans-serif;display:inline">=E2=
=80=8Bglad</div>, If you look at the proble<div class=3D"gmail_default" sty=
le=3D"font-family:arial,helvetica,sans-serif;display:inline">=E2=80=8Bm=E2=
=80=8B</div><div class=3D"gmail_default" style=3D"font-family:arial,helveti=
ca,sans-serif;display:inline">=C2=A0and give the possible solution.=E2=80=
=8B</div></div></div></span></div><div dir=3D"ltr"><span class=3D""><font f=
ace=3D"arial, helvetica, sans-serif"><br></font><div><font face=3D"monospac=
e, monospace"><div style=3D"display:inline">=E2=80=8B</div><span style=3D"b=
ackground-color:initial;font-size:1em;color:rgb(46,52,54)">When I compling =
test it give the error like<div style=3D"display:inline">=E2=80=8B this</di=
v><div style=3D"display:inline">=E2=80=8B</div><div style=3D"display:inline=
">=E2=80=8B</div></span></font></div><div><font color=3D"#000000"><font fac=
e=3D"monospace, monospace"><span style=3D"background-color:initial;font-siz=
e:1em">/*****************************<wbr>***************************</span=
></font></font></div><div><font color=3D"#000000"><span style=3D"font-famil=
y:monospace,monospace;background-color:initial;font-size:1em">In file inclu=
ded from /mnt/NewVolume/sok<b><div style=3D"display:inline">=E2=80=8B=E2=80=
=8B</div>/kopete/protocols/qq/qqsocket.<wbr>cpp</b>:26:0:</span><font face=
=3D"monospace, monospace"><div style=3D"display:inline"></div></font><div s=
tyle=3D"font-family:monospace,monospace;display:inline"><br></div><span sty=
le=3D"font-family:monospace,monospace;background-color:initial;font-size:1e=
m">/mnt/NewVolume/sok<b><div style=3D"display:inline">=E2=80=8B=E2=80=8B</d=
iv>/kopete/protocols/qq/qqsocket.<wbr>h</b>:18:10: fatal error: qobject.h: =
No such file or directory</span><div style=3D"font-family:monospace,monospa=
ce;display:inline"><br></div><span style=3D"font-family:monospace,monospace=
;background-color:initial;font-size:1em">=C2=A0#include <qobject.h></=
span><div style=3D"font-family:monospace,monospace;display:inline"><br></di=
v><span style=3D"font-family:monospace,monospace;background-color:initial;f=
ont-size:1em">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~~~~</span><div sty=
le=3D"font-family:monospace,monospace;display:inline"><br></div><span style=
=3D"font-family:monospace,monospace;background-color:initial;font-size:1em"=
>compilation terminated.</span><div style=3D"font-family:monospace,monospac=
e;display:inline"><br></div><span style=3D"font-family:monospace,monospace;=
background-color:initial;font-size:1em">/*****************************<wbr>=
******************************<div style=3D"display:inline">=E2=80=8B=E2=80=
=8B</div></span><div style=3D"font-family:monospace,monospace;display:inlin=
e"><br></div><span style=3D"background-color:initial;font-size:1em"><font f=
ace=3D"arial, helvetica, sans-serif"><div style=3D"display:inline"><div cla=
ss=3D"gmail_default" style=3D"display:inline">=E2=80=8BTo slove the problem=
, =E2=80=8B</div>=E2=80=8BI tried the many thing=E2=80=8Bs, some are follow=
s:</div><br></font></span></font></div></span><div><ul><font face=3D"arial,=
helvetica, sans-serif"><span class=3D""><li><div style=3D"background-color=
:initial;font-size:1em;color:rgb(0,0,0);display:inline">=E2=80=8BReplace to=
this</div><span style=3D"background-color:initial;font-size:1em;color:rgb(=
0,0,0)">=C2=A0#include <QObject> instead of </span><div style=3D"back=
ground-color:initial;font-size:1em;color:rgb(0,0,0);display:inline">=E2=80=
=8B=E2=80=8B</div><span style=3D"background-color:initial;font-size:1em;col=
or:rgb(0,0,0)">#include <qobject.h> </span><i style=3D"background-col=
or:initial;font-size:1em;color:rgb(0,0,0)"><div style=3D"display:inline">=
=E2=80=8B=E2=80=8B</div>but got similar error</i><span style=3D"background-=
color:initial;font-size:1em;color:rgb(0,0,0)">.</span></li></span><span cla=
ss=3D""><li><font color=3D"#000000"><span style=3D"background-color:initial=
;font-size:1em"><div style=3D"display:inline">I=E2=80=8B</div>nclude the Qt=
5::Core library in th<div style=3D"display:inline">=E2=80=8Be=E2=80=8B=C2=
=A0</div>kopete/tests/protocols/qq/CMak<wbr>eLists.txt<div style=3D"display=
:inline">=E2=80=8B =E2=80=8B</div></span></font><span style=3D"color:rgb(0,=
0,0)">=E2=80=8Band in the protocol CMakeLists.txt file also=E2=80=8B.</span=
></li></span><span class=3D""><li><div style=3D"background-color:initial;fo=
nt-size:1em;color:rgb(0,0,0);display:inline">G=E2=80=8B</div><span style=3D=
"background-color:initial;font-size:1em;color:rgb(0,0,0)">ive the full path=
of the QObject library in </span><b style=3D"background-color:initial;font=
-size:1em;color:rgb(0,0,0)"><div style=3D"display:inline">=E2=80=8B=E2=80=
=8B</div>kopete/tests/protocols/qq/CMak<wbr>eLists.txt</b><span style=3D"ba=
ckground-color:initial;font-size:1em;color:rgb(0,0,0)"> but the issue</span=
><div style=3D"background-color:initial;font-size:1em;color:rgb(0,0,0);disp=
lay:inline">=E2=80=8B remain same=E2=80=8B</div><span style=3D"background-c=
olor:initial;font-size:1em;color:rgb(0,0,0)">.</span></li></span><span clas=
s=3D""><li>Reinstall<div style=3D"background-color:initial;font-size:1em;co=
lor:rgb(0,0,0);display:inline">=E2=80=8Bed=E2=80=8B</div><span style=3D"bac=
kground-color:initial;font-size:1em;color:rgb(0,0,0)"> the Qt and change th=
e lastest version Qt-5.10.0.</span></li></span><span class=3D""><li>If I co=
mment the line<div style=3D"font-size:13px;color:rgb(0,0,0);display:inline"=
>=E2=80=8B =E2=80=8B<div style=3D"display:inline">=E2=80=8B</div><b>#includ=
e <qobject.h></b></div><span style=3D"font-size:13px;color:rgb(0,0,0)=
">=C2=A0then=C2=A0</span><div style=3D"font-size:13px;color:rgb(0,0,0);disp=
lay:inline">=E2=80=8Berror change but=E2=80=8B</div><span style=3D"font-siz=
e:13px;color:rgb(0,0,0)">=C2=A0</span><div style=3D"font-size:13px;color:rg=
b(0,0,0);display:inline">similar=C2=A0</div><span style=3D"font-size:13px;c=
olor:rgb(0,0,0)">error has come to this line=C2=A0</span><b style=3D"font-s=
ize:13px;color:rgb(0,0,0)"><div style=3D"display:inline">=E2=80=8B=E2=80=8B=
</div>#include <QList></b><span style=3D"background-color:initial;fon=
t-size:1em;color:rgb(0,0,0)">=E2=80=8B</span></li></span></font></ul><font =
face=3D"arial, helvetica, sans-serif">Let me know if needed some more infor=
mation related to the error.<br></font></div><div><span class=3D""><font fa=
ce=3D"arial, helvetica, sans-serif"><br></font><div dir=3D"auto" style=3D"f=
ont-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;let=
ter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;whi=
te-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-dec=
oration-style:initial;text-decoration-color:initial;font-family:arial,helve=
tica,sans-serif;color:rgb(34,34,34);font-size:small">Next, I plan to resolv=
e the issue in <div class=3D"gmail_default" style=3D"font-weight:400;font-f=
amily:arial,helvetica,sans-serif;display:inline">=E2=80=8Babove test</div>=
=C2=A0and go through code base of other protocols basically Jabber protocol=
<div class=3D"gmail_default" style=3D"font-weight:400;font-family:arial,hel=
vetica,sans-serif;display:inline">=E2=80=8B =E2=80=8B</div><span class=3D""=
style=3D"font-weight:400"><div class=3D"gmail_default" style=3D"display:in=
line">and =E2=80=8B</div>I also want to confirm</span><div style=3D"font-we=
ight:400;display:inline">=E2=80=8B=E2=80=8B</div><span class=3D"" style=3D"=
"> that, <b><div class=3D"gmail_default" style=3D"font-family:arial,helveti=
ca,sans-serif;display:inline">=E2=80=8B=E2=80=8B</div>should I remove the A=
IM protocol from the kopete?</b></span></div></span><span class=3D""><div><=
div class=3D"m_8231434444913206151m_3463438685381637945m_-42580215612625245=
55m_8795397354536371037gmail_signature"><div dir=3D"ltr"><div dir=3D"ltr"><=
div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=
=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><br></div><div dir=3D"ltr"><div =
style=3D"font-family:arial,helvetica,sans-serif">Link to patch:=C2=A0<a hre=
f=3D"https://phabricator.kde.org/D10160" target=3D"_blank">https://phabrica=
tor.kde<wbr>.org/D10160</a></div></div><div dir=3D"ltr"><br></div><div dir=
=3D"ltr"><font size=3D"2" face=3D"arial, helvetica, sans-serif">Regards,</f=
ont><div style=3D"font-size:12.8px"><font size=3D"2" face=3D"arial, helveti=
ca, sans-serif">Himanshu Vishwakarma<br><br></font></div></div></div></div>=
</div></div></div></div></div></div></div></div>
</span></div></div>
</div><br></div>
</div><br></div>
</div><br></div>
--001a11412f1243c2bf056474bd89--