https://bugs.kde.org/show_bug.cgi?id=495333

--- Comment #3 from Jesus M Diaz <jesusm.diazpe...@gmail.com> ---
Since the libofx package was optional and I was not really using the features,
I just removed it.

And the building process progressed a bit more, but now the issue seems to be
with KRunner:

-- The following OPTIONAL packages have been found:

* KF5Activities
* KF5Runner (required version >= 5.102.0)
* KF5DocTools
(...)
-- The following OPTIONAL packages have not been found:

* LibOfx

---
[ 97%] Built target skrooge_add_operation_autogen_timestamp_deps
[ 98%] Automatic MOC for target skrooge_add_operation
[ 98%] Built target skrooge_add_operation_autogen
[ 98%] Building CXX object
plugins/krunner/skrooge_add_operation/CMakeFiles/skrooge_add_operation.dir/skrooge_add_operation_autogen/mocs_compilation.cpp.o
[ 98%] Building CXX object
plugins/krunner/skrooge_add_operation/CMakeFiles/skrooge_add_operation.dir/skgaddoperation.cpp.o
/mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.cpp:
In constructor ‘SKGAddOperation::SKGAddOperation(QObject*, const
QVariantList&)’:
/mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.cpp:28:35:
warning: ‘Plasma::AbstractRunner::AbstractRunner(QObject*, const
QVariantList&)’ is deprecated: Since 5.77. use AbstractRunner(QObject *, const
KPluginMetaData &, const QVariantList &) [-Wdeprecated-declarations]
28 |     : AbstractRunner(iParent, args)
|                                   ^
In file included from
/mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.h:9,
from
/mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.cpp:6:
/usr/include/KF5/KRunner/krunner/abstractrunner.h:487:5: note: declared here
487 |     AbstractRunner(QObject *parent, const QVariantList &args);
|     ^~~~~~~~~~~~~~
/mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.cpp:
In member function ‘virtual void SKGAddOperation::reloadConfiguration()’:
/mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.cpp:43:27:
warning: ‘void Plasma::RunnerSyntax::addExampleQuery(const QString&)’ is
deprecated: Since 5.106. Use constructor taking example query QStringList
[-Wdeprecated-declarations]
43 |     syntax.addExampleQuery(i18nc("Example of krunner command", "%1 10
computer", m_triggerWord));
|    
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KRunner/krunner/abstractrunner.h:40:
/usr/include/KF5/KRunner/krunner/runnersyntax.h:86:10: note: declared here
86 |     void addExampleQuery(const QString &exampleQuery);
|          ^~~~~~~~~~~~~~~
/mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.cpp:
In member function ‘virtual void SKGAddOperation::run(const
Plasma::RunnerContext&, const Plasma::QueryMatch&)’:
/mnt/warehouse/Instalables/skrooge/plugins/krunner/skrooge_add_operation/skgaddoperation.cpp:77:81:
error: ‘class QLatin1String’ hasno member named ‘length’
77 |         QString s = iMatch.id().remove(0,
QLatin1String("skroogeaddoperation_").length());
|                                                                              
  ^~~~~~
make[2]: ***
[plugins/krunner/skrooge_add_operation/CMakeFiles/skrooge_add_operation.dir/build.make:96:
plugins/krunner/skrooge_add_operation/CMakeFiles/skrooge_add_operation.dir/skgaddoperation.cpp.o]
Error 1
make[1]: *** [CMakeFiles/Makefile2:5910:
plugins/krunner/skrooge_add_operation/CMakeFiles/skrooge_add_operation.dir/all]
Error 2
make: *** [Makefile:146: all] Error 2
---

This happens with a fresh clone with git, but it builds fine if I try with the
'official' 2.33.0 sources package, that's why I guess it has something to do
with the preparations to KF6/QT6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to