Bug 501652 - plasma-nm fails to compile against Qt 6.9
Summary: plasma-nm fails to compile against Qt 6.9
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networks widget (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-17 17:03 UTC by bluescreenavenger
Modified: 2025-03-18 14:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bluescreenavenger 2025-03-17 17:03:43 UTC
It is the only thing that I have in my scripts now that fails to build against Qt 6.9 after switching from Qt 6.8

This is the error I get:
[ 27%] Building CXX object libs/editor/CMakeFiles/plasmanm_editor.dir/settings/wireguardpeerwidget.cpp.o
In file included from /var/cache/srcbuild/plasma-nm/kcms/kcm_cellularnetwork/mobileproviders.cpp:7:
/var/cache/srcbuild/plasma-nm/kcms/kcm_cellularnetwork/mobileproviders.h: In member function ‘QString MobileProviders::getGsmNumber() const’:
/var/cache/srcbuild/plasma-nm/kcms/kcm_cellularnetwork/mobileproviders.h:55:30: error: use of deleted function ‘QString::QString(const char*)’
   55 |         return QString("*99#");
      |                              ^
In file included from /opt/include/qt6/QtXml/qdom.h:11,
                 from /opt/include/qt6/QtXml/QDomDocument:1,
                 from /var/cache/srcbuild/plasma-nm/kcms/kcm_cellularnetwork/mobileproviders.h:10:
/opt/include/qt6/QtCore/qstring.h:1091:5: note: declared here
Comment 1 Nicolas Fella 2025-03-17 17:54:38 UTC
This is caused by https://github.com/qcoro/qcoro/issues/274
Comment 2 bluescreenavenger 2025-03-18 14:17:57 UTC
Ah, thanks well it seems they fixed it, rebuilding the newset qcoro and now it builds.