Skip to content

Fix QProcess deprecated warning in cameracontroller backend

Anjani Kumar requested to merge warnings/QProcess into gsoc21-qt6-port

Original Warning

core/utilities/import/backend/cameracontroller.cpp:989:26: warning: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations]

I tested with running,

  • shell script
  • python script
  • compiled binary

I applied the patch for windows but can't test it.

Edited by Anjani Kumar

Merge request reports