Bug 501652

Summary: plasma-nm fails to compile against Qt 6.9
Product: [Plasma] plasmashell Reporter: bluescreenavenger
Component: Networks widgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: nicolas.fella
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.