Hi all. Following this page I am cloning the RcloneBrowser source. Build instructions for Manjaro are on the site.
Anyway I have hit a problem. Can anyone throw some light on this problem? Is there a work around for this error? or indeed a solution ?
[ 34%] **Generating ui_mount_widget.h**
[ 36%] **Generating ui_preferences_dialog.h**
[ 38%] **Generating ui_progress_dialog.h**
[ 40%] **Generating ui_remote_widget.h**
[ 42%] **Generating ui_stream_widget.h**
[ 44%] Building CXX object CMakeFiles/rclone-browser.dir/pch.cpp.o
[ 46%] Building CXX object CMakeFiles/rclone-browser.dir/main.cpp.o
[ 48%] Building CXX object CMakeFiles/rclone-browser.dir/main_window.cpp.o
**/home/brm/RcloneBrowser/src/main_window.cpp:** In lambda function:
**/home/brm/RcloneBrowser/src/main_window.cpp:435:44:** **error:** ‘**QStringList QString::split**(const QString&, SplitBehavior, Qt::CaseSensitivity) const
’ is deprecated: Use split(const QString &sep, Qt::SplitBehavior …) variant instead [**-Werror=deprecated-declarations**]
435 | QStringList lines = **version.split(“\\n”, QString::SkipEmptyParts)**;
In file included from **/usr/include/qt/QtCore/qobject.h:47**,
from **/usr/include/qt/QtCore/qabstractanimation.h:43**,
from **/usr/include/qt/QtCore/QtCore:6**,
from **/home/brm/RcloneBrowser/src/pch.h:9**,
from **/home/brm/RcloneBrowser/src/icon_cache.h:3**,
from **/home/brm/RcloneBrowser/src/main_window.h:3**,
from **/home/brm/RcloneBrowser/src/main_window.cpp:1**:
**/usr/include/qt/QtCore/qstring.h:606:17:** **note:** declared here
606 | QStringList **split**(const QString &sep, SplitBehavior behavior,
**/home/brm/RcloneBrowser/src/main_window.cpp:** In member function ‘**void MainWindow::addStream**(const QString&, const QString&)’:
**/home/brm/RcloneBrowser/src/main_window.cpp:1217:16:** **error:** ‘**void QProcess::start**(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProc
ess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [**-Werror=deprecated-declarations**]
1217 | **player->start(stream, QProcess::ReadOnly)**;
In file included from **/usr/include/qt/QtCore/QtCore:170**:
**/usr/include/qt/QtCore/qprocess.h:168:10:** **note:** declared here
168 | void **start**(const QString &command, OpenMode mode = ReadWrite);
cc1plus: all warnings being treated as errors
make[2]: \*\*\* [CMakeFiles/rclone-browser.dir/build.make:233: CMakeFiles/rclone-browser.dir/main_window.cpp.o] Error 1
make[1]: \*\*\* [CMakeFiles/Makefile2:87: CMakeFiles/rclone-browser.dir/all] Error 2
make: \*\*\* [Makefile:136: all] Error 2
Mod edit:- General tidy. No charge.