[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: konsole master broken / help
From: Tomaz Canabrava <tcanabrava () kde ! org>
Date: 2020-07-29 18:01:43
Message-ID: CACk01_wwr0PO6t=AceBdY98f3-iX1skJyXx2Y5rGPyd2Drjcow () mail ! gmail ! com
[Download RAW message or body]
Hello,
I broke something in master and I can't quite figure out what is it.
All the tests are passing, but a static library that I created is not being
correctly used with signals / slots.
I separated a bunch of code in konsole and created static libraries that
later on are linked against a bigger, shared, libkonsoleprivate. now I'm
having errors such as
I'm having errors such as:
QObject::connect: signal not found in Konsole::ProfileList
without the signal name, so it's quite hard to figure out what's wrong.
I put a lot of qDebugs around the connections and I found out that, for
instance the following code will give me a QObject::connect: signal not
found in Konsole::ProfileList:
connect(profileList, &ProfileList::profileSelected, this,
&TabbedViewContainer::newViewWithProfileRequest);
but if I run nm on libprofile.a I get:
$ nm libkonsoleprofile.a | ag profileSelected
0000000000000360
T_ZN7Konsole11ProfileList15profileSelectedERK28QExplicitlySharedDataPointerINS_7ProfileEE
U_ZN7Konsole11ProfileList15profileSelectedERK28QExplicitlySharedDataPointerINS_7ProfileEE
So I don't really know what's going on.
Any hint is appreciated.
Tomaz
[Attachment #3 (text/html)]
<div dir="ltr"><div>Hello, <br></div><div><br></div><div>I broke something in master \
and I can't quite figure out what is it. <br></div><div>All the tests are \
passing, but a static library that I created is not being correctly used with signals \
/ slots.</div><div><br></div><div>I separated a bunch of code in konsole and created \
static libraries that later on are linked against a bigger, shared, \
libkonsoleprivate. now I'm having errors such as \
<br></div><div><br></div><div>I'm having errors such \
as:</div><div><br></div><div>QObject::connect: signal not found in \
Konsole::ProfileList<br></div><div><br></div><div>without the signal name, so \
it's quite hard to figure out what's wrong.</div><div>I put a lot of qDebugs \
around the connections and I found out that, for instance the following code will \
give me a QObject::connect: signal not found in \
Konsole::ProfileList:<br></div><div><br></div><div>connect(profileList, \
&ProfileList::profileSelected, this, \
&TabbedViewContainer::newViewWithProfileRequest);</div><div><br></div><div>but if \
I run nm on libprofile.a I get:</div><div><br></div><div>$ nm libkonsoleprofile.a | \
ag profileSelected<br>0000000000000360 \
<br></div><div>T_ZN7Konsole11ProfileList15profileSelectedERK28QExplicitlySharedDataPoi \
nterINS_7ProfileEE<br>U_ZN7Konsole11ProfileList15profileSelectedERK28QExplicitlySharedDataPointerINS_7ProfileEE<br><br></div><div>So \
I don't really know what's going on.</div><div>Any hint is \
appreciated.</div><div><br></div><div>Tomaz</div><div><br></div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic