[clazy] [Bug 438998] New: QProcess::startDetached gives qt6-deprecated-api-fixes warning
Jonas Kvinge
bugzilla_noreply at kde.org
Mon Jun 21 15:52:17 BST 2021
https://bugs.kde.org/show_bug.cgi?id=438998
Bug ID: 438998
Summary: QProcess::startDetached gives qt6-deprecated-api-fixes
warning
Product: clazy
Version: unspecified
Platform: openSUSE RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: jonas at jkvinge.net
CC: smartins at kde.org
Target Milestone: ---
SUMMARY
There is no QProcess::startDetachedCommand() function in Qt 6 as of today,
using the Qt 6 dev branch.
OBSERVED RESULT
jonas at jonas:~/Projects/strawberry/build> clazy-standalone
-checks=qt6-deprecated-api-fixes -p compile_commands.json
../strawberry/src/core/utilities.cpp
/home/jonas/Projects/strawberry/strawberry/src/core/utilities.cpp:393:10:
warning: call function QProcess::startDetached(). Use function
QProcess::startDetachedCommand() instead [-Wclazy-qt6-deprecated-api-fixes]
proc.startDetached(command, QStringList() << command_params << "--select"
<< url.toLocalFile());
^~~~~~~~~~~~~
startDetachedCommand
1 warning generated.
EXPECTED RESULT
No warning
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list