https://bugs.kde.org/show_bug.cgi?id=503282
Bug ID: 503282 Summary: ktextaddons-1.5.4 fails compile Classification: Frameworks and Libraries Product: ktextaddons Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: mon...@kde.org Reporter: taurnil.oro...@gmail.com Target Milestone: --- Created attachment 180607 --> https://bugs.kde.org/attachment.cgi?id=180607&action=edit ktextaddons-1.5.4 compile log Operating System: Lunar Linux 1.8.0-future-20250414-x86_64 KDE Plasma Version: 6.3.4 KDE Frameworks Version: 6.13.0 Qt Version: 6.9.0 Kernel Version: 6.14.2 (64-bit) Graphics Platform: X11 Processors: 12 × Intel® Core™ i7 CPU X 980 @ 3.33GHz Memory: 15.6 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3060/PCIe/SSE2 *** SUMMARY The compile fails at this point; 54%] Building CXX object texttranslator/translator/plugins/google/CMakeFiles/translator_google.dir/googleengineplugin.cpp.o /usr/src/ktextaddons-1.5.4/texttranslator/translator/plugins/google/googleengineplugin.cpp: In member function 'void GoogleEnginePlugin::slotTranslateFinished(QNetworkReply*)': /usr/src/ktextaddons-1.5.4/texttranslator/translator/plugins/google/googleengineplugin.cpp:73:66: error: invalid use of incomplete type 'class QRegularExpression' 73 | mJsonData.replace(QRegularExpression(QStringLiteral(",{3,3}")), QStringLiteral(",\"\",\"\",")); | ^ In file included from /usr/lib/include/qt6/QtCore/qbytearrayview.h:9, from /usr/lib/include/qt6/QtCore/qbytearray.h:15, from /usr/lib/include/qt6/QtCore/qstringview.h:10, from /usr/lib/include/qt6/QtCore/qchar.h:728, from /usr/lib/include/qt6/QtCore/qstring.h:14, from /usr/lib/include/qt6/QtCore/qobject.h:11, from /usr/lib/include/qt6/QtCore/qiodevice.h:10, from /usr/lib/include/qt6/QtCore/QIODevice:1, from /usr/lib/include/qt6/QtNetwork/qnetworkreply.h:8, from /usr/lib/include/qt6/QtNetwork/QNetworkReply:1, from /usr/src/ktextaddons-1.5.4/ktextaddons-oosb/texttranslator/texttranslator/../../../texttranslator/translator/translatorengineplugin.h:10, from /usr/src/ktextaddons-1.5.4/ktextaddons-oosb/texttranslator/texttranslator/translatorengineplugin.h:1, from /usr/src/ktextaddons-1.5.4/ktextaddons-oosb/texttranslator/TextTranslator/TranslatorEnginePlugin:1, from /usr/src/ktextaddons-1.5.4/texttranslator/translator/plugins/google/googleengineplugin.h:9, from /usr/src/ktextaddons-1.5.4/texttranslator/translator/plugins/google/googleengineplugin.cpp:7: /usr/lib/include/qt6/QtCore/qstringfwd.h:44:7: note: forward declaration of 'class QRegularExpression' 44 | class QRegularExpression; | ^~~~~~~~~~~~~~~~~~ /usr/src/ktextaddons-1.5.4/texttranslator/translator/plugins/google/googleengineplugin.cpp:74:66: error: invalid use of incomplete type 'class QRegularExpression' 74 | mJsonData.replace(QRegularExpression(QStringLiteral(",{2,2}")), QStringLiteral(",\"\",")); | ^ /usr/lib/include/qt6/QtCore/qstringfwd.h:44:7: note: forward declaration of 'class QRegularExpression' 44 | class QRegularExpression; | ^~~~~~~~~~~~~~~~~~ make[2]: *** [texttranslator/translator/plugins/google/CMakeFiles/translator_google.dir/build.make:127: texttranslator/translator/plugins/google/CMakeFiles/translator_google.dir/googleengineplugin.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:18793: texttranslator/translator/plugins/google/CMakeFiles/translator_google.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 ADDITIONAL INFORMATION ktextaddson-1.5.2 fails in the same way. I'm guessing this has to do with some change in the "latest" qt-6.9.0. -- You are receiving this mail because: You are watching all bug changes.