<div dir="ltr"><div>Hi <span tabindex="-1" id=":3d0.1" style="" class="">Aleix</span>,<br><br></div>I'm sorry for late reply. I was trying to compile <span tabindex="-1" id=":3d0.2" style="" class="">KStars</span> for Android and struggled a bit with compiling KF5.<br><ol><li><span style="color:rgb(0,0,0)">I
don't know whether this is a problem or a feature - When I compile my
app for Android and use <span tabindex="-1" id=":3d0.3" style="" class="">KConfig</span> compiled for Android the ARM version of
<span tabindex="-1" id=":3d0.4" style="" class="">kconfig</span>_compiler is executed to build options class. I had to change
<span tabindex="-1" id=":3d0.5" style="" class="">kconfig</span>_compiler executable compiled for Android with the one compiled
for my system to build options class. Can I somehow specify to <span tabindex="-1" id=":3d0.6" style="" class="">CMake</span>
that I need <span tabindex="-1" id=":3d0.7" style="" class="">kconfig</span>_compiler built for my system, not Android and at the
same time use Android version of <span tabindex="-1" id=":3d0.8" style="" class="">KConfig</span>?</span></li><li><span style="color:rgb(0,0,0)">I found that <span tabindex="-1" id=":3d0.9" style="" class="">mSettingsChanged</span> is included only in <span tabindex="-1" id=":3d0.10" style="" class="">kconfig</span>/<span tabindex="-1" id=":3d0.11" style="" class="">autotests</span>/<span tabindex="-1" id=":3d0.12" style="" class="">kconfig</span>_compiler/test_signal.h.ref but there is no mention of it in <span tabindex="-1" id=":3d0.13" style="" class="">kconfig</span>_compiler.<span tabindex="-1" id=":3d0.14" style="" class="">cpp</span>. Could you please tell me what can be the reason why val on <span tabindex="-1" id=":3d0.15" style="" class="">kconfig</span>_<span tabindex="-1" id=":3d0.16" style="" class="">complier</span>.<span tabindex="-1" id=":3d0.17" style="" class="">cpp</span>:2061 is 0?</span></li><li>Some
of KF5 modules can be compiled using the script provided by <span tabindex="-1" id=":3d0.18" style="" class="">KDE</span> but
unfortunately it doesn't support <span tabindex="-1" id=":3d0.19" style="" class="">KIO</span>. I saw from your blog posts that you have experience with building for Android. Could you please point me where should I start building <span tabindex="-1" id=":3d0.20" style="" class="">KIO</span>
for Android?</li></ol><p>Regards,</p><p><span tabindex="-1" id=":3d0.21" style="" class="">Artem</span> <span tabindex="-1" id=":3d0.22" style="" class="">Fedoskin</span><br></p></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-10 16:49 GMT+02:00 Aleix Pol <span dir="ltr"><<a href="mailto:aleixpol@kde.org" target="_blank">aleixpol@kde.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, May 9, 2016 at 8:02 PM, Artem Fedoskin <<a href="mailto:afedoskin3@gmail.com">afedoskin3@gmail.com</a>> wrote:<br>
> Dear KDE developers,<br>
><br>
> For my GSoC 2016 project at KDE (Lite version of KStars for mobile devices)<br>
> I need to access C++ class generated from XML configure file with KConfig<br>
> compiler from QML. I found in this patch<br>
> <a href="https://git.reviewboard.kde.org/r/123367/" rel="noreferrer" target="_blank">https://git.reviewboard.kde.org/r/123367/</a> and in the source code of KConfig<br>
> compiler that I should set GenerateProperties=true in my .kcfgc file to<br>
> create option properties as Q_PROPERTY. However, I got following error "Too<br>
> many signals to create unique bit masks". There is some conflict between<br>
> Mutators and GenerateProperties options that causes this error in my XML<br>
> configure file but I can't figure out what I should change to have setters<br>
> in Q_PROPERTY.<br>
><br>
> Would be grateful if someone could help me with this issue.<br>
><br>
> Options.kcfgc - <a href="https://paste.kde.org/pm1klcbls" rel="noreferrer" target="_blank">https://paste.kde.org/pm1klcbls</a><br>
><br>
> kstars.kcfg - <a href="https://paste.kde.org/phit6qibo" rel="noreferrer" target="_blank">https://paste.kde.org/phit6qibo</a><br>
<br>
</span>Hi Artem,<br>
KConfigCompiler is limited in this regard by an implementation detail.<br>
See "uint mSettingsChanged;".<br>
<br>
To solve it, I would patch kconfig_compiler and turn it into an<br>
std::vector<bool> or patch kstars.kcfg to use separate config files<br>
rather than a huge one.<br>
<br>
HTH,<br>
Aleix<br>
</blockquote></div><br></div>