On Mon, May 9, 2016 at 8:02 PM, Artem Fedoskin <afedosk...@gmail.com> wrote: > Dear KDE developers, > > For my GSoC 2016 project at KDE (Lite version of KStars for mobile devices) > I need to access C++ class generated from XML configure file with KConfig > compiler from QML. I found in this patch > https://git.reviewboard.kde.org/r/123367/ and in the source code of KConfig > compiler that I should set GenerateProperties=true in my .kcfgc file to > create option properties as Q_PROPERTY. However, I got following error "Too > many signals to create unique bit masks". There is some conflict between > Mutators and GenerateProperties options that causes this error in my XML > configure file but I can't figure out what I should change to have setters > in Q_PROPERTY. > > Would be grateful if someone could help me with this issue. > > Options.kcfgc - https://paste.kde.org/pm1klcbls > > kstars.kcfg - https://paste.kde.org/phit6qibo
Hi Artem, KConfigCompiler is limited in this regard by an implementation detail. See "uint mSettingsChanged;". To solve it, I would patch kconfig_compiler and turn it into an std::vector<bool> or patch kstars.kcfg to use separate config files rather than a huge one. HTH, Aleix _______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel