diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 000000000..3a929711f --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,41 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Build (log)", + "type": "shell", + "command": "./0.regen_all.sh > .build.log 2>&1; echo BUILD_EXIT:$?", + "options": { + "cwd": "${workspaceFolder}/application" + }, + "presentation": { + "panel": "new" + }, + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "Build installation package", + "type": "shell", + "command": "./5.build_installation_package.sh", + "options": { + "cwd": "${workspaceFolder}/application" + }, + "presentation": { + "panel": "new", + "focus": true + }, + "problemMatcher": [] + }, + { + "label": "Install dependencies", + "type": "shell", + "command": "sudo apt install g++ git qtcreator libprotobuf-dev qt5-qmake qttools5-dev-tools protobuf-compiler qtbase5-dev", + "problemMatcher": [] + } + ] +} \ No newline at end of file diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 000000000..4f5ff5184 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,2 @@ +Dont't comile yourself. Instead, ask for confirmation through the user if the compilation is finished. +The build output can be found at application/.build.log \ No newline at end of file diff --git a/application/.build.log b/application/.build.log new file mode 100644 index 000000000..f8ad34a33 --- /dev/null +++ b/application/.build.log @@ -0,0 +1,2942 @@ +[libprotobuf WARNING google/protobuf/compiler/parser.cc:646] No syntax specified for the proto file: common.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) +[libprotobuf WARNING google/protobuf/compiler/parser.cc:646] No syntax specified for the proto file: core_protocol.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) +[libprotobuf WARNING google/protobuf/compiler/parser.cc:646] No syntax specified for the proto file: core_settings.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) +[libprotobuf WARNING google/protobuf/compiler/parser.cc:646] No syntax specified for the proto file: files_cache.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) +[libprotobuf WARNING google/protobuf/compiler/parser.cc:646] No syntax specified for the proto file: gui_protocol.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) +gui_protocol.proto:10:1: warning: Import core_settings.proto is unused. +[libprotobuf WARNING google/protobuf/compiler/parser.cc:646] No syntax specified for the proto file: gui_settings.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) +[libprotobuf WARNING google/protobuf/compiler/parser.cc:646] No syntax specified for the proto file: queue.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) +cpp and .h generated from Protos/common.proto Protos/core_protocol.proto Protos/core_settings.proto Protos/files_cache.proto Protos/gui_protocol.proto Protos/gui_settings.proto Protos/queue.proto +Unrecognized option '-codecfortr'. +Unrecognized option '-codecfortr'. +mkdir: cannot create directory ‘../GUI/output’: File exists +mkdir: cannot create directory ‘../GUI/output/debug’: File exists +mkdir: cannot create directory ‘../GUI/output/debug/languages’: File exists +mkdir: cannot create directory ‘../Core/output’: File exists +mkdir: cannot create directory ‘../Core/output/debug’: File exists +mkdir: cannot create directory ‘../Core/output/debug/languages’: File exists +Warning: ignoring element +Updating 'd_lan_core.fr.qm'... + Generated 11 translation(s) (11 finished and 0 unfinished) +Warning: ignoring element +Updating 'd_lan_gui.fr.qm'... + Generated 176 translation(s) (176 finished and 0 unfinished) +Clean activated +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling Common.. +make: Entering directory '/workspaces/D-LAN/application/Common' +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_Timeoutable.cpp .tmp/release/moc_MessageSocket.cpp .tmp/release/moc_ThreadPool.cpp .tmp/release/moc_ConsoleReader.cpp +rm -f .tmp/release/Hash.o .tmp/release/Global.o .tmp/release/ZeroCopyStreamQIODevice.o .tmp/release/Settings.o .tmp/release/TransferRateCalculator.o .tmp/release/ProtoHelper.o .tmp/release/Timeoutable.o .tmp/release/PersistentData.o .tmp/release/MessageSocket.o .tmp/release/MessageHeader.o .tmp/release/gui_protocol.pb.o .tmp/release/core_protocol.pb.o .tmp/release/common.pb.o .tmp/release/ThreadPool.o .tmp/release/Languages.o .tmp/release/Constants.o .tmp/release/FileLocker.o .tmp/release/ConsoleReader.o .tmp/release/moc_Timeoutable.o .tmp/release/moc_MessageSocket.o .tmp/release/moc_ThreadPool.o .tmp/release/moc_ConsoleReader.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/Common' +make: Entering directory '/workspaces/D-LAN/application/Common' +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Hash.o Hash.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Global.o Global.cpp +Global.cpp: In static member function ‘static QStringList Common::Global::splitInWords(const QString&)’: +Global.cpp:406:55: warning: ‘QStringList QString::split(const QRegExp&, SplitBehavior) const’ is deprecated: Use split(const QRegularExpression &, Qt::SplitBehavior) variant instead [-Wdeprecated-declarations] + 406 | return Global::toLowerAndRemoveAccents(words).split(regExp, QString::SkipEmptyParts); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDateTime:1, + from ../Common/Global.h:24, + from Global.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:619:17: note: declared here + 619 | QStringList split(const QRegExp &sep, SplitBehavior behavior) const; + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/ZeroCopyStreamQIODevice.o ZeroCopyStreamQIODevice.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Settings.o Settings.cpp +Settings.cpp: In static member function ‘static void Common::Settings::printError(const QString&)’: +Settings.cpp:691:35: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 691 | QTextStream(stderr) << name << endl; + | ^~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTextStream:1, + from Settings.cpp:23: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +Settings.cpp: In static member function ‘static void Common::Settings::printErrorNameNotFound(const QString&)’: +Settings.cpp:696:88: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 696 | QTextStream(stderr) << QString("Settings : name \"%1\" doesn't exist").arg(name) << endl; + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +Settings.cpp: In static member function ‘static void Common::Settings::printErrorBadType(const google::protobuf::FieldDescriptor*, const QString&)’: +Settings.cpp:701:195: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 701 | QTextStream(stderr) << QString("Settings : bad type, field name = \"%1\", expected type : \"%2\"").arg(ProtoHelper::getStr(*field, &google::protobuf::FieldDescriptor::name)).arg(excepted) << endl; + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/TransferRateCalculator.o TransferRateCalculator.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/ProtoHelper.o ProtoHelper.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Timeoutable.o Timeoutable.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/PersistentData.o PersistentData.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/MessageSocket.o Network/MessageSocket.cpp +Network/MessageSocket.cpp: In member function ‘virtual void Common::MessageSocket::send(Common::MessageHeader::MessageType, const google::protobuf::Message*)’: +Network/MessageSocket.cpp:141:58: warning: ‘int google::protobuf::MessageLite::ByteSize() const’ is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations] + 141 | MessageHeader header(type, message ? message->ByteSize() : 0, this->localID); + | ~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/google/protobuf/generated_enum_util.h:38, + from /usr/include/google/protobuf/generated_enum_reflection.h:47, + from /usr/include/google/protobuf/generated_message_reflection.h:46, + from /usr/include/google/protobuf/message.h:124, + from ../Common/Network/MessageSocket.h:28, + from Network/MessageSocket.cpp:19: +/usr/include/google/protobuf/message_lite.h:381:7: note: declared here + 381 | int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); } + | ^~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/MessageHeader.o Network/MessageHeader.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/gui_protocol.pb.o ../Protos/gui_protocol.pb.cc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/core_protocol.pb.o ../Protos/core_protocol.pb.cc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/common.pb.o ../Protos/common.pb.cc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/ThreadPool.o ThreadPool.cpp +ThreadPool.cpp: In member function ‘void Common::Thread::setRunnable(QWeakPointer)’: +ThreadPool.cpp:60:23: warning: ‘T* QWeakPointer::data() const [with T = Common::IRunnable]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] + 60 | this->runnable.data()->init(this); + | ~~~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QWeakPointer:1, + from ../Common/ThreadPool.h:25, + from ThreadPool.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:568:8: note: declared here + 568 | T *data() const noexcept { return internalData(); } + | ^~~~ +ThreadPool.cpp: In member function ‘virtual void Common::Thread::run()’: +ThreadPool.cpp:88:26: warning: ‘T* QWeakPointer::data() const [with T = Common::IRunnable]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] + 88 | this->runnable.data()->run(); + | ~~~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:568:8: note: declared here + 568 | T *data() const noexcept { return internalData(); } + | ^~~~ +ThreadPool.cpp: In member function ‘void Common::ThreadPool::runnableFinished()’: +ThreadPool.cpp:185:33: warning: ‘T* QWeakPointer::data() const [with T = Common::IRunnable]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] + 185 | thread->getRunnable().data()->finished(); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:568:8: note: declared here + 568 | T *data() const noexcept { return internalData(); } + | ^~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Languages.o Languages.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Constants.o Constants.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/FileLocker.o FileLocker.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/ConsoleReader.o ConsoleReader.cpp +g++ -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Timeoutable.h -o .tmp/release/moc_Timeoutable.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_Timeoutable.o .tmp/release/moc_Timeoutable.cpp +/usr/lib/qt5/bin/moc -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Network/MessageSocket.h -o .tmp/release/moc_MessageSocket.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_MessageSocket.o .tmp/release/moc_MessageSocket.cpp +/usr/lib/qt5/bin/moc -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ThreadPool.h -o .tmp/release/moc_ThreadPool.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_ThreadPool.o .tmp/release/moc_ThreadPool.cpp +/usr/lib/qt5/bin/moc -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ConsoleReader.h -o .tmp/release/moc_ConsoleReader.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_ConsoleReader.o .tmp/release/moc_ConsoleReader.cpp +rm -f output/release/libCommon.a +ar cqs output/release/libCommon.a .tmp/release/Hash.o .tmp/release/Global.o .tmp/release/ZeroCopyStreamQIODevice.o .tmp/release/Settings.o .tmp/release/TransferRateCalculator.o .tmp/release/ProtoHelper.o .tmp/release/Timeoutable.o .tmp/release/PersistentData.o .tmp/release/MessageSocket.o .tmp/release/MessageHeader.o .tmp/release/gui_protocol.pb.o .tmp/release/core_protocol.pb.o .tmp/release/common.pb.o .tmp/release/ThreadPool.o .tmp/release/Languages.o .tmp/release/Constants.o .tmp/release/FileLocker.o .tmp/release/ConsoleReader.o .tmp/release/moc_Timeoutable.o .tmp/release/moc_MessageSocket.o .tmp/release/moc_ThreadPool.o .tmp/release/moc_ConsoleReader.o +make: Leaving directory '/workspaces/D-LAN/application/Common' +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling TestsCommon.. +make: Entering directory '/workspaces/D-LAN/application/Common/TestsCommon' +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_Tests.cpp .tmp/release/moc_TreeTests.cpp +rm -f .tmp/release/main.o .tmp/release/Tests.o .tmp/release/common.pb.o .tmp/release/core_settings.pb.o .tmp/release/TreeTests.o .tmp/release/moc_Tests.o .tmp/release/moc_TreeTests.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/Common/TestsCommon' +make: Entering directory '/workspaces/D-LAN/application/Common/TestsCommon' +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Common/TestsCommon"' -I. -I. -I.. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/main.o main.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Common/TestsCommon"' -I. -I. -I.. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Tests.o Tests.cpp +In file included from Tests.cpp:37: +../SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtest.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtTest/QTest:1, + from ./Tests.h:22, + from Tests.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +Tests.cpp: In member function ‘void Tests::hashMoveConstuctorAndAssignment()’: +Tests.cpp:348:22: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 348 | Hash h = std::move(Hash::fromStr(str)); // We have to force to rValue reference because of the return optimization (http://en.wikipedia.org/wiki/Return_value_optimization). + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +Tests.cpp:348:22: note: remove ‘std::move’ call +Tests.cpp: In member function ‘void Tests::readAndWriteWithZeroCopyStreamQIODevice()’: +Tests.cpp:485:74: warning: ‘int google::protobuf::MessageLite::ByteSize() const’ is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations] + 485 | QCOMPARE(fileInfo.size(), static_cast(hashMessage1.ByteSize() + hashMessage2.ByteSize())); + | ~~~~~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:88:34: note: in definition of macro ‘QCOMPARE’ + 88 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ + | ^~~~~~~~ +In file included from /usr/include/google/protobuf/any.h:38, + from /usr/include/google/protobuf/generated_message_util.h:52, + from /usr/include/google/protobuf/generated_message_bases.h:40, + from ../../Protos/common.pb.h:26, + from Tests.cpp:27: +/usr/include/google/protobuf/message_lite.h:381:7: note: declared here + 381 | int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); } + | ^~~~~~~~ +Tests.cpp:485:100: warning: ‘int google::protobuf::MessageLite::ByteSize() const’ is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations] + 485 | QCOMPARE(fileInfo.size(), static_cast(hashMessage1.ByteSize() + hashMessage2.ByteSize())); + | ~~~~~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:88:34: note: in definition of macro ‘QCOMPARE’ + 88 | if (!QTest::qCompare(actual, expected, #actual, #expected, __FILE__, __LINE__))\ + | ^~~~~~~~ +/usr/include/google/protobuf/message_lite.h:381:7: note: declared here + 381 | int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); } + | ^~~~~~~~ +Tests.cpp: In member function ‘void Tests::protoHelper()’: +Tests.cpp:533:16: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 533 | qDebug() << endl << "The protocol buffer message (Protos::Common::Entry):" << endl << debugStr; + | ^~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborcommon.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtest.h:53: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +Tests.cpp:533:82: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 533 | qDebug() << endl << "The protocol buffer message (Protos::Common::Entry):" << endl << debugStr; + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QLinkedList:1, + from ../SortedList.h:22: +In member function ‘void QLinkedList::freeData(QLinkedListData*) [with T = int]’, + inlined from ‘QLinkedList::~QLinkedList() [with T = int]’ at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:301:17, + inlined from ‘QLinkedList::~QLinkedList() [with T = int]’ at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:298:8, + inlined from ‘void QLinkedList::clear() [with T = int]’ at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:378:13, + inlined from ‘void Common::SortedList::clear() [with T = int]’ at ../SortedList.h:129:20, + inlined from ‘void Tests::sortedList()’ at Tests.cpp:191:14: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:372:5: warning: ‘void operator delete(void*)’ called on unallocated object ‘QLinkedListData::shared_null’ [-Wfree-nonheap-object] + 372 | delete x; + | ^~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h: In member function ‘void Tests::sortedList()’: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:80:48: note: declared here + 80 | Q_CORE_EXPORT static const QLinkedListData shared_null; + | ^~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Common/TestsCommon"' -I. -I. -I.. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/common.pb.o ../../Protos/common.pb.cc +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Common/TestsCommon"' -I. -I. -I.. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/core_settings.pb.o ../../Protos/core_settings.pb.cc +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Common/TestsCommon"' -I. -I. -I.. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/TreeTests.o TreeTests.cpp +g++ -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Common/TestsCommon"' --include /workspaces/D-LAN/application/Common/TestsCommon/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common/TestsCommon -I/workspaces/D-LAN/application/Common/TestsCommon -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Tests.h -o .tmp/release/moc_Tests.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Common/TestsCommon"' -I. -I. -I.. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_Tests.o .tmp/release/moc_Tests.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Common/TestsCommon"' --include /workspaces/D-LAN/application/Common/TestsCommon/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common/TestsCommon -I/workspaces/D-LAN/application/Common/TestsCommon -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include TreeTests.h -o .tmp/release/moc_TreeTests.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Common/TestsCommon"' -I. -I. -I.. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_TreeTests.o .tmp/release/moc_TreeTests.cpp +g++ -Wl,-O1 -o output/release/TestsCommon .tmp/release/main.o .tmp/release/Tests.o .tmp/release/common.pb.o .tmp/release/core_settings.pb.o .tmp/release/TreeTests.o .tmp/release/moc_Tests.o .tmp/release/moc_TreeTests.o -L../output/release -lCommon -lprotobuf /usr/lib/x86_64-linux-gnu/libQt5Network.so /usr/lib/x86_64-linux-gnu/libQt5Test.so /usr/lib/x86_64-linux-gnu/libQt5Core.so -lpthread +make: Leaving directory '/workspaces/D-LAN/application/Common/TestsCommon' +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling LogManager.. +make: Entering directory '/workspaces/D-LAN/application/Common/LogManager' +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_ILoggerHook.cpp +rm -f .tmp/release/Logger.o .tmp/release/Entry.o .tmp/release/Builder.o .tmp/release/QtLogger.o .tmp/release/StdLogger.o .tmp/release/LoggerHook.o .tmp/release/moc_ILoggerHook.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/Common/LogManager' +make: Entering directory '/workspaces/D-LAN/application/Common/LogManager' +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DLOGMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Logger.o priv/Logger.cpp +priv/Logger.cpp: In member function ‘void LM::LoggerHooks::removeDeletedHooks()’: +priv/Logger.cpp:54:25: warning: ‘T* QWeakPointer::data() const [with T = LM::LoggerHook]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] + 54 | if (!i.next().data()) + | ~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSharedPointer:1, + from ./priv/Logger.h:26, + from priv/Logger.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:568:8: note: declared here + 568 | T *data() const noexcept { return internalData(); } + | ^~~~ +priv/Logger.cpp: In member function ‘virtual bool LM::Logger::log(const QString&, LM::Severity, const char*, int) const’: +priv/Logger.cpp:106:32: warning: ‘T* QWeakPointer::data() const [with T = LM::LoggerHook]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] + 106 | this->loggerHooks[i].data()->newMessage(entry); + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:568:8: note: declared here + 568 | T *data() const noexcept { return internalData(); } + | ^~~~ +priv/Logger.cpp:111:41: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 111 | Logger::out << entry->toStrLine() << endl; + | ^~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTextStream:1, + from ./priv/Logger.h:23: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +priv/Logger.cpp: In static member function ‘static bool LM::Logger::createFileLog()’: +priv/Logger.cpp:149:105: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 149 | outErr << "Error, cannot create log directory : " << appDir.absoluteFilePath(logDirName) << endl; + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +priv/Logger.cpp:161:101: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 161 | outErr << "Error, cannot create log file : " << logDir.absoluteFilePath(filename) << endl; + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +priv/Logger.cpp:174:97: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 174 | outErr << "Error, cannot create the application data directory: " << e.errorMessage << endl; + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +priv/Logger.cpp: In static member function ‘static void LM::Logger::deleteOldestLog(const QDir&)’: +priv/Logger.cpp:192:9: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = bool (*)(const QFileInfo&, const QFileInfo&)]’ is deprecated: Use std::sort [-Wdeprecated-declarations] + 192 | qSort(entries.begin(), entries.end(), fileInfoLessThan); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qiodevice.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:43: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:181:46: note: declared here + 181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DLOGMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Entry.o priv/Entry.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DLOGMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Builder.o priv/Builder.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DLOGMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/QtLogger.o priv/QtLogger.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DLOGMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/StdLogger.o priv/StdLogger.cpp +priv/StdLogger.cpp: In constructor ‘LM::StdLogger::StdLogger(int, const QString&)’: +priv/StdLogger.cpp:61:11: warning: ignoring return value of ‘int pipe(int*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 61 | pipe(this->input); + | ~~~~^~~~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DLOGMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/LoggerHook.o priv/LoggerHook.cpp +g++ -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DLOGMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/LogManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common/LogManager -I/workspaces/D-LAN/application/Common/LogManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ILoggerHook.h -o .tmp/release/moc_ILoggerHook.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DLOGMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_ILoggerHook.o .tmp/release/moc_ILoggerHook.cpp +rm -f output/release/libLogManager.a +ar cqs output/release/libLogManager.a .tmp/release/Logger.o .tmp/release/Entry.o .tmp/release/Builder.o .tmp/release/QtLogger.o .tmp/release/StdLogger.o .tmp/release/LoggerHook.o .tmp/release/moc_ILoggerHook.o +make: Leaving directory '/workspaces/D-LAN/application/Common/LogManager' +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling RemoteCoreController.. +Cannot read /workspaces/D-LAN/application/Libs/qtservice/config.pri: No such file or directory +make: Entering directory '/workspaces/D-LAN/application/Common/RemoteCoreController' +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_qtunixsocket.cpp .tmp/release/moc_qtunixserversocket.cpp .tmp/release/moc_SearchResult.cpp .tmp/release/moc_CoreConnection.cpp .tmp/release/moc_BrowseResult.cpp .tmp/release/moc_ISearchResult.cpp .tmp/release/moc_IBrowseResult.cpp .tmp/release/moc_ICoreConnection.cpp .tmp/release/moc_CoreController.cpp .tmp/release/moc_InternalCoreConnection.cpp +rm -f .tmp/release/qtservice.moc .tmp/release/qtservice_unix.moc +rm -f .tmp/release/qtservice.o .tmp/release/qtservice_unix.o .tmp/release/qtunixsocket.o .tmp/release/qtunixserversocket.o .tmp/release/Builder.o .tmp/release/SearchResult.o .tmp/release/CoreConnection.o .tmp/release/BrowseResult.o .tmp/release/common.pb.o .tmp/release/CoreController.o .tmp/release/gui_protocol.pb.o .tmp/release/Log.o .tmp/release/InternalCoreConnection.o .tmp/release/moc_qtunixsocket.o .tmp/release/moc_qtunixserversocket.o .tmp/release/moc_SearchResult.o .tmp/release/moc_CoreConnection.o .tmp/release/moc_BrowseResult.o .tmp/release/moc_ISearchResult.o .tmp/release/moc_IBrowseResult.o .tmp/release/moc_ICoreConnection.o .tmp/release/moc_CoreController.o .tmp/release/moc_InternalCoreConnection.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/Common/RemoteCoreController' +make: Entering directory '/workspaces/D-LAN/application/Common/RemoteCoreController' +g++ -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/RemoteCoreController/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ../../Libs/qtservice/src/qtservice.cpp -o .tmp/release/qtservice.moc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/qtservice.o ../../Libs/qtservice/src/qtservice.cpp +../../Libs/qtservice/src/qtservice.cpp: In constructor ‘QtServiceBasePrivate::QtServiceBasePrivate(const QString&)’: +../../Libs/qtservice/src/qtservice.cpp:424:56: warning: ‘constexpr QFlags::QFlags(Zero) [with Enum = QtServiceBase::ServiceFlag; Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] + 424 | : startupType(QtServiceController::ManualStartup), serviceFlags(0), controller(name) + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1305, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QCoreApplication:1, + from ../../Libs/qtservice/src/qtservice.h:43, + from ../../Libs/qtservice/src/qtservice.cpp:40: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here + 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} + | ^~~~~~ +../../Libs/qtservice/src/qtservice.cpp: In constructor ‘QtServiceBase::QtServiceBase(int, char**, const QString&)’: +../../Libs/qtservice/src/qtservice.cpp:647:27: warning: ‘constexpr QFlags::QFlags(Zero) [with Enum = QtServiceBase::ServiceFlag; Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] + 647 | d_ptr->serviceFlags = 0; + | ^ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here + 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} + | ^~~~~~ +/usr/lib/qt5/bin/moc -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/RemoteCoreController/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ../../Libs/qtservice/src/qtservice_unix.cpp -o .tmp/release/qtservice_unix.moc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/qtservice_unix.o ../../Libs/qtservice/src/qtservice_unix.cpp +../../Libs/qtservice/src/qtservice_unix.cpp: In constructor ‘QtServiceSysPrivate::QtServiceSysPrivate()’: +../../Libs/qtservice/src/qtservice_unix.cpp:295:39: warning: ‘constexpr QFlags::QFlags(Zero) [with Enum = QtServiceBase::ServiceFlag; Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] + 295 | : QtUnixServerSocket(), ident(0), serviceFlags(0) + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1305, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QCoreApplication:1, + from ../../Libs/qtservice/src/qtservice.h:43, + from ../../Libs/qtservice/src/qtservice_unix.cpp:40: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here + 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} + | ^~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/qtunixsocket.o ../../Libs/qtservice/src/qtunixsocket.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/qtunixserversocket.o ../../Libs/qtservice/src/qtunixserversocket.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Builder.o priv/Builder.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/SearchResult.o priv/SearchResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/CoreConnection.o priv/CoreConnection.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/BrowseResult.o priv/BrowseResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/common.pb.o ../../Protos/common.pb.cc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/CoreController.o priv/CoreController.cpp +priv/CoreController.cpp: In member function ‘void RCC::CoreController::startCore(int)’: +priv/CoreController.cpp:69:36: 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] + 69 | this->coreProcess.start(QString("\"%1/%2\" -e%3").arg(QCoreApplication::applicationDirPath()).arg(CORE_EXE_NAME).arg(port != -1 ? QString("") : QString(" --port %1").arg(port))); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QProcess:1, + from ./priv/CoreController.h:23, + from priv/CoreController.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qprocess.h:168:10: note: declared here + 168 | void start(const QString &command, OpenMode mode = ReadWrite); + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/gui_protocol.pb.o ../../Protos/gui_protocol.pb.cc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Log.o priv/Log.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/InternalCoreConnection.o priv/InternalCoreConnection.cpp +priv/InternalCoreConnection.cpp: In member function ‘virtual void RCC::InternalCoreConnection::onNewMessage(Common::MessageHeader::MessageType, const google::protobuf::Message&)’: +priv/InternalCoreConnection.cpp:476:33: warning: ‘T* QWeakPointer::data() const [with T = RCC::SearchResult]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] + 476 | searchResult.data()->setTag(tagMessage.tag()); + | ~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qabstractsocket.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qtcpsocket.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QTcpSocket:1, + from ./priv/CoreConnection.h:23, + from priv/InternalCoreConnection.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:568:8: note: declared here + 568 | T *data() const noexcept { return internalData(); } + | ^~~~ +priv/InternalCoreConnection.cpp:500:33: warning: ‘T* QWeakPointer::data() const [with T = RCC::BrowseResult]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations] + 500 | browseResult.data()->setTag(tagMessage.tag()); + | ~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:568:8: note: declared here + 568 | T *data() const noexcept { return internalData(); } + | ^~~~ +/usr/lib/qt5/bin/moc -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/RemoteCoreController/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ../../Libs/qtservice/src/qtunixsocket.h -o .tmp/release/moc_qtunixsocket.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_qtunixsocket.o .tmp/release/moc_qtunixsocket.cpp +/usr/lib/qt5/bin/moc -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/RemoteCoreController/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ../../Libs/qtservice/src/qtunixserversocket.h -o .tmp/release/moc_qtunixserversocket.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_qtunixserversocket.o .tmp/release/moc_qtunixserversocket.cpp +/usr/lib/qt5/bin/moc -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/RemoteCoreController/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/SearchResult.h -o .tmp/release/moc_SearchResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_SearchResult.o .tmp/release/moc_SearchResult.cpp +/usr/lib/qt5/bin/moc -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/RemoteCoreController/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/CoreConnection.h -o .tmp/release/moc_CoreConnection.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_CoreConnection.o .tmp/release/moc_CoreConnection.cpp +/usr/lib/qt5/bin/moc -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/RemoteCoreController/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/BrowseResult.h -o .tmp/release/moc_BrowseResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_BrowseResult.o .tmp/release/moc_BrowseResult.cpp +/usr/lib/qt5/bin/moc -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/RemoteCoreController/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ISearchResult.h -o .tmp/release/moc_ISearchResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_ISearchResult.o .tmp/release/moc_ISearchResult.cpp +/usr/lib/qt5/bin/moc -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/RemoteCoreController/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include IBrowseResult.h -o .tmp/release/moc_IBrowseResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_IBrowseResult.o .tmp/release/moc_IBrowseResult.cpp +/usr/lib/qt5/bin/moc -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/RemoteCoreController/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ICoreConnection.h -o .tmp/release/moc_ICoreConnection.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_ICoreConnection.o .tmp/release/moc_ICoreConnection.cpp +/usr/lib/qt5/bin/moc -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/RemoteCoreController/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/CoreController.h -o .tmp/release/moc_CoreController.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_CoreController.o .tmp/release/moc_CoreController.cpp +/usr/lib/qt5/bin/moc -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Common/RemoteCoreController/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common/RemoteCoreController -I/workspaces/D-LAN/application/Common -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/InternalCoreConnection.h -o .tmp/release/moc_InternalCoreConnection.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECORECONTROLLER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../.. -I../../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_InternalCoreConnection.o .tmp/release/moc_InternalCoreConnection.cpp +rm -f output/release/libRemoteCoreController.a +ar cqs output/release/libRemoteCoreController.a .tmp/release/qtservice.o .tmp/release/qtservice_unix.o .tmp/release/qtunixsocket.o .tmp/release/qtunixserversocket.o .tmp/release/Builder.o .tmp/release/SearchResult.o .tmp/release/CoreConnection.o .tmp/release/BrowseResult.o .tmp/release/common.pb.o .tmp/release/CoreController.o .tmp/release/gui_protocol.pb.o .tmp/release/Log.o .tmp/release/InternalCoreConnection.o .tmp/release/moc_qtunixsocket.o .tmp/release/moc_qtunixserversocket.o .tmp/release/moc_SearchResult.o .tmp/release/moc_CoreConnection.o .tmp/release/moc_BrowseResult.o .tmp/release/moc_ISearchResult.o .tmp/release/moc_IBrowseResult.o .tmp/release/moc_ICoreConnection.o .tmp/release/moc_CoreController.o .tmp/release/moc_InternalCoreConnection.o +make: Leaving directory '/workspaces/D-LAN/application/Common/RemoteCoreController' +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling FileManager.. +make: Entering directory '/workspaces/D-LAN/application/Core/FileManager' +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_IGetHashesResult.cpp .tmp/release/moc_IFileManager.cpp .tmp/release/moc_FileManager.cpp .tmp/release/moc_FileUpdater.cpp .tmp/release/moc_Cache.cpp .tmp/release/moc_GetHashesResult.cpp .tmp/release/moc_FilePool.cpp .tmp/release/moc_FileHasher.cpp .tmp/release/moc_IGetEntriesResult.cpp .tmp/release/moc_GetEntriesResult.cpp +rm -f .tmp/release/WaitConditionLinux.o .tmp/release/DirWatcherLinux.o .tmp/release/Builder.o .tmp/release/FileManager.o .tmp/release/FileUpdater.o .tmp/release/DirWatcher.o .tmp/release/Entry.o .tmp/release/File.o .tmp/release/Directory.o .tmp/release/SharedDirectory.o .tmp/release/Chunks.o .tmp/release/core_protocol.pb.o .tmp/release/common.pb.o .tmp/release/Chunk.o .tmp/release/DataReader.o .tmp/release/DataWriter.o .tmp/release/Cache.o .tmp/release/files_cache.pb.o .tmp/release/WaitCondition.o .tmp/release/GetHashesResult.o .tmp/release/Log.o .tmp/release/Global.o .tmp/release/FilePool.o .tmp/release/FileHasher.o .tmp/release/GetEntriesResult.o .tmp/release/moc_IGetHashesResult.o .tmp/release/moc_IFileManager.o .tmp/release/moc_FileManager.o .tmp/release/moc_FileUpdater.o .tmp/release/moc_Cache.o .tmp/release/moc_GetHashesResult.o .tmp/release/moc_FilePool.o .tmp/release/moc_FileHasher.o .tmp/release/moc_IGetEntriesResult.o .tmp/release/moc_GetEntriesResult.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/Core/FileManager' +make: Entering directory '/workspaces/D-LAN/application/Core/FileManager' +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/WaitConditionLinux.o priv/FileUpdater/WaitConditionLinux.cpp +priv/FileUpdater/WaitConditionLinux.cpp: In member function ‘virtual void FM::WaitConditionLinux::release()’: +priv/FileUpdater/WaitConditionLinux.cpp:56:9: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 56 | write(this->pfd[1], "",1); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/DirWatcherLinux.o priv/FileUpdater/DirWatcherLinux.cpp +priv/FileUpdater/DirWatcherLinux.cpp: In member function ‘virtual const QList FM::DirWatcherLinux::waitEvent(int, QList)’: +priv/FileUpdater/DirWatcherLinux.cpp:276:51: warning: comparison between two arrays [-Warray-compare] + 276 | if (movedDir && fromEvent->name != event->name) + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +priv/FileUpdater/DirWatcherLinux.cpp:276:51: note: use unary ‘+’ which decays operands to pointers or ‘&(fromEvent->inotify_event::name)[0] != &(event->inotify_event::name)[0]’ to compare the addresses +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Builder.o priv/Builder.cpp +In file included from ./priv/Cache/Directory.h:31, + from ./priv/Cache/SharedDirectory.h:25, + from ./priv/Cache/Cache.h:36, + from ./priv/FileManager.h:37, + from priv/Builder.cpp:23: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:65, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSharedPointer:1, + from ./Builder.h:22, + from priv/Builder.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/FileManager.o priv/FileManager.cpp +In file included from ./priv/Cache/Directory.h:31, + from ./priv/Cache/SharedDirectory.h:25, + from ./priv/Cache/Cache.h:36, + from ./priv/FileManager.h:37, + from priv/FileManager.cpp:19: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, + from ./priv/FileManager.h:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +priv/FileManager.cpp: In member function ‘virtual QList FM::FileManager::find(const QString&, int, int)’: +priv/FileManager.cpp:197:66: warning: ‘int google::protobuf::MessageLite::ByteSize() const’ is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations] + 197 | const int EMPTY_FIND_RESULT_SIZE = findResults.last().ByteSize(); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/google/protobuf/any.h:38, + from /usr/include/google/protobuf/generated_message_util.h:52, + from /usr/include/google/protobuf/generated_message_bases.h:40, + from ../../Protos/common.pb.h:26, + from ./priv/FileManager.h:29: +/usr/include/google/protobuf/message_lite.h:381:7: note: declared here + 381 | int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); } + | ^~~~~~~~ +priv/FileManager.cpp:208:53: warning: ‘int google::protobuf::MessageLite::ByteSize() const’ is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations] + 208 | const int entryByteSize = entryLevel->ByteSize() + 8; // Each entry take a bit of memory overhead . . . (Value found in an empiric way . . .). + | ~~~~~~~~~~~~~~~~~~~~^~ +/usr/include/google/protobuf/message_lite.h:381:7: note: declared here + 381 | int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); } + | ^~~~~~~~ +In file included from ./priv/FileManager.h:40: +./priv/WordIndex/WordIndex.h: In instantiation of ‘QList > FM::WordIndex::search(const QStringList&, int) const [with T = FM::Entry*]’: +priv/FileManager.cpp:191:61: required from here +./priv/WordIndex/WordIndex.h:156:76: warning: ‘QSet QList::toSet() const [with T = FM::NodeResult]’ is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] + 156 | results[i] += this->search(words[i], N == 1 ? maxNbResult : -1).toSet(); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSet:1, + from ./priv/WordIndex/Node.h:23, + from ./priv/WordIndex/WordIndex.h:31: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:406:30: note: declared here + 406 | Q_OUTOFLINE_TEMPLATE QSet QList::toSet() const + | ^~~~~~~~ +./priv/WordIndex/WordIndex.h:205:47: warning: ‘QList QSet::toList() const [with T = FM::NodeResult]’ is deprecated: Use values() instead. [-Wdeprecated-declarations] + 205 | nodesToSort << currentLevelSet.toList(); + | ~~~~~~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here + 265 | QList toList() const { return values(); } + | ^~~~~~ +./priv/WordIndex/WordIndex.h:220:12: warning: ‘void qSort(Container&) [with Container = QList >]’ is deprecated: Use std::sort [-Wdeprecated-declarations] + 220 | qSort(nodesToSort); // Sort by level + | ~~~~~^~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:188:46: note: declared here + 188 | QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c) + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/FileUpdater.o priv/FileUpdater/FileUpdater.cpp +In file included from ./priv/Cache/Directory.h:31, + from ./priv/Cache/SharedDirectory.h:25, + from ./priv/Cache/Cache.h:36, + from ./priv/FileManager.h:37, + from priv/FileUpdater/FileUpdater.cpp:33: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qthread.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QThread:1, + from ./priv/FileUpdater/FileUpdater.h:22, + from priv/FileUpdater/FileUpdater.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +priv/FileUpdater/FileUpdater.cpp: In member function ‘void FM::FileUpdater::scan(FM::Directory*, bool)’: +priv/FileUpdater/FileUpdater.cpp:437:4: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 437 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +priv/FileUpdater/FileUpdater.cpp:444:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 444 | QLinkedList currentSubDirs = currentDir->getSubDirs(); + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +priv/FileUpdater/FileUpdater.cpp: In member function ‘void FM::FileUpdater::restoreFromFileCache(FM::SharedDirectory*)’: +priv/FileUpdater/FileUpdater.cpp:645:136: warning: ‘QSet QList::toSet() const [with T = FM::File*]’ is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] + 645 | QSet filesWithHashes = dir->restoreFromFileCache(this->fileCacheInformation->getFileCache()->shareddir(i).root()).toSet(); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:413:13: note: declared here + 413 | QSet toSet() const; + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/DirWatcher.o priv/FileUpdater/DirWatcher.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Entry.o priv/Cache/Entry.cpp +In file included from ./priv/Cache/Directory.h:31, + from ./priv/Cache/SharedDirectory.h:25, + from ./priv/Cache/Cache.h:36, + from ./priv/FileManager.h:37, + from priv/Cache/Entry.cpp:26: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlocale.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QLocale:1, + from ../../Common/ProtoHelper.h:23, + from priv/Cache/Entry.cpp:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/File.o priv/Cache/File.cpp +In file included from ./priv/Cache/Directory.h:31, + from ./priv/Cache/SharedDirectory.h:25, + from ./priv/Cache/Cache.h:36, + from priv/Cache/File.cpp:40: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDeadlineTimer:1, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qwaitcondition.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QWaitCondition:1, + from ./priv/Cache/File.h:26, + from priv/Cache/File.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Directory.o priv/Cache/Directory.cpp +In file included from ./priv/Cache/Directory.h:31, + from priv/Cache/Directory.cpp:19: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qiodevice.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfiledevice.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfile.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfileinfo.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QFileInfo:1, + from ./priv/Cache/Directory.h:24: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +priv/Cache/Directory.cpp: In member function ‘QList FM::Directory::restoreFromFileCache(const Protos::FileCache::Hashes::Dir&)’: +priv/Cache/Directory.cpp:101:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 101 | QLinkedList filesNotInDir = this->files.getList(); + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +priv/Cache/Directory.cpp: In member function ‘void FM::Directory::populateHashesDir(Protos::FileCache::Hashes::Dir&) const’: +priv/Cache/Directory.cpp:130:4: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 130 | QLinkedList subDirsCopy; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +priv/Cache/Directory.cpp:131:4: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 131 | QLinkedList filesCopy; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +priv/Cache/Directory.cpp: At global scope: +priv/Cache/Directory.cpp:298:1: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 298 | QLinkedList Directory::getSubDirs() const + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +priv/Cache/Directory.cpp:304:1: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 304 | QLinkedList Directory::getFiles() const + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QLinkedList:1, + from ../../Common/SortedList.h:22: +In member function ‘void QLinkedList::freeData(QLinkedListData*) [with T = FM::Directory*]’, + inlined from ‘QLinkedList::~QLinkedList() [with T = FM::Directory*]’ at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:301:17, + inlined from ‘QLinkedList::~QLinkedList() [with T = FM::Directory*]’ at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:298:8, + inlined from ‘void QLinkedList::clear() [with T = FM::Directory*]’ at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:378:13, + inlined from ‘void Common::SortedList::clear() [with T = FM::Directory*]’ at ../../Common/SortedList.h:129:20, + inlined from ‘void FM::Directory::stealContent(FM::Directory*)’ at priv/Cache/Directory.cpp:406:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:372:5: warning: ‘void operator delete(void*)’ called on unallocated object ‘QLinkedListData::shared_null’ [-Wfree-nonheap-object] + 372 | delete x; + | ^~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h: In member function ‘void FM::Directory::stealContent(FM::Directory*)’: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:80:48: note: declared here + 80 | Q_CORE_EXPORT static const QLinkedListData shared_null; + | ^~~~~~~~~~~ +In member function ‘void QLinkedList::freeData(QLinkedListData*) [with T = FM::File*]’, + inlined from ‘QLinkedList::~QLinkedList() [with T = FM::File*]’ at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:301:17, + inlined from ‘QLinkedList::~QLinkedList() [with T = FM::File*]’ at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:298:8, + inlined from ‘void QLinkedList::clear() [with T = FM::File*]’ at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:378:13, + inlined from ‘void Common::SortedList::clear() [with T = FM::File*]’ at ../../Common/SortedList.h:129:20, + inlined from ‘void FM::Directory::stealContent(FM::Directory*)’ at priv/Cache/Directory.cpp:407:20: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:372:5: warning: ‘void operator delete(void*)’ called on unallocated object ‘QLinkedListData::shared_null’ [-Wfree-nonheap-object] + 372 | delete x; + | ^~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h: In member function ‘void FM::Directory::stealContent(FM::Directory*)’: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qlinkedlist.h:80:48: note: declared here + 80 | Q_CORE_EXPORT static const QLinkedListData shared_null; + | ^~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/SharedDirectory.o priv/Cache/SharedDirectory.cpp +In file included from ./priv/Cache/Directory.h:31, + from ./priv/Cache/SharedDirectory.h:25, + from priv/Cache/SharedDirectory.cpp:19: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qiodevice.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatastream.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDataStream:1, + from ../../Common/Hash.h:30, + from ./priv/Cache/SharedDirectory.h:24: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +priv/Cache/SharedDirectory.cpp: In member function ‘void FM::SharedDirectory::mergeSubSharedDirectories()’: +priv/Cache/SharedDirectory.cpp:67:67: warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] + 67 | const QStringList& parentFolders = this->getFullPath().split('/', QString::SkipEmptyParts); + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1, + from ./priv/Cache/SharedDirectory.h:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:612:17: note: declared here + 612 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ +priv/Cache/SharedDirectory.cpp:68:68: warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] + 68 | const QStringList& childFolders = subDir->getFullPath().split('/', QString::SkipEmptyParts); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:612:17: note: declared here + 612 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Chunks.o priv/ChunkIndex/Chunks.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/core_protocol.pb.o ../../Protos/core_protocol.pb.cc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/common.pb.o ../../Protos/common.pb.cc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Chunk.o priv/Cache/Chunk.cpp +In file included from ./priv/Cache/Directory.h:31, + from ./priv/Cache/SharedDirectory.h:25, + from priv/Cache/Chunk.cpp:27: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:46, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlocale.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QLocale:1, + from ../../Common/Settings.h:24, + from ./priv/Cache/Chunk.h:28, + from priv/Cache/Chunk.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/DataReader.o priv/Cache/DataReader.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/DataWriter.o priv/Cache/DataWriter.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Cache.o priv/Cache/Cache.cpp +In file included from ./priv/Cache/Directory.h:31, + from ./priv/Cache/SharedDirectory.h:25, + from ./priv/Cache/Cache.h:36, + from priv/Cache/Cache.cpp:19: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, + from ./priv/Cache/Cache.h:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +priv/Cache/Cache.cpp: In member function ‘FM::Directory* FM::Cache::getDirectory(const Protos::Common::Entry&) const’: +priv/Cache/Cache.cpp:108:117: warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] + 108 | QStringList folders = QDir::cleanPath(Common::ProtoHelper::getStr(dir, &Protos::Common::Entry::path)).split('/', QString::SkipEmptyParts); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:612:17: note: declared here + 612 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ +priv/Cache/Cache.cpp: In member function ‘FM::Entry* FM::Cache::getEntry(const QString&) const’: +priv/Cache/Cache.cpp:147:56: warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] + 147 | const QStringList folders = relativePath.split('/', QString::SkipEmptyParts); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:612:17: note: declared here + 612 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ +priv/Cache/Cache.cpp: In member function ‘FM::File* FM::Cache::getFile(const Protos::Common::Entry&) const’: +priv/Cache/Cache.cpp:192:56: warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] + 192 | const QStringList folders = relativePath.split('/', QString::SkipEmptyParts); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:612:17: note: declared here + 612 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ +priv/Cache/Cache.cpp: In member function ‘QList > FM::Cache::newFile(Protos::Common::Entry&)’: +priv/Cache/Cache.cpp:251:54: warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] + 251 | dir = sharedDir->createSubDirs(dirPath.split('/', QString::SkipEmptyParts), true); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:612:17: note: declared here + 612 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ +priv/Cache/Cache.cpp: In member function ‘void FM::Cache::newDirectory(Protos::Common::Entry&)’: +priv/Cache/Cache.cpp:332:54: warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] + 332 | dir = sharedDir->createSubDirs(dirPath.split('/', QString::SkipEmptyParts), true); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:612:17: note: declared here + 612 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ +priv/Cache/Cache.cpp: In member function ‘FM::SharedDirectory* FM::Cache::getSuperSharedDirectory(const QString&) const’: +priv/Cache/Cache.cpp:475:43: warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] + 475 | const QStringList& folders = path.split('/', QString::SkipEmptyParts); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:612:17: note: declared here + 612 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ +priv/Cache/Cache.cpp:480:72: warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] + 480 | const QStringList& foldersShared = sharedDir->getFullPath().split('/', QString::SkipEmptyParts); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:612:17: note: declared here + 612 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ +priv/Cache/Cache.cpp: In member function ‘QList FM::Cache::getSubSharedDirectories(const QString&) const’: +priv/Cache/Cache.cpp:500:43: warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] + 500 | const QStringList& folders = path.split('/', QString::SkipEmptyParts); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:612:17: note: declared here + 612 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ +priv/Cache/Cache.cpp:505:72: warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] + 505 | const QStringList& foldersShared = sharedDir->getFullPath().split('/', QString::SkipEmptyParts); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:612:17: note: declared here + 612 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ +priv/Cache/Cache.cpp: In member function ‘FM::Directory* FM::Cache::getFittestDirectory(const QString&) const’: +priv/Cache/Cache.cpp:552:56: warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] + 552 | const QStringList folders = relativePath.split('/', QString::SkipEmptyParts); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:612:17: note: declared here + 612 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ +priv/Cache/Cache.cpp: In member function ‘FM::Directory* FM::Cache::getWriteableDirectory(const QString&, qint64) const’: +priv/Cache/Cache.cpp:745:42: warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] + 745 | const QStringList folders = path.split('/', QString::SkipEmptyParts); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:612:17: note: declared here + 612 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/files_cache.pb.o ../../Protos/files_cache.pb.cc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/WaitCondition.o priv/FileUpdater/WaitCondition.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/GetHashesResult.o priv/GetHashesResult.cpp +In file included from ./priv/Cache/Directory.h:31, + from ./priv/Cache/SharedDirectory.h:25, + from ./priv/Cache/Cache.h:36, + from ./priv/GetHashesResult.h:30, + from priv/GetHashesResult.cpp:19: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, + from ./priv/GetHashesResult.h:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Log.o priv/Log.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Global.o priv/Global.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/FilePool.o priv/Cache/FilePool.cpp +priv/Cache/FilePool.cpp: In member function ‘void FM::FilePool::release(QFile*, bool)’: +priv/Cache/FilePool.cpp:118:42: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 118 | openedFile.releasedTime.start(); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTime:1, + from ./priv/Cache/FilePool.h:25, + from priv/Cache/FilePool.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +priv/Cache/FilePool.cpp: In member function ‘void FM::FilePool::tryToDeleteReleasedFiles()’: +priv/Cache/FilePool.cpp:167:45: warning: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 167 | if (openedFile.releasedTime.elapsed() > TIME_KEEP_FILE_OPEN_MIN) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:237:54: note: declared here + 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; + | ^~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/FileHasher.o priv/Cache/FileHasher.cpp +In file included from ./priv/Cache/Directory.h:31, + from ./priv/Cache/SharedDirectory.h:25, + from ./priv/Cache/Cache.h:36, + from priv/Cache/FileHasher.cpp:33: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, + from ./priv/Cache/FileHasher.h:22, + from priv/Cache/FileHasher.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/GetEntriesResult.o priv/GetEntriesResult.cpp +In file included from ./priv/Cache/Directory.h:31, + from ./priv/Cache/SharedDirectory.h:25, + from ./priv/Cache/Cache.h:36, + from ./priv/GetEntriesResult.h:27, + from priv/GetEntriesResult.cpp:19: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, + from ./priv/GetEntriesResult.h:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +g++ -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/FileManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include IGetHashesResult.h -o .tmp/release/moc_IGetHashesResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_IGetHashesResult.o .tmp/release/moc_IGetHashesResult.cpp +/usr/lib/qt5/bin/moc -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/FileManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include IFileManager.h -o .tmp/release/moc_IFileManager.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_IFileManager.o .tmp/release/moc_IFileManager.cpp +/usr/lib/qt5/bin/moc -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/FileManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/FileManager.h -o .tmp/release/moc_FileManager.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_FileManager.o .tmp/release/moc_FileManager.cpp +In file included from ./priv/Cache/Directory.h:31, + from ./priv/Cache/SharedDirectory.h:25, + from ./priv/Cache/Cache.h:36, + from .tmp/release/../../priv/FileManager.h:37, + from .tmp/release/moc_FileManager.cpp:10: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, + from .tmp/release/../../priv/FileManager.h:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +/usr/lib/qt5/bin/moc -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/FileManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/FileUpdater/FileUpdater.h -o .tmp/release/moc_FileUpdater.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_FileUpdater.o .tmp/release/moc_FileUpdater.cpp +/usr/lib/qt5/bin/moc -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/FileManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/Cache/Cache.h -o .tmp/release/moc_Cache.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_Cache.o .tmp/release/moc_Cache.cpp +In file included from ./priv/Cache/Directory.h:31, + from ./priv/Cache/SharedDirectory.h:25, + from .tmp/release/../../priv/Cache/Cache.h:36, + from .tmp/release/moc_Cache.cpp:10: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, + from .tmp/release/../../priv/Cache/Cache.h:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +/usr/lib/qt5/bin/moc -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/FileManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/GetHashesResult.h -o .tmp/release/moc_GetHashesResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_GetHashesResult.o .tmp/release/moc_GetHashesResult.cpp +In file included from ./priv/Cache/Directory.h:31, + from ./priv/Cache/SharedDirectory.h:25, + from ./priv/Cache/Cache.h:36, + from .tmp/release/../../priv/GetHashesResult.h:30, + from .tmp/release/moc_GetHashesResult.cpp:10: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, + from .tmp/release/../../priv/GetHashesResult.h:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +/usr/lib/qt5/bin/moc -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/FileManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/Cache/FilePool.h -o .tmp/release/moc_FilePool.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_FilePool.o .tmp/release/moc_FilePool.cpp +/usr/lib/qt5/bin/moc -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/FileManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/Cache/FileHasher.h -o .tmp/release/moc_FileHasher.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_FileHasher.o .tmp/release/moc_FileHasher.cpp +/usr/lib/qt5/bin/moc -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/FileManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include IGetEntriesResult.h -o .tmp/release/moc_IGetEntriesResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_IGetEntriesResult.o .tmp/release/moc_IGetEntriesResult.cpp +/usr/lib/qt5/bin/moc -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/FileManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/GetEntriesResult.h -o .tmp/release/moc_GetEntriesResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DFILEMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_GetEntriesResult.o .tmp/release/moc_GetEntriesResult.cpp +In file included from ./priv/Cache/Directory.h:31, + from ./priv/Cache/SharedDirectory.h:25, + from ./priv/Cache/Cache.h:36, + from .tmp/release/../../priv/GetEntriesResult.h:27, + from .tmp/release/moc_GetEntriesResult.cpp:10: +../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, + from .tmp/release/../../priv/GetEntriesResult.h:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +rm -f output/release/libFileManager.a +ar cqs output/release/libFileManager.a .tmp/release/WaitConditionLinux.o .tmp/release/DirWatcherLinux.o .tmp/release/Builder.o .tmp/release/FileManager.o .tmp/release/FileUpdater.o .tmp/release/DirWatcher.o .tmp/release/Entry.o .tmp/release/File.o .tmp/release/Directory.o .tmp/release/SharedDirectory.o .tmp/release/Chunks.o .tmp/release/core_protocol.pb.o .tmp/release/common.pb.o .tmp/release/Chunk.o .tmp/release/DataReader.o .tmp/release/DataWriter.o .tmp/release/Cache.o .tmp/release/files_cache.pb.o .tmp/release/WaitCondition.o .tmp/release/GetHashesResult.o .tmp/release/Log.o .tmp/release/Global.o .tmp/release/FilePool.o .tmp/release/FileHasher.o .tmp/release/GetEntriesResult.o .tmp/release/moc_IGetHashesResult.o .tmp/release/moc_IFileManager.o .tmp/release/moc_FileManager.o .tmp/release/moc_FileUpdater.o .tmp/release/moc_Cache.o .tmp/release/moc_GetHashesResult.o .tmp/release/moc_FilePool.o .tmp/release/moc_FileHasher.o .tmp/release/moc_IGetEntriesResult.o .tmp/release/moc_GetEntriesResult.o +make: Leaving directory '/workspaces/D-LAN/application/Core/FileManager' +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling TestsFileManager.. +make: Entering directory '/workspaces/D-LAN/application/Core/FileManager/TestsFileManager' +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_Tests.cpp .tmp/release/moc_HashesReceiver.cpp .tmp/release/moc_StressTest.cpp .tmp/release/moc_StressTests.cpp +rm -f .tmp/release/main.o .tmp/release/Tests.o .tmp/release/common.pb.o .tmp/release/HashesReceiver.o .tmp/release/StressTest.o .tmp/release/core_settings.pb.o .tmp/release/StressTests.o .tmp/release/moc_Tests.o .tmp/release/moc_HashesReceiver.o .tmp/release/moc_StressTest.o .tmp/release/moc_StressTests.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/Core/FileManager/TestsFileManager' +make: Entering directory '/workspaces/D-LAN/application/Core/FileManager/TestsFileManager' +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/FileManager/TestsFileManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/main.o main.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/FileManager/TestsFileManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Tests.o Tests.cpp +Tests.cpp: In member function ‘void Tests::findFilesWithResultFragmentation()’: +Tests.cpp:605:80: warning: ‘int google::protobuf::MessageLite::ByteSize() const’ is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations] + 605 | qDebug() << "Fragment number " << i << ", size = " << results[i].ByteSize(); + | ~~~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/google/protobuf/any.h:38, + from /usr/include/google/protobuf/generated_message_util.h:52, + from /usr/include/google/protobuf/generated_message_bases.h:40, + from ../../../Protos/common.pb.h:26, + from ./Tests.h:25, + from Tests.cpp:19: +/usr/include/google/protobuf/message_lite.h:381:7: note: declared here + 381 | int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); } + | ^~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtest.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtTest/QTest:1, + from ./Tests.h:22: +Tests.cpp:606:34: warning: ‘int google::protobuf::MessageLite::ByteSize() const’ is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations] + 606 | QVERIFY(results[i].ByteSize() <= FRAGMENT_MAX_SIZE); + | ~~~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:65:43: note: in definition of macro ‘QVERIFY’ + 65 | if (!QTest::qVerify(static_cast(statement), #statement, "", __FILE__, __LINE__))\ + | ^~~~~~~~~ +/usr/include/google/protobuf/message_lite.h:381:7: note: declared here + 381 | int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); } + | ^~~~~~~~ +In file included from ../priv/Cache/Directory.h:31, + from Tests.cpp:660: +../../../Common/SortedList.h: At global scope: +../../../Common/SortedList.h:48:20: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | inline const QLinkedList& getList() const { return this->list; } + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:47: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../../../Common/SortedList.h:52:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 52 | QLinkedList list; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../priv/Cache/Directory.h:75:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 75 | QLinkedList getSubDirs() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../priv/Cache/Directory.h:77:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 77 | QLinkedList getFiles() const; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +../priv/Cache/Directory.h:124:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 124 | QLinkedList dirsToVisit; + | ^~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/FileManager/TestsFileManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/common.pb.o ../../../Protos/common.pb.cc +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/FileManager/TestsFileManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/HashesReceiver.o HashesReceiver.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/FileManager/TestsFileManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/StressTest.o StressTest.cpp +StressTest.cpp: In member function ‘void StressTest::doASearch()’: +StressTest.cpp:339:14: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 339 | time.start(); + | ~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtest.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtTest/QTest:1, + from StressTest.cpp:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +StressTest.cpp:354:28: warning: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 354 | int delta = time.elapsed(); + | ~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:237:54: note: declared here + 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; + | ^~~~~~~ +StressTest.cpp: In member function ‘void StressTest::getChunk()’: +StressTest.cpp:381:14: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 381 | time.start(); + | ~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +StressTest.cpp:408:74: warning: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 408 | qDebug() << "Time elapsed for " << i << " getChunk : " << time.elapsed() << " ms"; + | ~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:237:54: note: declared here + 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; + | ^~~~~~~ +StressTest.cpp: In member function ‘void StressTest::haveChunk()’: +StressTest.cpp:484:14: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 484 | time.start(); + | ~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +StressTest.cpp:487:88: warning: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 487 | qDebug() << "Ask for" << hashes.size() << "hashe(s). Request time :" << time.elapsed() << "ms"; + | ~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:237:54: note: declared here + 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; + | ^~~~~~~ +StressTest.cpp: In member function ‘void StressTest::getEntries()’: +StressTest.cpp:523:14: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 523 | time.start(); + | ~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +StressTest.cpp:551:66: warning: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 551 | qDebug() << "Time for " << n << " searches : " << time.elapsed() << " ms"; + | ~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:237:54: note: declared here + 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; + | ^~~~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/FileManager/TestsFileManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/core_settings.pb.o ../../../Protos/core_settings.pb.cc +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/FileManager/TestsFileManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/StressTests.o StressTests.cpp +g++ -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/FileManager/TestsFileManager"' --include /workspaces/D-LAN/application/Core/FileManager/TestsFileManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/FileManager/TestsFileManager -I/workspaces/D-LAN/application/Core/FileManager/TestsFileManager -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Tests.h -o .tmp/release/moc_Tests.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/FileManager/TestsFileManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_Tests.o .tmp/release/moc_Tests.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/FileManager/TestsFileManager"' --include /workspaces/D-LAN/application/Core/FileManager/TestsFileManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/FileManager/TestsFileManager -I/workspaces/D-LAN/application/Core/FileManager/TestsFileManager -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include HashesReceiver.h -o .tmp/release/moc_HashesReceiver.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/FileManager/TestsFileManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_HashesReceiver.o .tmp/release/moc_HashesReceiver.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/FileManager/TestsFileManager"' --include /workspaces/D-LAN/application/Core/FileManager/TestsFileManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/FileManager/TestsFileManager -I/workspaces/D-LAN/application/Core/FileManager/TestsFileManager -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include StressTest.h -o .tmp/release/moc_StressTest.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/FileManager/TestsFileManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_StressTest.o .tmp/release/moc_StressTest.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/FileManager/TestsFileManager"' --include /workspaces/D-LAN/application/Core/FileManager/TestsFileManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/FileManager/TestsFileManager -I/workspaces/D-LAN/application/Core/FileManager/TestsFileManager -I/workspaces/D-LAN/application/Core/FileManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include StressTests.h -o .tmp/release/moc_StressTests.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/FileManager/TestsFileManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_StressTests.o .tmp/release/moc_StressTests.cpp +g++ -Wl,-O1 -o output/release/TestsFileManager .tmp/release/main.o .tmp/release/Tests.o .tmp/release/common.pb.o .tmp/release/HashesReceiver.o .tmp/release/StressTest.o .tmp/release/core_settings.pb.o .tmp/release/StressTests.o .tmp/release/moc_Tests.o .tmp/release/moc_HashesReceiver.o .tmp/release/moc_StressTest.o .tmp/release/moc_StressTests.o -L../output/release -lFileManager -L../../../Common/output/release -lCommon -lprotobuf -L../../../Common/LogManager/output/release -lLogManager /usr/lib/x86_64-linux-gnu/libQt5Test.so /usr/lib/x86_64-linux-gnu/libQt5Network.so /usr/lib/x86_64-linux-gnu/libQt5Core.so -lpthread +make: Leaving directory '/workspaces/D-LAN/application/Core/FileManager/TestsFileManager' +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling PeerManager.. +make: Entering directory '/workspaces/D-LAN/application/Core/PeerManager' +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_IPeerManager.cpp .tmp/release/moc_PeerManager.cpp .tmp/release/moc_Peer.cpp .tmp/release/moc_ConnectionPool.cpp .tmp/release/moc_PeerMessageSocket.cpp .tmp/release/moc_IGetEntriesResult.cpp .tmp/release/moc_IGetHashesResult.cpp .tmp/release/moc_IGetChunkResult.cpp .tmp/release/moc_GetEntriesResult.cpp .tmp/release/moc_GetHashesResult.cpp .tmp/release/moc_GetChunkResult.cpp .tmp/release/moc_PeerSelf.cpp +rm -f .tmp/release/PeerManager.o .tmp/release/Peer.o .tmp/release/Builder.o .tmp/release/ConnectionPool.o .tmp/release/GetEntriesResult.o .tmp/release/GetHashesResult.o .tmp/release/GetChunkResult.o .tmp/release/Log.o .tmp/release/PeerSelf.o .tmp/release/PeerMessageSocket.o .tmp/release/moc_IPeerManager.o .tmp/release/moc_PeerManager.o .tmp/release/moc_Peer.o .tmp/release/moc_ConnectionPool.o .tmp/release/moc_PeerMessageSocket.o .tmp/release/moc_IGetEntriesResult.o .tmp/release/moc_IGetHashesResult.o .tmp/release/moc_IGetChunkResult.o .tmp/release/moc_GetEntriesResult.o .tmp/release/moc_GetHashesResult.o .tmp/release/moc_GetChunkResult.o .tmp/release/moc_PeerSelf.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/Core/PeerManager' +make: Entering directory '/workspaces/D-LAN/application/Core/PeerManager' +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/PeerManager.o priv/PeerManager.cpp +In file included from priv/PeerManager.cpp:19: +./priv/PeerManager.h: In constructor ‘PM::PendingSocket::PendingSocket(QTcpSocket*)’: +./priv/PeerManager.h:46:73: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 46 | PendingSocket(QTcpSocket* socket) : socket(socket) { this->t.start(); } + | ~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTime:1, + from ./priv/PeerManager.h:25: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +priv/PeerManager.cpp: In member function ‘void PM::PeerManager::checkIdlePendingSockets()’: +priv/PeerManager.cpp:244:34: warning: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 244 | if (pendingSocket.t.elapsed() > SOCKET_TIMEOUT) + | ~~~~~~~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:237:54: note: declared here + 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; + | ^~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Peer.o priv/Peer.cpp +In file included from priv/Peer.cpp:28: +./priv/PeerManager.h: In constructor ‘PM::PendingSocket::PendingSocket(QTcpSocket*)’: +./priv/PeerManager.h:46:73: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 46 | PendingSocket(QTcpSocket* socket) : socket(socket) { this->t.start(); } + | ~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QtNetworkDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QtNetwork:3, + from ./priv/ConnectionPool.h:22, + from ./priv/Peer.h:39, + from priv/Peer.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Builder.o priv/Builder.cpp +In file included from priv/Builder.cpp:23: +./priv/PeerManager.h: In constructor ‘PM::PendingSocket::PendingSocket(QTcpSocket*)’: +./priv/PeerManager.h:46:73: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 46 | PendingSocket(QTcpSocket* socket) : socket(socket) { this->t.start(); } + | ~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QtNetworkDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QtNetwork:3, + from ./IPeerManager.h:23, + from priv/Builder.cpp:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/ConnectionPool.o priv/ConnectionPool.cpp +In file included from priv/ConnectionPool.cpp:28: +./priv/PeerManager.h: In constructor ‘PM::PendingSocket::PendingSocket(QTcpSocket*)’: +./priv/PeerManager.h:46:73: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 46 | PendingSocket(QTcpSocket* socket) : socket(socket) { this->t.start(); } + | ~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QtNetworkDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QtNetwork:3, + from ./priv/ConnectionPool.h:22, + from priv/ConnectionPool.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/GetEntriesResult.o priv/GetEntriesResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/GetHashesResult.o priv/GetHashesResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/GetChunkResult.o priv/GetChunkResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Log.o priv/Log.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/PeerSelf.o priv/PeerSelf.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/PeerMessageSocket.o priv/PeerMessageSocket.cpp +In file included from priv/PeerMessageSocket.cpp:32: +./priv/PeerManager.h: In constructor ‘PM::PendingSocket::PendingSocket(QTcpSocket*)’: +./priv/PeerManager.h:46:73: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 46 | PendingSocket(QTcpSocket* socket) : socket(socket) { this->t.start(); } + | ~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDateTime:1, + from ./priv/PeerMessageSocket.h:23, + from priv/PeerMessageSocket.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +g++ -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/PeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include IPeerManager.h -o .tmp/release/moc_IPeerManager.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_IPeerManager.o .tmp/release/moc_IPeerManager.cpp +/usr/lib/qt5/bin/moc -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/PeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/PeerManager.h -o .tmp/release/moc_PeerManager.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_PeerManager.o .tmp/release/moc_PeerManager.cpp +In file included from .tmp/release/moc_PeerManager.cpp:10: +.tmp/release/../../priv/PeerManager.h: In constructor ‘PM::PendingSocket::PendingSocket(QTcpSocket*)’: +.tmp/release/../../priv/PeerManager.h:46:73: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 46 | PendingSocket(QTcpSocket* socket) : socket(socket) { this->t.start(); } + | ~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTime:1, + from .tmp/release/../../priv/PeerManager.h:25: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +/usr/lib/qt5/bin/moc -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/PeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/Peer.h -o .tmp/release/moc_Peer.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_Peer.o .tmp/release/moc_Peer.cpp +/usr/lib/qt5/bin/moc -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/PeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/ConnectionPool.h -o .tmp/release/moc_ConnectionPool.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_ConnectionPool.o .tmp/release/moc_ConnectionPool.cpp +/usr/lib/qt5/bin/moc -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/PeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/PeerMessageSocket.h -o .tmp/release/moc_PeerMessageSocket.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_PeerMessageSocket.o .tmp/release/moc_PeerMessageSocket.cpp +/usr/lib/qt5/bin/moc -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/PeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include IGetEntriesResult.h -o .tmp/release/moc_IGetEntriesResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_IGetEntriesResult.o .tmp/release/moc_IGetEntriesResult.cpp +/usr/lib/qt5/bin/moc -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/PeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include IGetHashesResult.h -o .tmp/release/moc_IGetHashesResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_IGetHashesResult.o .tmp/release/moc_IGetHashesResult.cpp +/usr/lib/qt5/bin/moc -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/PeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include IGetChunkResult.h -o .tmp/release/moc_IGetChunkResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_IGetChunkResult.o .tmp/release/moc_IGetChunkResult.cpp +/usr/lib/qt5/bin/moc -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/PeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/GetEntriesResult.h -o .tmp/release/moc_GetEntriesResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_GetEntriesResult.o .tmp/release/moc_GetEntriesResult.cpp +/usr/lib/qt5/bin/moc -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/PeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/GetHashesResult.h -o .tmp/release/moc_GetHashesResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_GetHashesResult.o .tmp/release/moc_GetHashesResult.cpp +/usr/lib/qt5/bin/moc -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/PeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/GetChunkResult.h -o .tmp/release/moc_GetChunkResult.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_GetChunkResult.o .tmp/release/moc_GetChunkResult.cpp +/usr/lib/qt5/bin/moc -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/PeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/PeerSelf.h -o .tmp/release/moc_PeerSelf.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DPEERMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_PeerSelf.o .tmp/release/moc_PeerSelf.cpp +rm -f output/release/libPeerManager.a +ar cqs output/release/libPeerManager.a .tmp/release/PeerManager.o .tmp/release/Peer.o .tmp/release/Builder.o .tmp/release/ConnectionPool.o .tmp/release/GetEntriesResult.o .tmp/release/GetHashesResult.o .tmp/release/GetChunkResult.o .tmp/release/Log.o .tmp/release/PeerSelf.o .tmp/release/PeerMessageSocket.o .tmp/release/moc_IPeerManager.o .tmp/release/moc_PeerManager.o .tmp/release/moc_Peer.o .tmp/release/moc_ConnectionPool.o .tmp/release/moc_PeerMessageSocket.o .tmp/release/moc_IGetEntriesResult.o .tmp/release/moc_IGetHashesResult.o .tmp/release/moc_IGetChunkResult.o .tmp/release/moc_GetEntriesResult.o .tmp/release/moc_GetHashesResult.o .tmp/release/moc_GetChunkResult.o .tmp/release/moc_PeerSelf.o +make: Leaving directory '/workspaces/D-LAN/application/Core/PeerManager' +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling TestsPeerManager.. +make: Entering directory '/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager' +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_Tests.cpp .tmp/release/moc_TestServer.cpp .tmp/release/moc_PeerUpdater.cpp .tmp/release/moc_ResultListener.cpp +rm -f .tmp/release/main.o .tmp/release/Tests.o .tmp/release/common.pb.o .tmp/release/TestServer.o .tmp/release/PeerUpdater.o .tmp/release/ResultListener.o .tmp/release/core_settings.pb.o .tmp/release/moc_Tests.o .tmp/release/moc_TestServer.o .tmp/release/moc_PeerUpdater.o .tmp/release/moc_ResultListener.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager' +make: Entering directory '/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager' +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/main.o main.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Tests.o Tests.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/common.pb.o ../../../Protos/common.pb.cc +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/TestServer.o TestServer.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/PeerUpdater.o PeerUpdater.cpp +In file included from PeerUpdater.cpp:24: +../../../Core/PeerManager/priv/PeerManager.h: In constructor ‘PM::PendingSocket::PendingSocket(QTcpSocket*)’: +../../../Core/PeerManager/priv/PeerManager.h:46:73: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] + 46 | PendingSocket(QTcpSocket* socket) : socket(socket) { this->t.start(); } + | ~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QtNetworkDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QtNetwork:3, + from ../../../Core/PeerManager/IPeerManager.h:23, + from ./PeerUpdater.h:28, + from PeerUpdater.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:235:55: note: declared here + 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/ResultListener.o ResultListener.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/core_settings.pb.o ../../../Protos/core_settings.pb.cc +g++ -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager"' --include /workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager -I/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Tests.h -o .tmp/release/moc_Tests.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_Tests.o .tmp/release/moc_Tests.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager"' --include /workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager -I/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include TestServer.h -o .tmp/release/moc_TestServer.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_TestServer.o .tmp/release/moc_TestServer.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager"' --include /workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager -I/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include PeerUpdater.h -o .tmp/release/moc_PeerUpdater.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_PeerUpdater.o .tmp/release/moc_PeerUpdater.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager"' --include /workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager -I/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager -I/workspaces/D-LAN/application/Core/PeerManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ResultListener.h -o .tmp/release/moc_ResultListener.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager"' -I. -I. -I.. -I../../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtTest -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_ResultListener.o .tmp/release/moc_ResultListener.cpp +g++ -Wl,-O1 -o output/release/TestsPeerManager .tmp/release/main.o .tmp/release/Tests.o .tmp/release/common.pb.o .tmp/release/TestServer.o .tmp/release/PeerUpdater.o .tmp/release/ResultListener.o .tmp/release/core_settings.pb.o .tmp/release/moc_Tests.o .tmp/release/moc_TestServer.o .tmp/release/moc_PeerUpdater.o .tmp/release/moc_ResultListener.o -L../output/release -lPeerManager -L../../FileManager/output/release -lFileManager -L../../../Common/output/release -lCommon -lprotobuf -L../../../Common/LogManager/output/release -lLogManager /usr/lib/x86_64-linux-gnu/libQt5Test.so /usr/lib/x86_64-linux-gnu/libQt5Network.so /usr/lib/x86_64-linux-gnu/libQt5Core.so -lpthread +make: Leaving directory '/workspaces/D-LAN/application/Core/PeerManager/TestsPeerManager' +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling UploadManager.. +make: Entering directory '/workspaces/D-LAN/application/Core/UploadManager' +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_UploadManager.cpp +rm -f .tmp/release/UploadManager.o .tmp/release/Log.o .tmp/release/ChunkUploader.o .tmp/release/Builder.o .tmp/release/moc_UploadManager.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/Core/UploadManager' +make: Entering directory '/workspaces/D-LAN/application/Core/UploadManager' +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DUPLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/UploadManager.o priv/UploadManager.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DUPLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Log.o priv/Log.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DUPLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/ChunkUploader.o priv/ChunkUploader.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DUPLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Builder.o priv/Builder.cpp +g++ -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DUPLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/UploadManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/UploadManager -I/workspaces/D-LAN/application/Core/UploadManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/UploadManager.h -o .tmp/release/moc_UploadManager.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DUPLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_UploadManager.o .tmp/release/moc_UploadManager.cpp +rm -f output/release/libUploadManager.a +ar cqs output/release/libUploadManager.a .tmp/release/UploadManager.o .tmp/release/Log.o .tmp/release/ChunkUploader.o .tmp/release/Builder.o .tmp/release/moc_UploadManager.o +make: Leaving directory '/workspaces/D-LAN/application/Core/UploadManager' +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling DownloadManager.. +make: Entering directory '/workspaces/D-LAN/application/Core/DownloadManager' +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_FileDownload.cpp .tmp/release/moc_DownloadManager.cpp .tmp/release/moc_Download.cpp .tmp/release/moc_DirDownload.cpp .tmp/release/moc_OccupiedPeers.cpp .tmp/release/moc_DownloadQueue.cpp .tmp/release/moc_ChunkDownloader.cpp +rm -f .tmp/release/FileDownload.o .tmp/release/DownloadManager.o .tmp/release/Download.o .tmp/release/DirDownload.o .tmp/release/common.pb.o .tmp/release/Builder.o .tmp/release/OccupiedPeers.o .tmp/release/queue.pb.o .tmp/release/Log.o .tmp/release/DownloadPredicate.o .tmp/release/DownloadQueue.o .tmp/release/ChunkDownloader.o .tmp/release/Utils.o .tmp/release/moc_FileDownload.o .tmp/release/moc_DownloadManager.o .tmp/release/moc_Download.o .tmp/release/moc_DirDownload.o .tmp/release/moc_OccupiedPeers.o .tmp/release/moc_DownloadQueue.o .tmp/release/moc_ChunkDownloader.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/Core/DownloadManager' +make: Entering directory '/workspaces/D-LAN/application/Core/DownloadManager' +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/FileDownload.o priv/FileDownload.cpp +priv/FileDownload.cpp: In member function ‘virtual QSet DM::FileDownload::getPeers() const’: +priv/FileDownload.cpp:182:42: warning: ‘QSet QList::toSet() const [with T = PM::IPeer*]’ is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] + 182 | peers += i.next()->getPeers().toSet(); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:52, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborcommon.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QtNetworkDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QtNetwork:3, + from ../../Core/PeerManager/IPeerManager.h:23, + from ./priv/FileDownload.h:31, + from priv/FileDownload.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:406:30: note: declared here + 406 | Q_OUTOFLINE_TEMPLATE QSet QList::toSet() const + | ^~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/DownloadManager.o priv/DownloadManager.cpp +priv/DownloadManager.cpp: In member function ‘void DM::DownloadManager::scanTheQueue()’: +priv/DownloadManager.cpp:367:80: warning: ‘QSet QList::toSet() const [with T = PM::IPeer*]’ is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] + 367 | QSet linkedPeersNotOccupied = this->linkedPeers.getPeers().toSet(); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSet:1, + from ./priv/DownloadManager.h:23, + from priv/DownloadManager.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:406:30: note: declared here + 406 | Q_OUTOFLINE_TEMPLATE QSet QList::toSet() const + | ^~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Download.o priv/Download.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/DirDownload.o priv/DirDownload.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/common.pb.o ../../Protos/common.pb.cc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Builder.o priv/Builder.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/OccupiedPeers.o priv/OccupiedPeers.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/queue.pb.o ../../Protos/queue.pb.cc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Log.o priv/Log.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/DownloadPredicate.o priv/DownloadPredicate.cpp +priv/DownloadPredicate.cpp: In constructor ‘DM::IsContainedInAList::IsContainedInAList(const QList&)’: +priv/DownloadPredicate.cpp:44:33: warning: ‘QSet QList::toSet() const [with T = long long unsigned int]’ is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] + 44 | downloadIDs(downloadIDs.toSet()) + | ~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSet:1, + from ./priv/DownloadPredicate.h:22, + from priv/DownloadPredicate.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:406:30: note: declared here + 406 | Q_OUTOFLINE_TEMPLATE QSet QList::toSet() const + | ^~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/DownloadQueue.o priv/DownloadQueue.cpp +priv/DownloadQueue.cpp: In member function ‘bool DM::DownloadQueue::pauseDownloads(QList, bool)’: +priv/DownloadQueue.cpp:245:40: warning: ‘QSet QList::toSet() const [with T = long long unsigned int]’ is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] + 245 | QSet IDsRemaining(IDs.toSet()); + | ~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSet:1, + from ./IDownload.h:23, + from ./priv/DownloadQueue.h:35, + from priv/DownloadQueue.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:406:30: note: declared here + 406 | Q_OUTOFLINE_TEMPLATE QSet QList::toSet() const + | ^~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/ChunkDownloader.o priv/ChunkDownloader.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Utils.o priv/Utils.cpp +g++ -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/DownloadManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/DownloadManager -I/workspaces/D-LAN/application/Core/DownloadManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/FileDownload.h -o .tmp/release/moc_FileDownload.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_FileDownload.o .tmp/release/moc_FileDownload.cpp +/usr/lib/qt5/bin/moc -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/DownloadManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/DownloadManager -I/workspaces/D-LAN/application/Core/DownloadManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/DownloadManager.h -o .tmp/release/moc_DownloadManager.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_DownloadManager.o .tmp/release/moc_DownloadManager.cpp +/usr/lib/qt5/bin/moc -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/DownloadManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/DownloadManager -I/workspaces/D-LAN/application/Core/DownloadManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/Download.h -o .tmp/release/moc_Download.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_Download.o .tmp/release/moc_Download.cpp +/usr/lib/qt5/bin/moc -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/DownloadManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/DownloadManager -I/workspaces/D-LAN/application/Core/DownloadManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/DirDownload.h -o .tmp/release/moc_DirDownload.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_DirDownload.o .tmp/release/moc_DirDownload.cpp +/usr/lib/qt5/bin/moc -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/DownloadManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/DownloadManager -I/workspaces/D-LAN/application/Core/DownloadManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/OccupiedPeers.h -o .tmp/release/moc_OccupiedPeers.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_OccupiedPeers.o .tmp/release/moc_OccupiedPeers.cpp +/usr/lib/qt5/bin/moc -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/DownloadManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/DownloadManager -I/workspaces/D-LAN/application/Core/DownloadManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/DownloadQueue.h -o .tmp/release/moc_DownloadQueue.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_DownloadQueue.o .tmp/release/moc_DownloadQueue.cpp +/usr/lib/qt5/bin/moc -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/DownloadManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/DownloadManager -I/workspaces/D-LAN/application/Core/DownloadManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/ChunkDownloader.h -o .tmp/release/moc_ChunkDownloader.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DDOWNLOADMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_ChunkDownloader.o .tmp/release/moc_ChunkDownloader.cpp +rm -f output/release/libDownloadManager.a +ar cqs output/release/libDownloadManager.a .tmp/release/FileDownload.o .tmp/release/DownloadManager.o .tmp/release/Download.o .tmp/release/DirDownload.o .tmp/release/common.pb.o .tmp/release/Builder.o .tmp/release/OccupiedPeers.o .tmp/release/queue.pb.o .tmp/release/Log.o .tmp/release/DownloadPredicate.o .tmp/release/DownloadQueue.o .tmp/release/ChunkDownloader.o .tmp/release/Utils.o .tmp/release/moc_FileDownload.o .tmp/release/moc_DownloadManager.o .tmp/release/moc_Download.o .tmp/release/moc_DirDownload.o .tmp/release/moc_OccupiedPeers.o .tmp/release/moc_DownloadQueue.o .tmp/release/moc_ChunkDownloader.o +make: Leaving directory '/workspaces/D-LAN/application/Core/DownloadManager' +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling NetworkListener.. +make: Entering directory '/workspaces/D-LAN/application/Core/NetworkListener' +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_ISearch.cpp .tmp/release/moc_IChat.cpp .tmp/release/moc_UDPListener.cpp .tmp/release/moc_TCPListener.cpp .tmp/release/moc_Search.cpp .tmp/release/moc_NetworkListener.cpp .tmp/release/moc_Chat.cpp +rm -f .tmp/release/UDPListener.o .tmp/release/TCPListener.o .tmp/release/Search.o .tmp/release/NetworkListener.o .tmp/release/Chat.o .tmp/release/Builder.o .tmp/release/common.pb.o .tmp/release/core_protocol.pb.o .tmp/release/Log.o .tmp/release/Utils.o .tmp/release/moc_ISearch.o .tmp/release/moc_IChat.o .tmp/release/moc_UDPListener.o .tmp/release/moc_TCPListener.o .tmp/release/moc_Search.o .tmp/release/moc_NetworkListener.o .tmp/release/moc_Chat.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/Core/NetworkListener' +make: Entering directory '/workspaces/D-LAN/application/Core/NetworkListener' +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/UDPListener.o priv/UDPListener.cpp +priv/UDPListener.cpp: In member function ‘void NL::UDPListener::sendIMAliveMessage()’: +priv/UDPListener.cpp:163:93: warning: ‘int google::protobuf::MessageLite::ByteSize() const’ is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations] + 163 | int numberOfHashesToSend = (this->MAX_UDP_DATAGRAM_PAYLOAD_SIZE - IMAliveMessage.ByteSize() - Common::MessageHeader::HEADER_SIZE) / HASH_SIZE; + | ~~~~~~~~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/google/protobuf/generated_enum_util.h:38, + from /usr/include/google/protobuf/generated_enum_reflection.h:47, + from /usr/include/google/protobuf/generated_message_reflection.h:46, + from /usr/include/google/protobuf/message.h:124, + from ./priv/UDPListener.h:31, + from priv/UDPListener.cpp:19: +/usr/include/google/protobuf/message_lite.h:381:7: note: declared here + 381 | int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); } + | ^~~~~~~~ +priv/UDPListener.cpp: In member function ‘int NL::UDPListener::writeMessageToBuffer(Common::MessageHeader::MessageType, const google::protobuf::Message&)’: +priv/UDPListener.cpp:457:41: warning: ‘int google::protobuf::MessageLite::ByteSize() const’ is deprecated: Please use ByteSizeLong() instead [-Wdeprecated-declarations] + 457 | const int bodySize = message.ByteSize(); + | ~~~~~~~~~~~~~~~~^~ +/usr/include/google/protobuf/message_lite.h:381:7: note: declared here + 381 | int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); } + | ^~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/TCPListener.o priv/TCPListener.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Search.o priv/Search.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/NetworkListener.o priv/NetworkListener.cpp +In file included from ./priv/NetworkListener.h:35, + from priv/NetworkListener.cpp:19: +./priv/Chat.h:48:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | QLinkedList messagesHistory; ///< The last messages. The first is the older. + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, + from ./priv/NetworkListener.h:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/NetworkListener.h:67:36: warning: ‘QNetworkConfigurationManager’ is deprecated [-Wdeprecated-declarations] + 67 | QNetworkConfigurationManager configManager; + | ^~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QNetworkConfigurationManager:1, + from ./priv/NetworkListener.h:24: +/usr/include/x86_64-linux-gnu/qt5/QtNetwork/qnetworkconfigmanager.h:59:56: note: declared here + 59 | class QT_DEPRECATED_BEARER_MANAGEMENT Q_NETWORK_EXPORT QNetworkConfigurationManager : public QObject + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Chat.o priv/Chat.cpp +In file included from priv/Chat.cpp:19: +./priv/Chat.h:48:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | QLinkedList messagesHistory; ///< The last messages. The first is the older. + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:65, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSharedPointer:1, + from ./priv/Chat.h:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Builder.o priv/Builder.cpp +In file included from ./priv/NetworkListener.h:35, + from priv/Builder.cpp:22: +./priv/Chat.h:48:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | QLinkedList messagesHistory; ///< The last messages. The first is the older. + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:65, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSharedPointer:1, + from ./Builder.h:22, + from priv/Builder.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +./priv/NetworkListener.h:67:36: warning: ‘QNetworkConfigurationManager’ is deprecated [-Wdeprecated-declarations] + 67 | QNetworkConfigurationManager configManager; + | ^~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QtNetwork:30, + from ../../Core/PeerManager/IPeerManager.h:23, + from ./Builder.h:25: +/usr/include/x86_64-linux-gnu/qt5/QtNetwork/qnetworkconfigmanager.h:59:56: note: declared here + 59 | class QT_DEPRECATED_BEARER_MANAGEMENT Q_NETWORK_EXPORT QNetworkConfigurationManager : public QObject + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/common.pb.o ../../Protos/common.pb.cc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/core_protocol.pb.o ../../Protos/core_protocol.pb.cc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Log.o priv/Log.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Utils.o priv/Utils.cpp +g++ -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/NetworkListener/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/NetworkListener -I/workspaces/D-LAN/application/Core/NetworkListener -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ISearch.h -o .tmp/release/moc_ISearch.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_ISearch.o .tmp/release/moc_ISearch.cpp +/usr/lib/qt5/bin/moc -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/NetworkListener/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/NetworkListener -I/workspaces/D-LAN/application/Core/NetworkListener -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include IChat.h -o .tmp/release/moc_IChat.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_IChat.o .tmp/release/moc_IChat.cpp +/usr/lib/qt5/bin/moc -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/NetworkListener/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/NetworkListener -I/workspaces/D-LAN/application/Core/NetworkListener -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/UDPListener.h -o .tmp/release/moc_UDPListener.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_UDPListener.o .tmp/release/moc_UDPListener.cpp +/usr/lib/qt5/bin/moc -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/NetworkListener/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/NetworkListener -I/workspaces/D-LAN/application/Core/NetworkListener -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/TCPListener.h -o .tmp/release/moc_TCPListener.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_TCPListener.o .tmp/release/moc_TCPListener.cpp +/usr/lib/qt5/bin/moc -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/NetworkListener/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/NetworkListener -I/workspaces/D-LAN/application/Core/NetworkListener -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/Search.h -o .tmp/release/moc_Search.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_Search.o .tmp/release/moc_Search.cpp +/usr/lib/qt5/bin/moc -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/NetworkListener/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/NetworkListener -I/workspaces/D-LAN/application/Core/NetworkListener -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/NetworkListener.h -o .tmp/release/moc_NetworkListener.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_NetworkListener.o .tmp/release/moc_NetworkListener.cpp +In file included from .tmp/release/../../priv/NetworkListener.h:35, + from .tmp/release/moc_NetworkListener.cpp:10: +./priv/Chat.h:48:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | QLinkedList messagesHistory; ///< The last messages. The first is the older. + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, + from .tmp/release/../../priv/NetworkListener.h:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +.tmp/release/../../priv/NetworkListener.h:67:36: warning: ‘QNetworkConfigurationManager’ is deprecated [-Wdeprecated-declarations] + 67 | QNetworkConfigurationManager configManager; + | ^~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QNetworkConfigurationManager:1, + from .tmp/release/../../priv/NetworkListener.h:24: +/usr/include/x86_64-linux-gnu/qt5/QtNetwork/qnetworkconfigmanager.h:59:56: note: declared here + 59 | class QT_DEPRECATED_BEARER_MANAGEMENT Q_NETWORK_EXPORT QNetworkConfigurationManager : public QObject + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/lib/qt5/bin/moc -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/NetworkListener/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/NetworkListener -I/workspaces/D-LAN/application/Core/NetworkListener -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/Chat.h -o .tmp/release/moc_Chat.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DNETWORKLISTENER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_Chat.o .tmp/release/moc_Chat.cpp +In file included from .tmp/release/moc_Chat.cpp:10: +.tmp/release/../../priv/Chat.h:48:7: warning: ‘template class QLinkedList’ is deprecated: Use std::list instead [-Wdeprecated-declarations] + 48 | QLinkedList messagesHistory; ///< The last messages. The first is the older. + | ^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:65, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSharedPointer:1, + from .tmp/release/../../priv/Chat.h:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcontainerfwd.h:51:26: note: declared here + 51 | template class QLinkedList; + | ^~~~~~~~~~~ +rm -f output/release/libNetworkListener.a +ar cqs output/release/libNetworkListener.a .tmp/release/UDPListener.o .tmp/release/TCPListener.o .tmp/release/Search.o .tmp/release/NetworkListener.o .tmp/release/Chat.o .tmp/release/Builder.o .tmp/release/common.pb.o .tmp/release/core_protocol.pb.o .tmp/release/Log.o .tmp/release/Utils.o .tmp/release/moc_ISearch.o .tmp/release/moc_IChat.o .tmp/release/moc_UDPListener.o .tmp/release/moc_TCPListener.o .tmp/release/moc_Search.o .tmp/release/moc_NetworkListener.o .tmp/release/moc_Chat.o +make: Leaving directory '/workspaces/D-LAN/application/Core/NetworkListener' +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling RemoteControlManager.. +make: Entering directory '/workspaces/D-LAN/application/Core/RemoteControlManager' +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_IRemoteControlManager.cpp .tmp/release/moc_RemoteControlManager.cpp .tmp/release/moc_RemoteConnection.cpp +rm -f .tmp/release/RemoteControlManager.o .tmp/release/RemoteConnection.o .tmp/release/Builder.o .tmp/release/gui_protocol.pb.o .tmp/release/common.pb.o .tmp/release/Log.o .tmp/release/moc_IRemoteControlManager.o .tmp/release/moc_RemoteControlManager.o .tmp/release/moc_RemoteConnection.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/Core/RemoteControlManager' +make: Entering directory '/workspaces/D-LAN/application/Core/RemoteControlManager' +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECONTROLMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/RemoteControlManager.o priv/RemoteControlManager.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECONTROLMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/RemoteConnection.o priv/RemoteConnection.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECONTROLMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Builder.o priv/Builder.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECONTROLMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/gui_protocol.pb.o ../../Protos/gui_protocol.pb.cc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECONTROLMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/common.pb.o ../../Protos/common.pb.cc +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECONTROLMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Log.o priv/Log.cpp +g++ -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DREMOTECONTROLMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/RemoteControlManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/RemoteControlManager -I/workspaces/D-LAN/application/Core/RemoteControlManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include IRemoteControlManager.h -o .tmp/release/moc_IRemoteControlManager.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECONTROLMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_IRemoteControlManager.o .tmp/release/moc_IRemoteControlManager.cpp +/usr/lib/qt5/bin/moc -DREMOTECONTROLMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/RemoteControlManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/RemoteControlManager -I/workspaces/D-LAN/application/Core/RemoteControlManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/RemoteControlManager.h -o .tmp/release/moc_RemoteControlManager.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECONTROLMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_RemoteControlManager.o .tmp/release/moc_RemoteControlManager.cpp +/usr/lib/qt5/bin/moc -DREMOTECONTROLMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/RemoteControlManager/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core/RemoteControlManager -I/workspaces/D-LAN/application/Core/RemoteControlManager -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include priv/RemoteConnection.h -o .tmp/release/moc_RemoteConnection.cpp +g++ -c -pipe -std=c++0x -O2 -fPIC -frtti -Wall -Wno-parentheses -D_REENTRANT -DREMOTECONTROLMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_RemoteConnection.o .tmp/release/moc_RemoteConnection.cpp +rm -f output/release/libRemoteControlManager.a +ar cqs output/release/libRemoteControlManager.a .tmp/release/RemoteControlManager.o .tmp/release/RemoteConnection.o .tmp/release/Builder.o .tmp/release/gui_protocol.pb.o .tmp/release/common.pb.o .tmp/release/Log.o .tmp/release/moc_IRemoteControlManager.o .tmp/release/moc_RemoteControlManager.o .tmp/release/moc_RemoteConnection.o +make: Leaving directory '/workspaces/D-LAN/application/Core/RemoteControlManager' +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling Core.. +Cannot read /workspaces/D-LAN/application/Libs/qtservice/config.pri: No such file or directory +make: Entering directory '/workspaces/D-LAN/application/Core' +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_qtunixsocket.cpp .tmp/release/moc_qtunixserversocket.cpp .tmp/release/moc_CoreService.cpp .tmp/release/moc_Core.cpp .tmp/release/moc_CoreApplication.cpp +rm -f .tmp/release/qtservice.moc .tmp/release/qtservice_unix.moc +rm -f .tmp/release/qtservice.o .tmp/release/qtservice_unix.o .tmp/release/qtunixsocket.o .tmp/release/qtunixserversocket.o .tmp/release/main.o .tmp/release/core_settings.pb.o .tmp/release/Log.o .tmp/release/CoreService.o .tmp/release/Core.o .tmp/release/CoreApplication.o .tmp/release/moc_qtunixsocket.o .tmp/release/moc_qtunixserversocket.o .tmp/release/moc_CoreService.o .tmp/release/moc_Core.o .tmp/release/moc_CoreApplication.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/Core' +make: Entering directory '/workspaces/D-LAN/application/Core' +g++ -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core -I/workspaces/D-LAN/application/Core -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ../Libs/qtservice/src/qtservice.cpp -o .tmp/release/qtservice.moc +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/qtservice.o ../Libs/qtservice/src/qtservice.cpp +../Libs/qtservice/src/qtservice.cpp: In constructor ‘QtServiceBasePrivate::QtServiceBasePrivate(const QString&)’: +../Libs/qtservice/src/qtservice.cpp:424:56: warning: ‘constexpr QFlags::QFlags(Zero) [with Enum = QtServiceBase::ServiceFlag; Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] + 424 | : startupType(QtServiceController::ManualStartup), serviceFlags(0), controller(name) + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1305, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QCoreApplication:1, + from ../Libs/qtservice/src/qtservice.h:43, + from ../Libs/qtservice/src/qtservice.cpp:40: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here + 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} + | ^~~~~~ +../Libs/qtservice/src/qtservice.cpp: In constructor ‘QtServiceBase::QtServiceBase(int, char**, const QString&)’: +../Libs/qtservice/src/qtservice.cpp:647:27: warning: ‘constexpr QFlags::QFlags(Zero) [with Enum = QtServiceBase::ServiceFlag; Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] + 647 | d_ptr->serviceFlags = 0; + | ^ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here + 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} + | ^~~~~~ +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core -I/workspaces/D-LAN/application/Core -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ../Libs/qtservice/src/qtservice_unix.cpp -o .tmp/release/qtservice_unix.moc +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/qtservice_unix.o ../Libs/qtservice/src/qtservice_unix.cpp +../Libs/qtservice/src/qtservice_unix.cpp: In constructor ‘QtServiceSysPrivate::QtServiceSysPrivate()’: +../Libs/qtservice/src/qtservice_unix.cpp:295:39: warning: ‘constexpr QFlags::QFlags(Zero) [with Enum = QtServiceBase::ServiceFlag; Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] + 295 | : QtUnixServerSocket(), ident(0), serviceFlags(0) + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1305, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QCoreApplication:1, + from ../Libs/qtservice/src/qtservice.h:43, + from ../Libs/qtservice/src/qtservice_unix.cpp:40: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here + 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} + | ^~~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/qtunixsocket.o ../Libs/qtservice/src/qtunixsocket.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/qtunixserversocket.o ../Libs/qtservice/src/qtunixserversocket.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/main.o main.cpp +main.cpp: In function ‘void printUsage(QString)’: +main.cpp:39:23: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 39 | out << "Usage:" << endl << + | ^~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTextStream:1, + from main.cpp:21: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +main.cpp:40:192: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 40 | " " << appName << " [-r ] [-l ] [--reset-settings] [--lang ] [--pass | --rmpass] [--version] [-i|-u|-e|-s|-v]" << endl << + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +main.cpp:41:109: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 41 | " -i [account] [password] : Install the service, optionally using given account and password" << endl << + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +main.cpp:42:46: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 42 | " -u : Uninstall the service." << endl << + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +main.cpp:43:100: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 43 | " -e : Run as a regular application. Otherwise try to launch the installed service." << endl << + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +main.cpp:44:41: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 44 | " -t : Stop the service." << endl << + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +main.cpp:45:57: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 45 | " -v : Print service status information." << endl << + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +main.cpp:46:69: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 46 | " : Where settings are put." << endl << + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +main.cpp:47:96: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 47 | " : Where logs, download queue, and files cache are put." << endl << + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +main.cpp:48:146: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 48 | " --reset-settings : Remove all settings except \"nick\" and \"peerID\" and quit, other settings are set to their default values." << endl << + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +main.cpp:49:122: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 49 | " --lang : set the language and save it to the settings file then quit. (ISO-639, two letters)" << endl << + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +main.cpp:50:101: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 50 | " --pass : set a password then quit. The core can be remotely controlled." << endl << + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +main.cpp:51:58: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 51 | " --rmpass : remove the current password." << endl << + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +main.cpp:52:48: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 52 | " --version : Print the version" << endl; + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +main.cpp: In function ‘int main(int, char**)’: +main.cpp:101:175: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 101 | out << Common::Global::getVersion() % (versionTag.isEmpty() ? QString() : " " % versionTag) << " " << Common::Global::getBuildTime().toString("yyyy-MM-dd_HH-mm") << endl; + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/core_settings.pb.o ../Protos/core_settings.pb.cc +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Log.o Log.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/CoreService.o CoreService.cpp +CoreService.cpp: In constructor ‘CoreSpace::CoreService::CoreService(bool, QLocale, int, char**)’: +CoreService.cpp:44:62: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 44 | out << "D-LAN Core started with console support" << endl; + | ^~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTextStream:1, + from ../Common/ConsoleReader.h:23, + from ./CoreService.h:25, + from CoreService.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +CoreService.cpp: In static member function ‘static void CoreSpace::CoreService::printCommands()’: +CoreService.cpp:98:26: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 98 | out << "Commands:" << endl + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +CoreService.cpp:99:73: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 99 | << " - " << ConsoleReader::QUIT_COMMAND << " : stop the core" << endl + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +CoreService.cpp:100:72: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations] + 100 | << " - dumpwi : dump the word index in the log as a warning" << endl; + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:293:75: note: declared here + 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); + | ^~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Core.o Core.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/CoreApplication.o CoreApplication.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core -I/workspaces/D-LAN/application/Core -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ../Libs/qtservice/src/qtunixsocket.h -o .tmp/release/moc_qtunixsocket.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_qtunixsocket.o .tmp/release/moc_qtunixsocket.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core -I/workspaces/D-LAN/application/Core -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ../Libs/qtservice/src/qtunixserversocket.h -o .tmp/release/moc_qtunixserversocket.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_qtunixserversocket.o .tmp/release/moc_qtunixserversocket.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core -I/workspaces/D-LAN/application/Core -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include CoreService.h -o .tmp/release/moc_CoreService.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_CoreService.o .tmp/release/moc_CoreService.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core -I/workspaces/D-LAN/application/Core -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Core.h -o .tmp/release/moc_Core.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_Core.o .tmp/release/moc_Core.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Core/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Core -I/workspaces/D-LAN/application/Core -I/workspaces/D-LAN/application -I/workspaces/D-LAN/application/Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include CoreApplication.h -o .tmp/release/moc_CoreApplication.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I../Libs/qtservice/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_CoreApplication.o .tmp/release/moc_CoreApplication.cpp +g++ -Wl,-O1 -o output/release/D-LAN.Core .tmp/release/qtservice.o .tmp/release/qtservice_unix.o .tmp/release/qtunixsocket.o .tmp/release/qtunixserversocket.o .tmp/release/main.o .tmp/release/core_settings.pb.o .tmp/release/Log.o .tmp/release/CoreService.o .tmp/release/Core.o .tmp/release/CoreApplication.o .tmp/release/moc_qtunixsocket.o .tmp/release/moc_qtunixserversocket.o .tmp/release/moc_CoreService.o .tmp/release/moc_Core.o .tmp/release/moc_CoreApplication.o -LRemoteControlManager/output/release -lRemoteControlManager -LNetworkListener/output/release -lNetworkListener -LDownloadManager/output/release -lDownloadManager -LUploadManager/output/release -lUploadManager -LPeerManager/output/release -lPeerManager -LFileManager/output/release -lFileManager -L../Common/LogManager/output/release -lLogManager -L../Common/output/release -lCommon -lprotobuf /usr/lib/x86_64-linux-gnu/libQt5Gui.so /usr/lib/x86_64-linux-gnu/libQt5Network.so /usr/lib/x86_64-linux-gnu/libQt5Core.so -lGL -lpthread +make: Leaving directory '/workspaces/D-LAN/application/Core' +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling GUI.. +make: Entering directory '/workspaces/D-LAN/application/GUI' +rm -f .tmp/release/qrc_ressources.cpp +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_MainWindow.cpp .tmp/release/moc_StatusBar.cpp .tmp/release/moc_DialogAbout.cpp .tmp/release/moc_CheckBoxList.cpp .tmp/release/moc_TabButtons.cpp .tmp/release/moc_WidgetBrowse.cpp .tmp/release/moc_BrowseModel.cpp .tmp/release/moc_WidgetChat.cpp .tmp/release/moc_ChatModel.cpp .tmp/release/moc_WidgetDownloads.cpp .tmp/release/moc_LogModel.cpp .tmp/release/moc_PeerListModel.cpp .tmp/release/moc_WidgetSearch.cpp .tmp/release/moc_SearchModel.cpp .tmp/release/moc_WidgetSettings.cpp .tmp/release/moc_WidgetUploads.cpp .tmp/release/moc_UploadsModel.cpp .tmp/release/moc_DirListModel.cpp .tmp/release/moc_RemoteFileDialog.cpp .tmp/release/moc_DownloadMenu.cpp .tmp/release/moc_D-LAN_GUI.cpp .tmp/release/moc_ProgressBar.cpp .tmp/release/moc_AskNewPasswordDialog.cpp .tmp/release/moc_DownloadsFlatModel.cpp .tmp/release/moc_DownloadsTreeModel.cpp .tmp/release/moc_DownloadsModel.cpp .tmp/release/moc_PeerListDelegate.cpp .tmp/release/moc_BusyIndicator.cpp .tmp/release/moc_LogDelegate.cpp +rm -f .tmp/release/ui_MainWindow.h .tmp/release/ui_StatusBar.h .tmp/release/ui_DialogAbout.h .tmp/release/ui_WidgetBrowse.h .tmp/release/ui_WidgetChat.h .tmp/release/ui_WidgetDownloads.h .tmp/release/ui_WidgetSearch.h .tmp/release/ui_WidgetSettings.h .tmp/release/ui_WidgetUploads.h .tmp/release/ui_RemoteFileDialog.h .tmp/release/ui_AskNewPasswordDialog.h +rm -f .tmp/release/main.o .tmp/release/MainWindow.o .tmp/release/gui_protocol.pb.o .tmp/release/common.pb.o .tmp/release/gui_settings.pb.o .tmp/release/core_settings.pb.o .tmp/release/StatusBar.o .tmp/release/DialogAbout.o .tmp/release/Log.o .tmp/release/CheckBoxList.o .tmp/release/TabButtons.o .tmp/release/WidgetBrowse.o .tmp/release/BrowseModel.o .tmp/release/WidgetChat.o .tmp/release/ChatModel.o .tmp/release/WidgetDownloads.o .tmp/release/DownloadsFlatModel.o .tmp/release/LogModel.o .tmp/release/PeerListModel.o .tmp/release/WidgetSearch.o .tmp/release/SearchModel.o .tmp/release/WidgetSettings.o .tmp/release/WidgetUploads.o .tmp/release/UploadsModel.o .tmp/release/DirListModel.o .tmp/release/RemoteFileDialog.o .tmp/release/DownloadMenu.o .tmp/release/D-LAN_GUI.o .tmp/release/ProgressBar.o .tmp/release/IconProvider.o .tmp/release/Utils.o .tmp/release/AskNewPasswordDialog.o .tmp/release/DownloadsTreeModel.o .tmp/release/DownloadsModel.o .tmp/release/PeerListDelegate.o .tmp/release/BusyIndicator.o .tmp/release/LogDelegate.o .tmp/release/qrc_ressources.o .tmp/release/moc_MainWindow.o .tmp/release/moc_StatusBar.o .tmp/release/moc_DialogAbout.o .tmp/release/moc_CheckBoxList.o .tmp/release/moc_TabButtons.o .tmp/release/moc_WidgetBrowse.o .tmp/release/moc_BrowseModel.o .tmp/release/moc_WidgetChat.o .tmp/release/moc_ChatModel.o .tmp/release/moc_WidgetDownloads.o .tmp/release/moc_LogModel.o .tmp/release/moc_PeerListModel.o .tmp/release/moc_WidgetSearch.o .tmp/release/moc_SearchModel.o .tmp/release/moc_WidgetSettings.o .tmp/release/moc_WidgetUploads.o .tmp/release/moc_UploadsModel.o .tmp/release/moc_DirListModel.o .tmp/release/moc_RemoteFileDialog.o .tmp/release/moc_DownloadMenu.o .tmp/release/moc_D-LAN_GUI.o .tmp/release/moc_ProgressBar.o .tmp/release/moc_AskNewPasswordDialog.o .tmp/release/moc_DownloadsFlatModel.o .tmp/release/moc_DownloadsTreeModel.o .tmp/release/moc_DownloadsModel.o .tmp/release/moc_PeerListDelegate.o .tmp/release/moc_BusyIndicator.o .tmp/release/moc_LogDelegate.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/GUI' +make: Entering directory '/workspaces/D-LAN/application/GUI' +/usr/lib/qt5/bin/uic MainWindow.ui -o .tmp/release/ui_MainWindow.h +/usr/lib/qt5/bin/uic StatusBar.ui -o .tmp/release/ui_StatusBar.h +/usr/lib/qt5/bin/uic DialogAbout.ui -o .tmp/release/ui_DialogAbout.h +/usr/lib/qt5/bin/uic Browse/WidgetBrowse.ui -o .tmp/release/ui_WidgetBrowse.h +/usr/lib/qt5/bin/uic Chat/WidgetChat.ui -o .tmp/release/ui_WidgetChat.h +/usr/lib/qt5/bin/uic Downloads/WidgetDownloads.ui -o .tmp/release/ui_WidgetDownloads.h +/usr/lib/qt5/bin/uic Search/WidgetSearch.ui -o .tmp/release/ui_WidgetSearch.h +/usr/lib/qt5/bin/uic Settings/WidgetSettings.ui -o .tmp/release/ui_WidgetSettings.h +/usr/lib/qt5/bin/uic Uploads/WidgetUploads.ui -o .tmp/release/ui_WidgetUploads.h +/usr/lib/qt5/bin/uic Settings/RemoteFileDialog.ui -o .tmp/release/ui_RemoteFileDialog.h +/usr/lib/qt5/bin/uic Settings/AskNewPasswordDialog.ui -o .tmp/release/ui_AskNewPasswordDialog.h +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/main.o main.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/MainWindow.o MainWindow.cpp +In file included from ./Browse/WidgetBrowse.h:33, + from ./MainWindow.h:43, + from MainWindow.cpp:19: +./Browse/BrowseModel.h:73:20: warning: ‘virtual void GUI::BrowseModel::result(const google::protobuf::RepeatedPtrField&)’ was hidden [-Woverloaded-virtual=] + 73 | virtual void result(const google::protobuf::RepeatedPtrField& entries); + | ^~~~~~ +In file included from ./Search/WidgetSearch.h:32, + from ./MainWindow.h:44: +./Search/SearchModel.h:70:12: note: by ‘void GUI::SearchModel::result(const Protos::Common::FindResult&)’ + 70 | void result(const Protos::Common::FindResult& findResult); + | ^~~~~~ +MainWindow.cpp: In member function ‘void GUI::MainWindow::setApplicationStateAsConnected()’: +MainWindow.cpp:733:32: warning: ‘static QSet QSet::fromList(const QList&) [with T = unsigned int]’ is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] + 733 | if (!QSet::fromList(windowsOrder).contains(QSet::fromList(windowsOrderDefault))) + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:53, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QKeyEvent:1, + from ./MainWindow.h:26: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:416:9: note: declared here + 416 | QSet QSet::fromList(const QList &list) + | ^~~~~~~ +MainWindow.cpp:733:79: warning: ‘static QSet QSet::fromList(const QList&) [with T = unsigned int]’ is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] + 733 | if (!QSet::fromList(windowsOrder).contains(QSet::fromList(windowsOrderDefault))) + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:416:9: note: declared here + 416 | QSet QSet::fromList(const QList &list) + | ^~~~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/gui_protocol.pb.o ../Protos/gui_protocol.pb.cc +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/common.pb.o ../Protos/common.pb.cc +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/gui_settings.pb.o ../Protos/gui_settings.pb.cc +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/core_settings.pb.o ../Protos/core_settings.pb.cc +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/StatusBar.o StatusBar.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/DialogAbout.o DialogAbout.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Log.o Log.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/CheckBoxList.o CheckBoxList.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/TabButtons.o TabButtons.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/WidgetBrowse.o Browse/WidgetBrowse.cpp +Browse/WidgetBrowse.cpp: In member function ‘virtual void GUI::BrowseDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’: +Browse/WidgetBrowse.cpp:36:43: warning: ‘QStyleOptionViewItemV4’ is deprecated [-Wdeprecated-declarations] + 36 | QStyleOptionViewItemV4 newOption(option); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractitemdelegate.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleditemdelegate.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QStyledItemDelegate:1, + from ./Browse/WidgetBrowse.h:25, + from Browse/WidgetBrowse.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:473:48: note: declared here + 473 | typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4; + | ^~~~~~~~~~~~~~~~~~~~~~ +Browse/WidgetBrowse.cpp: In member function ‘void GUI::WidgetBrowse::openLocation()’: +Browse/WidgetBrowse.cpp:187:41: warning: ‘QList QSet::toList() const [with T = QString]’ is deprecated: Use values() instead. [-Wdeprecated-declarations] + 187 | Utils::openLocations(locations.toList()); + | ~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qitemselectionmodel.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QItemSelection:1, + from ./Browse/WidgetBrowse.h:26: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here + 265 | QList toList() const { return values(); } + | ^~~~~~ +Browse/WidgetBrowse.cpp: In member function ‘void GUI::WidgetBrowse::tryToReachEntryToBrowse()’: +Browse/WidgetBrowse.cpp:208:219: warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] + 208 | const QStringList& path = Common::ProtoHelper::getStr(this->remoteEntryToBrowse, &Protos::Common::Entry::path).append(Common::ProtoHelper::getStr(this->remoteEntryToBrowse, &Protos::Common::Entry::name)).split('/', QString::SkipEmptyParts); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1, + from ./Browse/WidgetBrowse.h:22: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:612:17: note: declared here + 612 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/BrowseModel.o Browse/BrowseModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/WidgetChat.o Chat/WidgetChat.cpp +Chat/WidgetChat.cpp: In member function ‘virtual void GUI::ChatDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’: +Chat/WidgetChat.cpp:38:43: warning: ‘QStyleOptionViewItemV4’ is deprecated [-Wdeprecated-declarations] + 38 | QStyleOptionViewItemV4 newOption(option); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractitemdelegate.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleditemdelegate.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QStyledItemDelegate:1, + from ./Chat/WidgetChat.h:23, + from Chat/WidgetChat.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:473:48: note: declared here + 473 | typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4; + | ^~~~~~~~~~~~~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/ChatModel.o Chat/ChatModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/WidgetDownloads.o Downloads/WidgetDownloads.cpp +Downloads/WidgetDownloads.cpp: In member function ‘virtual void GUI::DownloadsDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’: +Downloads/WidgetDownloads.cpp:43:33: warning: ‘QStyleOptionProgressBarV2’ is deprecated [-Wdeprecated-declarations] + 43 | QStyleOptionProgressBarV2 progressBarOption; + | ^~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractitemdelegate.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleditemdelegate.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QStyledItemDelegate:1, + from ./Downloads/WidgetDownloads.h:25, + from Downloads/WidgetDownloads.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:366:51: note: declared here + 366 | typedef Q_DECL_DEPRECATED QStyleOptionProgressBar QStyleOptionProgressBarV2; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +Downloads/WidgetDownloads.cpp:81:46: warning: ‘QStyleOptionViewItemV4’ is deprecated [-Wdeprecated-declarations] + 81 | QStyleOptionViewItemV4 newOption(option); + | ^ +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:473:48: note: declared here + 473 | typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4; + | ^~~~~~~~~~~~~~~~~~~~~~ +Downloads/WidgetDownloads.cpp: In member function ‘void GUI::WidgetDownloads::openLocationSelectedEntries()’: +Downloads/WidgetDownloads.cpp:236:41: warning: ‘QList QSet::toList() const [with T = QString]’ is deprecated: Use values() instead. [-Wdeprecated-declarations] + 236 | Utils::openLocations(locations.toList()); + | ~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:52, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qabstractsocket.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qhostaddress.h:48, + from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QHostAddress:1, + from ./PeerList/PeerListModel.h:23, + from ./Downloads/WidgetDownloads.h:35: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here + 265 | QList toList() const { return values(); } + | ^~~~~~ +Downloads/WidgetDownloads.cpp: In member function ‘void GUI::WidgetDownloads::moveSelectedEntriesToTop()’: +Downloads/WidgetDownloads.cpp:247:78: warning: ‘QSet QList::toSet() const [with T = long long unsigned int]’ is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] + 247 | downloadIDs += this->currentDownloadsModel->getDownloadIDs(index).toSet(); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:406:30: note: declared here + 406 | Q_OUTOFLINE_TEMPLATE QSet QList::toSet() const + | ^~~~~~~~ +Downloads/WidgetDownloads.cpp:256:88: warning: ‘QList QSet::toList() const [with T = long long unsigned int]’ is deprecated: Use values() instead. [-Wdeprecated-declarations] + 256 | this->coreConnection->moveDownloads(QList() << id, downloadIDs.toList()); + | ~~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here + 265 | QList toList() const { return values(); } + | ^~~~~~ +Downloads/WidgetDownloads.cpp: In member function ‘void GUI::WidgetDownloads::removeSelectedEntries()’: +Downloads/WidgetDownloads.cpp:286:78: warning: ‘QSet QList::toSet() const [with T = long long unsigned int]’ is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] + 286 | downloadIDs += this->currentDownloadsModel->getDownloadIDs(index).toSet(); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:406:30: note: declared here + 406 | Q_OUTOFLINE_TEMPLATE QSet QList::toSet() const + | ^~~~~~~~ +Downloads/WidgetDownloads.cpp:303:69: warning: ‘QList QSet::toList() const [with T = long long unsigned int]’ is deprecated: Use values() instead. [-Wdeprecated-declarations] + 303 | this->coreConnection->cancelDownloads(downloadIDs.toList()); + | ~~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here + 265 | QList toList() const { return values(); } + | ^~~~~~ +Downloads/WidgetDownloads.cpp:306:66: warning: ‘QList QSet::toList() const [with T = long long unsigned int]’ is deprecated: Use values() instead. [-Wdeprecated-declarations] + 306 | this->coreConnection->cancelDownloads(downloadIDs.toList()); + | ~~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here + 265 | QList toList() const { return values(); } + | ^~~~~~ +Downloads/WidgetDownloads.cpp: In member function ‘QPair, bool> GUI::WidgetDownloads::getDownloadIDsToPause() const’: +Downloads/WidgetDownloads.cpp:404:39: warning: ‘QList QSet::toList() const [with T = long long unsigned int]’ is deprecated: Use values() instead. [-Wdeprecated-declarations] + 404 | return qMakePair(downloadIDs.toList(), !allPaused); + | ~~~~~~~~~~~~~~~~~~^~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here + 265 | QList toList() const { return values(); } + | ^~~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/DownloadsFlatModel.o Downloads/DownloadsFlatModel.cpp +Downloads/DownloadsFlatModel.cpp: In member function ‘virtual bool GUI::DownloadsFlatModel::dropMimeData(const QMimeData*, Qt::DropAction, int, int, const QModelIndex&)’: +Downloads/DownloadsFlatModel.cpp:179:12: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = QList::iterator]’ is deprecated: Use std::sort [-Wdeprecated-declarations] + 179 | qSort(rows.begin(), rows.end()); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qiodevice.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatastream.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QDragEnterEvent:1, + from ./Downloads/DownloadsFlatModel.h:22, + from Downloads/DownloadsFlatModel.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:174:46: note: declared here + 174 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end) + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/LogModel.o Log/LogModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/PeerListModel.o PeerList/PeerListModel.cpp +PeerList/PeerListModel.cpp: In member function ‘void GUI::PeerListModel::sort()’: +PeerList/PeerListModel.cpp:311:9: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = bool (*)(const GUI::PeerListModel::Peer*, const GUI::PeerListModel::Peer*)]’ is deprecated: Use std::sort [-Wdeprecated-declarations] + 311 | qSort(this->orderedPeers.begin(), this->orderedPeers.end(), this->currentSortType == Protos::GUI::Settings::BY_NICK ? Peer::sortCompByNick : Peer::sortCompBySharingAmount); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractitemmodel.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QAbstractTableModel:1, + from ./PeerList/PeerListModel.h:22, + from PeerList/PeerListModel.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:181:46: note: declared here + 181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/WidgetSearch.o Search/WidgetSearch.cpp +In file included from ./Search/SearchModel.h:32, + from ./Search/WidgetSearch.h:32, + from Search/WidgetSearch.cpp:19: +./Browse/BrowseModel.h:73:20: warning: ‘virtual void GUI::BrowseModel::result(const google::protobuf::RepeatedPtrField&)’ was hidden [-Woverloaded-virtual=] + 73 | virtual void result(const google::protobuf::RepeatedPtrField& entries); + | ^~~~~~ +./Search/SearchModel.h:70:12: note: by ‘void GUI::SearchModel::result(const Protos::Common::FindResult&)’ + 70 | void result(const Protos::Common::FindResult& findResult); + | ^~~~~~ +Search/WidgetSearch.cpp: In member function ‘virtual void GUI::SearchDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’: +Search/WidgetSearch.cpp:40:43: warning: ‘QStyleOptionViewItemV4’ is deprecated [-Wdeprecated-declarations] + 40 | QStyleOptionViewItemV4 newOption(option); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractitemdelegate.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleditemdelegate.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QStyledItemDelegate:1, + from ./Search/WidgetSearch.h:24: +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:473:48: note: declared here + 473 | typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4; + | ^~~~~~~~~~~~~~~~~~~~~~ +Search/WidgetSearch.cpp:77:36: warning: ‘QStyleOptionProgressBarV2’ is deprecated [-Wdeprecated-declarations] + 77 | QStyleOptionProgressBarV2 progressBarOption; + | ^~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:366:51: note: declared here + 366 | typedef Q_DECL_DEPRECATED QStyleOptionProgressBar QStyleOptionProgressBarV2; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +Search/WidgetSearch.cpp: In member function ‘virtual QSize GUI::SearchDelegate::sizeHint(const QStyleOptionViewItem&, const QModelIndex&) const’: +Search/WidgetSearch.cpp:106:33: warning: ‘QStyleOptionViewItemV4’ is deprecated [-Wdeprecated-declarations] + 106 | QStyleOptionViewItemV4 optionV4 = option; + | ^~~~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:473:48: note: declared here + 473 | typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4; + | ^~~~~~~~~~~~~~~~~~~~~~ +Search/WidgetSearch.cpp: In member function ‘void GUI::WidgetSearch::openLocation()’: +Search/WidgetSearch.cpp:317:41: warning: ‘QList QSet::toList() const [with T = QString]’ is deprecated: Use values() instead. [-Wdeprecated-declarations] + 317 | Utils::openLocations(locations.toList()); + | ~~~~~~~~~~~~~~~~^~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qitemselectionmodel.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QItemSelection:1, + from ./Search/WidgetSearch.h:26: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here + 265 | QList toList() const { return values(); } + | ^~~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/SearchModel.o Search/SearchModel.cpp +Search/SearchModel.cpp: In member function ‘void GUI::SearchModel::result(const Protos::Common::FindResult&)’: +Search/SearchModel.cpp:234:9: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = bool (*)(const Protos::Common::FindResult_EntryLevel*, const Protos::Common::FindResult_EntryLevel*)]’ is deprecated: Use std::sort [-Wdeprecated-declarations] + 234 | qSort(sortedEntries.begin(), sortedEntries.end(), &findEntryLessThan); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractitemmodel.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QAbstractItemModel:1, + from ./Search/SearchModel.h:22, + from Search/SearchModel.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:181:46: note: declared here + 181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/WidgetSettings.o Settings/WidgetSettings.cpp +Settings/WidgetSettings.cpp: In member function ‘virtual void GUI::DirListDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’: +Settings/WidgetSettings.cpp:44:43: warning: ‘QStyleOptionViewItemV4’ is deprecated [-Wdeprecated-declarations] + 44 | QStyleOptionViewItemV4 newOption(option); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractitemdelegate.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleditemdelegate.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QStyledItemDelegate:1, + from ./Settings/WidgetSettings.h:24, + from Settings/WidgetSettings.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:473:48: note: declared here + 473 | typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4; + | ^~~~~~~~~~~~~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/WidgetUploads.o Uploads/WidgetUploads.cpp +Uploads/WidgetUploads.cpp: In member function ‘virtual void GUI::UploadsDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’: +Uploads/WidgetUploads.cpp:30:33: warning: ‘QStyleOptionProgressBarV2’ is deprecated [-Wdeprecated-declarations] + 30 | QStyleOptionProgressBarV2 progressBarOption; + | ^~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractitemdelegate.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleditemdelegate.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QStyledItemDelegate:1, + from ./Uploads/WidgetUploads.h:24, + from Uploads/WidgetUploads.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:366:51: note: declared here + 366 | typedef Q_DECL_DEPRECATED QStyleOptionProgressBar QStyleOptionProgressBarV2; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +Uploads/WidgetUploads.cpp:44:46: warning: ‘QStyleOptionViewItemV4’ is deprecated [-Wdeprecated-declarations] + 44 | QStyleOptionViewItemV4 newOption(option); + | ^ +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:473:48: note: declared here + 473 | typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4; + | ^~~~~~~~~~~~~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/UploadsModel.o Uploads/UploadsModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/DirListModel.o Settings/DirListModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/RemoteFileDialog.o Settings/RemoteFileDialog.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/DownloadMenu.o DownloadMenu.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/D-LAN_GUI.o D-LAN_GUI.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/ProgressBar.o ProgressBar.cpp +ProgressBar.cpp: In member function ‘virtual void GUI::ProgressBar::paintEvent(QPaintEvent*)’: +ProgressBar.cpp:39:30: warning: ‘QStyleOptionProgressBarV2’ is deprecated [-Wdeprecated-declarations] + 39 | QStyleOptionProgressBarV2 opt; + | ^~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QStyleOptionProgressBarV2:1, + from ProgressBar.cpp:23: +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:366:51: note: declared here + 366 | typedef Q_DECL_DEPRECATED QStyleOptionProgressBar QStyleOptionProgressBarV2; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/IconProvider.o IconProvider.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/Utils.o Utils.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/AskNewPasswordDialog.o Settings/AskNewPasswordDialog.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/DownloadsTreeModel.o Downloads/DownloadsTreeModel.cpp +Downloads/DownloadsTreeModel.cpp: In member function ‘virtual bool GUI::DownloadsTreeModel::dropMimeData(const QMimeData*, Qt::DropAction, int, int, const QModelIndex&)’: +Downloads/DownloadsTreeModel.cpp:240:9: warning: ‘void qSort(Container&) [with Container = QList]’ is deprecated: Use std::sort [-Wdeprecated-declarations] + 240 | qSort(rows); // TODO: is 'getDraggedRows(..)' returns a sorted list? + | ~~~~~^~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qiodevice.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatastream.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QDragEnterEvent:1, + from ./Downloads/DownloadsTreeModel.h:22, + from Downloads/DownloadsTreeModel.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:188:46: note: declared here + 188 | QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c) + | ^~~~~ +Downloads/DownloadsTreeModel.cpp: In member function ‘virtual void GUI::DownloadsTreeModel::onNewState(const Protos::GUI::State&)’: +Downloads/DownloadsTreeModel.cpp:332:115: warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations] + 332 | const QStringList& path = ProtoHelper::getStr(download.local_entry(), &Protos::Common::Entry::path).split('/', QString::SkipEmptyParts); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:612:17: note: declared here + 612 | QStringList split(QChar sep, SplitBehavior behavior, + | ^~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/DownloadsModel.o Downloads/DownloadsModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/PeerListDelegate.o PeerList/PeerListDelegate.cpp +PeerList/PeerListDelegate.cpp: In member function ‘virtual void GUI::PeerListDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’: +PeerList/PeerListDelegate.cpp:40:43: warning: ‘QStyleOptionViewItemV4’ is deprecated [-Wdeprecated-declarations] + 40 | QStyleOptionViewItemV4 newOption(option); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractitemdelegate.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleditemdelegate.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QStyledItemDelegate:1, + from ./PeerList/PeerListDelegate.h:22, + from PeerList/PeerListDelegate.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:473:48: note: declared here + 473 | typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4; + | ^~~~~~~~~~~~~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/BusyIndicator.o BusyIndicator.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/LogDelegate.o Log/LogDelegate.cpp +Log/LogDelegate.cpp: In member function ‘virtual void GUI::LogDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’: +Log/LogDelegate.cpp:31:43: warning: ‘QStyleOptionViewItemV4’ is deprecated [-Wdeprecated-declarations] + 31 | QStyleOptionViewItemV4 newOption(option); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractitemdelegate.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleditemdelegate.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QStyledItemDelegate:1, + from ./Log/LogDelegate.h:22, + from Log/LogDelegate.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:473:48: note: declared here + 473 | typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4; + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/lib/qt5/bin/rcc -name ressources ressources.qrc -o .tmp/release/qrc_ressources.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/qrc_ressources.o .tmp/release/qrc_ressources.cpp +g++ -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include MainWindow.h -o .tmp/release/moc_MainWindow.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_MainWindow.o .tmp/release/moc_MainWindow.cpp +In file included from ./Browse/WidgetBrowse.h:33, + from .tmp/release/../../MainWindow.h:43, + from .tmp/release/moc_MainWindow.cpp:10: +./Browse/BrowseModel.h:73:20: warning: ‘virtual void GUI::BrowseModel::result(const google::protobuf::RepeatedPtrField&)’ was hidden [-Woverloaded-virtual=] + 73 | virtual void result(const google::protobuf::RepeatedPtrField& entries); + | ^~~~~~ +In file included from ./Search/WidgetSearch.h:32, + from .tmp/release/../../MainWindow.h:44: +./Search/SearchModel.h:70:12: note: by ‘void GUI::SearchModel::result(const Protos::Common::FindResult&)’ + 70 | void result(const Protos::Common::FindResult& findResult); + | ^~~~~~ +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include StatusBar.h -o .tmp/release/moc_StatusBar.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_StatusBar.o .tmp/release/moc_StatusBar.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include DialogAbout.h -o .tmp/release/moc_DialogAbout.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_DialogAbout.o .tmp/release/moc_DialogAbout.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include CheckBoxList.h -o .tmp/release/moc_CheckBoxList.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_CheckBoxList.o .tmp/release/moc_CheckBoxList.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include TabButtons.h -o .tmp/release/moc_TabButtons.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_TabButtons.o .tmp/release/moc_TabButtons.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Browse/WidgetBrowse.h -o .tmp/release/moc_WidgetBrowse.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_WidgetBrowse.o .tmp/release/moc_WidgetBrowse.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Browse/BrowseModel.h -o .tmp/release/moc_BrowseModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_BrowseModel.o .tmp/release/moc_BrowseModel.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Chat/WidgetChat.h -o .tmp/release/moc_WidgetChat.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_WidgetChat.o .tmp/release/moc_WidgetChat.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Chat/ChatModel.h -o .tmp/release/moc_ChatModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_ChatModel.o .tmp/release/moc_ChatModel.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Downloads/WidgetDownloads.h -o .tmp/release/moc_WidgetDownloads.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_WidgetDownloads.o .tmp/release/moc_WidgetDownloads.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Log/LogModel.h -o .tmp/release/moc_LogModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_LogModel.o .tmp/release/moc_LogModel.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include PeerList/PeerListModel.h -o .tmp/release/moc_PeerListModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_PeerListModel.o .tmp/release/moc_PeerListModel.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Search/WidgetSearch.h -o .tmp/release/moc_WidgetSearch.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_WidgetSearch.o .tmp/release/moc_WidgetSearch.cpp +In file included from ./Search/SearchModel.h:32, + from .tmp/release/../../Search/WidgetSearch.h:32, + from .tmp/release/moc_WidgetSearch.cpp:10: +./Browse/BrowseModel.h:73:20: warning: ‘virtual void GUI::BrowseModel::result(const google::protobuf::RepeatedPtrField&)’ was hidden [-Woverloaded-virtual=] + 73 | virtual void result(const google::protobuf::RepeatedPtrField& entries); + | ^~~~~~ +./Search/SearchModel.h:70:12: note: by ‘void GUI::SearchModel::result(const Protos::Common::FindResult&)’ + 70 | void result(const Protos::Common::FindResult& findResult); + | ^~~~~~ +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Search/SearchModel.h -o .tmp/release/moc_SearchModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_SearchModel.o .tmp/release/moc_SearchModel.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Settings/WidgetSettings.h -o .tmp/release/moc_WidgetSettings.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_WidgetSettings.o .tmp/release/moc_WidgetSettings.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Uploads/WidgetUploads.h -o .tmp/release/moc_WidgetUploads.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_WidgetUploads.o .tmp/release/moc_WidgetUploads.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Uploads/UploadsModel.h -o .tmp/release/moc_UploadsModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_UploadsModel.o .tmp/release/moc_UploadsModel.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Settings/DirListModel.h -o .tmp/release/moc_DirListModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_DirListModel.o .tmp/release/moc_DirListModel.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Settings/RemoteFileDialog.h -o .tmp/release/moc_RemoteFileDialog.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_RemoteFileDialog.o .tmp/release/moc_RemoteFileDialog.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include DownloadMenu.h -o .tmp/release/moc_DownloadMenu.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_DownloadMenu.o .tmp/release/moc_DownloadMenu.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include D-LAN_GUI.h -o .tmp/release/moc_D-LAN_GUI.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_D-LAN_GUI.o .tmp/release/moc_D-LAN_GUI.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ProgressBar.h -o .tmp/release/moc_ProgressBar.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_ProgressBar.o .tmp/release/moc_ProgressBar.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Settings/AskNewPasswordDialog.h -o .tmp/release/moc_AskNewPasswordDialog.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_AskNewPasswordDialog.o .tmp/release/moc_AskNewPasswordDialog.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Downloads/DownloadsFlatModel.h -o .tmp/release/moc_DownloadsFlatModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_DownloadsFlatModel.o .tmp/release/moc_DownloadsFlatModel.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Downloads/DownloadsTreeModel.h -o .tmp/release/moc_DownloadsTreeModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_DownloadsTreeModel.o .tmp/release/moc_DownloadsTreeModel.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Downloads/DownloadsModel.h -o .tmp/release/moc_DownloadsModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_DownloadsModel.o .tmp/release/moc_DownloadsModel.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include PeerList/PeerListDelegate.h -o .tmp/release/moc_PeerListDelegate.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_PeerListDelegate.o .tmp/release/moc_PeerListDelegate.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include BusyIndicator.h -o .tmp/release/moc_BusyIndicator.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_BusyIndicator.o .tmp/release/moc_BusyIndicator.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/GUI/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application/GUI -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include Log/LogDelegate.h -o .tmp/release/moc_LogDelegate.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_LogDelegate.o .tmp/release/moc_LogDelegate.cpp +g++ -Wl,-O1 -o output/release/D-LAN.GUI .tmp/release/main.o .tmp/release/MainWindow.o .tmp/release/gui_protocol.pb.o .tmp/release/common.pb.o .tmp/release/gui_settings.pb.o .tmp/release/core_settings.pb.o .tmp/release/StatusBar.o .tmp/release/DialogAbout.o .tmp/release/Log.o .tmp/release/CheckBoxList.o .tmp/release/TabButtons.o .tmp/release/WidgetBrowse.o .tmp/release/BrowseModel.o .tmp/release/WidgetChat.o .tmp/release/ChatModel.o .tmp/release/WidgetDownloads.o .tmp/release/DownloadsFlatModel.o .tmp/release/LogModel.o .tmp/release/PeerListModel.o .tmp/release/WidgetSearch.o .tmp/release/SearchModel.o .tmp/release/WidgetSettings.o .tmp/release/WidgetUploads.o .tmp/release/UploadsModel.o .tmp/release/DirListModel.o .tmp/release/RemoteFileDialog.o .tmp/release/DownloadMenu.o .tmp/release/D-LAN_GUI.o .tmp/release/ProgressBar.o .tmp/release/IconProvider.o .tmp/release/Utils.o .tmp/release/AskNewPasswordDialog.o .tmp/release/DownloadsTreeModel.o .tmp/release/DownloadsModel.o .tmp/release/PeerListDelegate.o .tmp/release/BusyIndicator.o .tmp/release/LogDelegate.o .tmp/release/qrc_ressources.o .tmp/release/moc_MainWindow.o .tmp/release/moc_StatusBar.o .tmp/release/moc_DialogAbout.o .tmp/release/moc_CheckBoxList.o .tmp/release/moc_TabButtons.o .tmp/release/moc_WidgetBrowse.o .tmp/release/moc_BrowseModel.o .tmp/release/moc_WidgetChat.o .tmp/release/moc_ChatModel.o .tmp/release/moc_WidgetDownloads.o .tmp/release/moc_LogModel.o .tmp/release/moc_PeerListModel.o .tmp/release/moc_WidgetSearch.o .tmp/release/moc_SearchModel.o .tmp/release/moc_WidgetSettings.o .tmp/release/moc_WidgetUploads.o .tmp/release/moc_UploadsModel.o .tmp/release/moc_DirListModel.o .tmp/release/moc_RemoteFileDialog.o .tmp/release/moc_DownloadMenu.o .tmp/release/moc_D-LAN_GUI.o .tmp/release/moc_ProgressBar.o .tmp/release/moc_AskNewPasswordDialog.o .tmp/release/moc_DownloadsFlatModel.o .tmp/release/moc_DownloadsTreeModel.o .tmp/release/moc_DownloadsModel.o .tmp/release/moc_PeerListDelegate.o .tmp/release/moc_BusyIndicator.o .tmp/release/moc_LogDelegate.o -L../Common/RemoteCoreController/output/release -lRemoteCoreController -L../Common/LogManager/output/release -lLogManager -L../Common/output/release -lCommon -lprotobuf /usr/lib/x86_64-linux-gnu/libQt5Widgets.so /usr/lib/x86_64-linux-gnu/libQt5Gui.so /usr/lib/x86_64-linux-gnu/libQt5Network.so /usr/lib/x86_64-linux-gnu/libQt5Core.so -lGL -lpthread +make: Leaving directory '/workspaces/D-LAN/application/GUI' +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling LogViewer.. +make: Entering directory '/workspaces/D-LAN/application/Tools/LogViewer' +rm -f .tmp/release/qrc_resources.cpp +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_MainWindow.cpp .tmp/release/moc_TableLogModel.cpp .tmp/release/moc_TooglableList.cpp .tmp/release/moc_TooglableListButton.cpp +rm -f .tmp/release/ui_MainWindow.h .tmp/release/ui_TooglableList.h +rm -f .tmp/release/main.o .tmp/release/MainWindow.o .tmp/release/TableLogModel.o .tmp/release/TableLogItemDelegate.o .tmp/release/TooglableList.o .tmp/release/TooglableListButton.o .tmp/release/qrc_resources.o .tmp/release/moc_MainWindow.o .tmp/release/moc_TableLogModel.o .tmp/release/moc_TooglableList.o .tmp/release/moc_TooglableListButton.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/Tools/LogViewer' +make: Entering directory '/workspaces/D-LAN/application/Tools/LogViewer' +/usr/lib/qt5/bin/uic MainWindow.ui -o .tmp/release/ui_MainWindow.h +MainWindow.ui: Warning: Z-order assignment: '' is not a valid widget. +MainWindow.ui: Warning: Z-order assignment: '' is not a valid widget. +MainWindow.ui: Warning: Z-order assignment: '' is not a valid widget. +MainWindow.ui: Warning: Z-order assignment: '' is not a valid widget. +/usr/lib/qt5/bin/uic TooglableList.ui -o .tmp/release/ui_TooglableList.h +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/main.o main.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/MainWindow.o MainWindow.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/TableLogModel.o TableLogModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/TableLogItemDelegate.o TableLogItemDelegate.cpp +TableLogItemDelegate.cpp: In member function ‘virtual void TableLogItemDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’: +TableLogItemDelegate.cpp:42:43: warning: ‘QStyleOptionViewItemV4’ is deprecated [-Wdeprecated-declarations] + 42 | QStyleOptionViewItemV4 newOption(option); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractitemdelegate.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qitemdelegate.h:44, + from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QItemDelegate:1, + from ./TableLogItemDelegate.h:22, + from TableLogItemDelegate.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:473:48: note: declared here + 473 | typedef Q_DECL_DEPRECATED QStyleOptionViewItem QStyleOptionViewItemV4; + | ^~~~~~~~~~~~~~~~~~~~~~ +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/TooglableList.o TooglableList/TooglableList.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/TooglableListButton.o TooglableList/TooglableListButton.cpp +/usr/lib/qt5/bin/rcc -name resources resources.qrc -o .tmp/release/qrc_resources.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/qrc_resources.o .tmp/release/qrc_resources.cpp +g++ -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Tools/LogViewer/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Tools/LogViewer -I/workspaces/D-LAN/application/Tools/LogViewer -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include MainWindow.h -o .tmp/release/moc_MainWindow.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_MainWindow.o .tmp/release/moc_MainWindow.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Tools/LogViewer/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Tools/LogViewer -I/workspaces/D-LAN/application/Tools/LogViewer -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include TableLogModel.h -o .tmp/release/moc_TableLogModel.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_TableLogModel.o .tmp/release/moc_TableLogModel.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Tools/LogViewer/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Tools/LogViewer -I/workspaces/D-LAN/application/Tools/LogViewer -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include TooglableList/TooglableList.h -o .tmp/release/moc_TooglableList.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_TooglableList.o .tmp/release/moc_TooglableList.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Tools/LogViewer/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Tools/LogViewer -I/workspaces/D-LAN/application/Tools/LogViewer -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include TooglableList/TooglableListButton.h -o .tmp/release/moc_TooglableListButton.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_TooglableListButton.o .tmp/release/moc_TooglableListButton.cpp +g++ -Wl,-O1 -o output/release/LogViewer .tmp/release/main.o .tmp/release/MainWindow.o .tmp/release/TableLogModel.o .tmp/release/TableLogItemDelegate.o .tmp/release/TooglableList.o .tmp/release/TooglableListButton.o .tmp/release/qrc_resources.o .tmp/release/moc_MainWindow.o .tmp/release/moc_TableLogModel.o .tmp/release/moc_TooglableList.o .tmp/release/moc_TooglableListButton.o -L../../Common/LogManager/output/release -lLogManager -L../../Common/output/release -lCommon -lprotobuf /usr/lib/x86_64-linux-gnu/libQt5Widgets.so /usr/lib/x86_64-linux-gnu/libQt5Gui.so /usr/lib/x86_64-linux-gnu/libQt5Network.so /usr/lib/x86_64-linux-gnu/libQt5Core.so -lGL -lpthread +make: Leaving directory '/workspaces/D-LAN/application/Tools/LogViewer' +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Compiling PasswordHasher.. +Info: creating stash file /workspaces/D-LAN/application/Tools/PasswordHasher/.qmake.stash +RCC: Warning: No resources in 'ressources.qrc'. +make: Entering directory '/workspaces/D-LAN/application/Tools/PasswordHasher' +rm -f .tmp/release/qrc_ressources.cpp +rm -f .tmp/release/moc_predefs.h +rm -f .tmp/release/moc_MainWindow.cpp +rm -f .tmp/release/ui_MainWindow.h +rm -f .tmp/release/main.o .tmp/release/MainWindow.o .tmp/release/common.pb.o .tmp/release/core_settings.pb.o .tmp/release/qrc_ressources.o .tmp/release/moc_MainWindow.o +rm -f *~ core *.core +make: Leaving directory '/workspaces/D-LAN/application/Tools/PasswordHasher' +make: Entering directory '/workspaces/D-LAN/application/Tools/PasswordHasher' +/usr/lib/qt5/bin/uic MainWindow.ui -o .tmp/release/ui_MainWindow.h +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/main.o main.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/MainWindow.o MainWindow.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/common.pb.o ../../Protos/common.pb.cc +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/core_settings.pb.o ../../Protos/core_settings.pb.cc +/usr/lib/qt5/bin/rcc -name ressources ressources.qrc -o .tmp/release/qrc_ressources.cpp +RCC: Warning: No resources in 'ressources.qrc'. +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/qrc_ressources.o .tmp/release/qrc_ressources.cpp +g++ -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -dM -E -o .tmp/release/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /workspaces/D-LAN/application/Tools/PasswordHasher/.tmp/release/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/workspaces/D-LAN/application/Tools/PasswordHasher -I/workspaces/D-LAN/application/Tools/PasswordHasher -I/workspaces/D-LAN/application -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/x86_64-linux-gnu/13/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include MainWindow.h -o .tmp/release/moc_MainWindow.cpp +g++ -c -pipe -std=c++0x -O2 -frtti -Wall -Wno-parentheses -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../.. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I.tmp/release -I.tmp/release -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .tmp/release/moc_MainWindow.o .tmp/release/moc_MainWindow.cpp +g++ -Wl,-O1 -o output/release/PasswordHasher .tmp/release/main.o .tmp/release/MainWindow.o .tmp/release/common.pb.o .tmp/release/core_settings.pb.o .tmp/release/qrc_ressources.o .tmp/release/moc_MainWindow.o -L../../Common/output/release -lCommon -lprotobuf /usr/lib/x86_64-linux-gnu/libQt5Widgets.so /usr/lib/x86_64-linux-gnu/libQt5Gui.so /usr/lib/x86_64-linux-gnu/libQt5Network.so /usr/lib/x86_64-linux-gnu/libQt5Core.so -lGL -lpthread +make: Leaving directory '/workspaces/D-LAN/application/Tools/PasswordHasher' +/workspaces/D-LAN/application +Compilation finished successfully +/workspaces/D-LAN/application /workspaces/D-LAN/application +Executing TestsCommon.. +********* Start testing of Tests ********* +Config: Using QtTest library 5.15.13, Qt 5.15.13 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.2.0), ubuntu 24.04 +QDEBUG : Tests::initTestCase() Application directory path (where the settings and persistent data are put) : "/home/codespace/.d-lan" +PASS : Tests::initTestCase() +QDEBUG : Tests::getVersion() Global::getVersion(): "1.1.0" +QDEBUG : Tests::getVersion() Global::getVersionTag(): "Beta15" +QDEBUG : Tests::getVersion() Global::getSystemVersion(): "Linux 6.8.0-1044-azure" +QDEBUG : Tests::getVersion() Global::getVersionFull(): "1.1.0 Beta15 - Linux 6.8.0-1044-azure" +PASS : Tests::getVersion() +PASS : Tests::commonPrefix() +PASS : Tests::nCombinations() +PASS : Tests::formatByteSize() +PASS : Tests::formatTime() +QDEBUG : Tests::availableDiskSpace() Available disk space [Mo] : 18278 +PASS : Tests::availableDiskSpace() +PASS : Tests::splitInWords() +PASS : Tests::hashStringToInt() +PASS : Tests::sortedList() +QDEBUG : Tests::transferRateCalculator() Transfert rate: 0 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 0 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 0 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 0 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 33 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 33 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 66 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 66 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 99 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 132 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 166 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 199 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 232 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 298 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 331 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 398 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 431 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 497 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 564 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 631 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 697 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 764 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 831 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 897 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 997 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 997 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 998 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 998 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 998 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 998 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 998 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 998 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 998 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 998 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 998 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 998 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 999 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 826 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 626 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 392 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 193 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 0 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 0 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 0 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 0 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 0 +QDEBUG : Tests::transferRateCalculator() Transfert rate: 0 +PASS : Tests::transferRateCalculator() +PASS : Tests::writePersistentData() +QDEBUG : Tests::readPersistentData() Ok, exception UnknownValueException catched for the value 'john' +PASS : Tests::readPersistentData() +PASS : Tests::removePersistentData() +PASS : Tests::writeSettings() +PASS : Tests::readSettings() +PASS : Tests::removeSettings() +QDEBUG : Tests::generateAHash() Reference : "2d73736f34a73837d422f7aba2740d8409ac60df" +QDEBUG : Tests::generateAHash() h1 (Randomly generated hash) : "feae0bce6dd0dfac98cb36a04c83cd4d6ee85e80" +QDEBUG : Tests::generateAHash() h2 (from QByteArray) : "2d73736f34a73837d422f7aba2740d8409ac60df" +QDEBUG : Tests::generateAHash() h3 (copied from h2) : "2d73736f34a73837d422f7aba2740d8409ac60df" +QDEBUG : Tests::generateAHash() h4 (from char[]) : "2d73736f34a73837d422f7aba2740d8409ac60df" +PASS : Tests::generateAHash() +PASS : Tests::buildAnHashFromAString() +PASS : Tests::compareTwoHash() +PASS : Tests::hashMoveConstuctorAndAssignment() +PASS : Tests::hasher() +QDEBUG : Tests::bloomFilter() i == 0 ... +QDEBUG : Tests::bloomFilter() i == 10 ... +QDEBUG : Tests::bloomFilter() i == 20 ... +QDEBUG : Tests::bloomFilter() i == 30 ... +QDEBUG : Tests::bloomFilter() i == 40 ... +QDEBUG : Tests::bloomFilter() i == 50 ... +QDEBUG : Tests::bloomFilter() i == 60 ... +QDEBUG : Tests::bloomFilter() i == 70 ... +QDEBUG : Tests::bloomFilter() i == 80 ... +QDEBUG : Tests::bloomFilter() i == 90 ... +QDEBUG : Tests::bloomFilter() Measurement of the probability (p) for n = 100000 with 100 tests: 0 +PASS : Tests::bloomFilter() +QDEBUG : Tests::messageHeader() "MessageHeader : type = IM_ALIVE, size = 42, senderID = 2d73736f34a73837d422f7aba2740d8409ac60df" +PASS : Tests::messageHeader() +QDEBUG : Tests::readAndWriteWithZeroCopyStreamQIODevice() hash1 : "2c583d414e4a9eb956228209b367e48f59078a4b" +QDEBUG : Tests::readAndWriteWithZeroCopyStreamQIODevice() hash2 : "5c9c3741bded231f84b8a8200eaf3e30a9c0a951" +PASS : Tests::readAndWriteWithZeroCopyStreamQIODevice() +QDEBUG : Tests::protoHelper() +The protocol buffer message (Protos::Common::Entry): +"type: FILE\npath: \"path\"\nname: \"name\"\nsize: 0\nchunk {\n hash: \"ac2f75c043fbc36709d315f2245746d8588c3ac1\"\n}\nchunk {\n hash: \"25eb8c48ff89cb854fc09081cc47edfc8619b214\"\n}\nchunk {\n hash: \"a80fed48162bd24b6807a2b15f4bd52f3f1fda94\"\n}\nchunk {\n hash: \"6a98f983b8c80015fd93ca6bf9a98a9577a6e094\"\n}\nchunk {\n hash: \"7aaeb7c5816857c832893afc676d5e37b73968a4\"\n}\n" +PASS : Tests::protoHelper() +PASS : Tests::cleanupTestCase() +Totals: 27 passed, 0 failed, 0 skipped, 0 blacklisted, 25589ms +********* Finished testing of Tests ********* +********* Start testing of TreeTests ********* +Config: Using QtTest library 5.15.13, Qt 5.15.13 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.2.0), ubuntu 24.04 +PASS : TreeTests::initTestCase() +PASS : TreeTests::insertElements() +PASS : TreeTests::retrieveElements() +PASS : TreeTests::iterateBreathFirst() +PASS : TreeTests::iterateDepthFirst() +PASS : TreeTests::iterateReverseDepthFirst() +PASS : TreeTests::removeElements() +PASS : TreeTests::cleanupTestCase() +Totals: 8 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms +********* Finished testing of TreeTests ********* +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Executing TestsFileManager.. +********* Start testing of Tests ********* +Config: Using QtTest library 5.15.13, Qt 5.15.13 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.2.0), ubuntu 24.04 +PASS : Tests::initTestCase() +PASS : Tests::testWordIndex() +PASS : Tests::createFileManager() +PASS : Tests::addASharedDirectoryIncoming() +PASS : Tests::addASharedDirectory() +PASS : Tests::addAnAlreadySharedDirectory() +PASS : Tests::swapTwoDirectories() +PASS : Tests::addInexistingSharedDirectory() +PASS : Tests::addSubSharedDirectories() +PASS : Tests::addSuperSharedDirectories() +PASS : Tests::createAFile() +PASS : Tests::moveAFile() +PASS : Tests::renameAFile() +PASS : Tests::modifyAFile() +PASS : Tests::removeAFile() +PASS : Tests::createASubFile() +PASS : Tests::createABigFile() +PASS : Tests::modifyABigFile() +PASS : Tests::removeABigFile() +PASS : Tests::createADirectory() +PASS : Tests::renameADirectory() +PASS : Tests::moveAnEmptyDirectory() +PASS : Tests::moveADirectoryContainingFiles() +PASS : Tests::removeADirectory() +PASS : Tests::createAnEmptyFile() +PASS : Tests::getAnExistingChunk() +PASS : Tests::getAnUnexistingChunk() +PASS : Tests::getHashesFromAFileEntry1() +PASS : Tests::getHashesFromAFileEntry2() +PASS : Tests::browseSomedirectories() +PASS : Tests::findExistingFilesWithOneWord() +PASS : Tests::findUnexistingFilesWithOneWord() +PASS : Tests::findFilesWithSomeWords1() +PASS : Tests::findFilesWithSomeWords2() +PASS : Tests::findFilesWithResultFragmentation() +PASS : Tests::haveChunks() +PASS : Tests::printAmount() +PASS : Tests::rmSharedDirectory() +PASS : Tests::chunksPerformance() +PASS : Tests::cleanupTestCase() +Totals: 40 passed, 0 failed, 0 skipped, 0 blacklisted, 9893ms +********* Finished testing of Tests ********* +/workspaces/D-LAN/application +/workspaces/D-LAN/application /workspaces/D-LAN/application +Executing TestsPeerManager.. +********* Start testing of Tests ********* +Config: Using QtTest library 5.15.13, Qt 5.15.13 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.2.0), ubuntu 24.04 +PASS : Tests::initTestCase() +PASS : Tests::updatePeers() +PASS : Tests::getPeerFromID() +PASS : Tests::askForRootEntries() +PASS : Tests::askForSomeEntries() +PASS : Tests::askForHashes() +PASS : Tests::askForAChunk() +PASS : Tests::cleanupTestCase() +Totals: 8 passed, 0 failed, 0 skipped, 0 blacklisted, 1289ms +********* Finished testing of Tests ********* +/workspaces/D-LAN/application +All tests finished successfully +./linux_ubuntu_setup.sh: line 44: convert: command not found +cp: cannot stat '../../Installations/packaging/temp/icon-0.png': No such file or directory +cp: cannot stat '../../Installations/packaging/temp/icon-1.png': No such file or directory +cp: cannot stat '../../Installations/packaging/temp/icon-2.png': No such file or directory +cp: cannot stat '../../Installations/packaging/temp/icon-3.png': No such file or directory +cp: cannot stat '../../Installations/packaging/temp/icon-4.png': No such file or directory +cp: cannot stat '../../Installations/packaging/temp/icon-5.png': No such file or directory +cp: cannot stat '../../Installations/packaging/temp/icon-6.png': No such file or directory +For which architecture ? +1) i386 +2) amd64 +3) armhf +#? dpkg-deb: warning: parsing file 'd-lan/DEBIAN/control' near line 16 package 'd-lan-all-in-one': + empty value for 'Architecture' field +dpkg-deb: error: package architecture is missing or empty +mv: cannot stat 'd-lan.deb': No such file or directory diff --git a/application/Common/.qmake.stash b/application/Common/.qmake.stash new file mode 100644 index 000000000..99e66aa3e --- /dev/null +++ b/application/Common/.qmake.stash @@ -0,0 +1,23 @@ +QMAKE_CXX.QT_COMPILER_STDCXX = 201703L +QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 13 +QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 +QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 +QMAKE_CXX.COMPILER_MACROS = \ + QT_COMPILER_STDCXX \ + QMAKE_GCC_MAJOR_VERSION \ + QMAKE_GCC_MINOR_VERSION \ + QMAKE_GCC_PATCH_VERSION +QMAKE_CXX.INCDIRS = \ + /usr/include/c++/13 \ + /usr/include/x86_64-linux-gnu/c++/13 \ + /usr/include/c++/13/backward \ + /usr/lib/gcc/x86_64-linux-gnu/13/include \ + /usr/local/include \ + /usr/include/x86_64-linux-gnu \ + /usr/include +QMAKE_CXX.LIBDIRS = \ + /usr/lib/gcc/x86_64-linux-gnu/13 \ + /usr/lib/x86_64-linux-gnu \ + /usr/lib \ + /lib/x86_64-linux-gnu \ + /lib diff --git a/application/Common/Hash.cpp b/application/Common/Hash.cpp index 7cd3fd94b..0288319e3 100644 --- a/application/Common/Hash.cpp +++ b/application/Common/Hash.cpp @@ -233,8 +233,8 @@ Hash Hash::fromStr(const QString& str) for (int i = 0; i < HASH_SIZE && 2*i + 1 < strLower.size(); i++) { - char c1 = strLower[2*i].toAscii(); - char c2 = strLower[2*i + 1].toAscii(); + char c1 = strLower[2*i].toLatin1(); + char c2 = strLower[2*i + 1].toLatin1(); char p1 = c1 <= '9' ? c1 - '0' : c1 - 'a' + 10; char p2 = c2 <= '9' ? c2 - '0' : c2 - 'a' + 10; diff --git a/application/Common/LogManager/priv/QtLogger.cpp b/application/Common/LogManager/priv/QtLogger.cpp index 82e181dcf..536db9cbb 100644 --- a/application/Common/LogManager/priv/QtLogger.cpp +++ b/application/Common/LogManager/priv/QtLogger.cpp @@ -20,6 +20,7 @@ using namespace LM; #include +#include #include @@ -33,7 +34,7 @@ using namespace LM; * will create its own handle and discard the current one. */ -void handler(QtMsgType type, const char* msg) +void handler(QtMsgType type, const QMessageLogContext& /*context*/, const QString& msg) { Severity s = type == QtDebugMsg ? SV_DEBUG : @@ -41,7 +42,7 @@ void handler(QtMsgType type, const char* msg) type == QtCriticalMsg ? SV_ERROR : type == QtFatalMsg ? SV_FATAL_ERROR : SV_UNKNOWN; - QtLogger::me.log(msg, s); + QtLogger::me.log(qPrintable(msg), s); } const QtLogger QtLogger::me; @@ -52,7 +53,7 @@ const QtLogger QtLogger::me; */ void QtLogger::initMsgHandler() { - qInstallMsgHandler(handler); + qInstallMessageHandler(handler); } QtLogger::QtLogger() : diff --git a/application/Common/LogManager/priv/StdLogger.cpp b/application/Common/LogManager/priv/StdLogger.cpp index da610e460..fa929a8ba 100644 --- a/application/Common/LogManager/priv/StdLogger.cpp +++ b/application/Common/LogManager/priv/StdLogger.cpp @@ -49,7 +49,7 @@ void StdLogger::run() { qint64 size; while((size = this->stdoutIn.readLine(this->buffer, BUFFER_SIZE)) != -1) - this->log(QString::fromAscii(this->buffer, size), SV_DEBUG); + this->log(QString::fromLatin1(this->buffer, size), SV_DEBUG); } StdLogger::StdLogger(int channel, const QString& name) : diff --git a/application/Common/ProtoHelper.cpp b/application/Common/ProtoHelper.cpp index 792fab581..26f976a1f 100644 --- a/application/Common/ProtoHelper.cpp +++ b/application/Common/ProtoHelper.cpp @@ -29,13 +29,13 @@ void ProtoHelper::setLang(Protos::Common::Language& langMess, const QLocale& loc const QStringList& langCountry = locale.name().split('_'); if (langCountry.length() == 2) { - ProtoHelper::setStr(langMess, &Protos::Common::Language::set_lang, langCountry[0]); - ProtoHelper::setStr(langMess, &Protos::Common::Language::set_country, langCountry[1]); + langMess.set_lang(langCountry[0].toUtf8().constData()); + langMess.set_country(langCountry[1].toUtf8().constData()); } else { - ProtoHelper::setStr(langMess, &Protos::Common::Language::set_lang, "en"); - ProtoHelper::setStr(langMess, &Protos::Common::Language::set_country, "US"); + langMess.set_lang("en"); + langMess.set_country("US"); } } @@ -143,12 +143,12 @@ QString ProtoHelper::getDebugStr(const google::protobuf::Message& mess) { if (str[pos] != '\\') { - hashHex.append(QString::number(str[pos].toAscii(), 16)); + hashHex.append(QString::number(str[pos].toLatin1(), 16)); pos++; } else { - switch (str[pos+1].toAscii()) + switch (str[pos+1].toLatin1()) { case 'r': hashHex.append("0d"); @@ -165,7 +165,7 @@ QString ProtoHelper::getDebugStr(const google::protobuf::Message& mess) case '"': case '\'': case '\\': - hashHex.append(QString::number(str[pos+1].toAscii(), 16)); + hashHex.append(QString::number(str[pos+1].toLatin1(), 16)); pos += 2; break; default: // It's an octal number, for example : "\123" diff --git a/application/Common/ProtoHelper.h b/application/Common/ProtoHelper.h index 06da23b88..ce4075558 100644 --- a/application/Common/ProtoHelper.h +++ b/application/Common/ProtoHelper.h @@ -37,13 +37,13 @@ namespace Common { public: template - static void setStr(T& mess, void (T::*setter)(const char*), const QString& str); + static void setStr(T& mess, void (T::*setter)(const std::string&), const QString& str); template static QString getStr(const T& mess, const std::string& (T::*getter)() const); template - static void addRepeatedStr(T& mess, void (T::*adder)(const char*), const QString& str); + static void addRepeatedStr(T& mess, void (T::*adder)(const std::string&), const QString& str); template static QString getRepeatedStr(const T& mess, const std::string& (T::*getter)(int) const, int i); @@ -71,10 +71,10 @@ namespace Common using namespace Common; template -void ProtoHelper::setStr(T& mess, void (T::*setter)(const char*), const QString& str) +void ProtoHelper::setStr(T& mess, void (T::*setter)(const std::string&), const QString& str) { - const QByteArray& array = str.toUtf8(); - (mess.*setter)(array.constData()); + const std::string utf8 = str.toUtf8().constData(); + (mess.*setter)(utf8); } template @@ -85,10 +85,10 @@ QString ProtoHelper::getStr(const T& mess, const std::string& (T::*getter)() con } template -void ProtoHelper::addRepeatedStr(T& mess, void (T::*adder)(const char*), const QString& str) +void ProtoHelper::addRepeatedStr(T& mess, void (T::*adder)(const std::string&), const QString& str) { - const QByteArray& array = str.toUtf8(); - (mess.*adder)(array.constData()); + const std::string utf8 = str.toUtf8().constData(); + (mess.*adder)(utf8); } template diff --git a/application/Common/RemoteCoreController/priv/InternalCoreConnection.cpp b/application/Common/RemoteCoreController/priv/InternalCoreConnection.cpp index 3f8c208db..2a93f5c4f 100644 --- a/application/Common/RemoteCoreController/priv/InternalCoreConnection.cpp +++ b/application/Common/RemoteCoreController/priv/InternalCoreConnection.cpp @@ -115,7 +115,7 @@ void InternalCoreConnection::disconnectFromCore() void InternalCoreConnection::sendChatMessage(const QString& message) { Protos::GUI::ChatMessage chatMessage; - Common::ProtoHelper::setStr(chatMessage, &Protos::GUI::ChatMessage::set_message, message); + Common::ProtoHelper::setStr(chatMessage, static_cast(&Protos::GUI::ChatMessage::set_message), message); this->send(Common::MessageHeader::GUI_CHAT_MESSAGE, chatMessage); } @@ -215,7 +215,7 @@ void InternalCoreConnection::download(const Common::Hash& peerID, const Protos:: downloadMessage.mutable_entry()->CopyFrom(entry); if (!sharedFolderID.isNull()) downloadMessage.mutable_destination_directory_id()->set_hash(sharedFolderID.getData(), Common::Hash::HASH_SIZE); - Common::ProtoHelper::setStr(downloadMessage, &Protos::GUI::Download::set_destination_path, path); + Common::ProtoHelper::setStr(downloadMessage, static_cast(&Protos::GUI::Download::set_destination_path), path); this->send(Common::MessageHeader::GUI_DOWNLOAD, downloadMessage); } diff --git a/application/Common/RemoteCoreController/priv/SearchResult.cpp b/application/Common/RemoteCoreController/priv/SearchResult.cpp index 954605c01..aa7dc49f4 100644 --- a/application/Common/RemoteCoreController/priv/SearchResult.cpp +++ b/application/Common/RemoteCoreController/priv/SearchResult.cpp @@ -34,7 +34,7 @@ SearchResult::SearchResult(InternalCoreConnection* coreConnection, const QString void SearchResult::start() { Protos::GUI::Search search; - Common::ProtoHelper::setStr(search, &Protos::GUI::Search::set_pattern, this->terms); + Common::ProtoHelper::setStr(search, static_cast(&Protos::GUI::Search::set_pattern), this->terms); this->coreConnection->send(Common::MessageHeader::GUI_SEARCH, search); this->startTimer(); } diff --git a/application/Common/TestsCommon/Tests.cpp b/application/Common/TestsCommon/Tests.cpp index 862e77c34..3d4fbfa0e 100644 --- a/application/Common/TestsCommon/Tests.cpp +++ b/application/Common/TestsCommon/Tests.cpp @@ -514,8 +514,8 @@ void Tests::protoHelper() Protos::Common::Entry entry; entry.set_type(Protos::Common::Entry::FILE); entry.set_size(0); - ProtoHelper::setStr(entry, &Protos::Common::Entry::set_path, path); - ProtoHelper::setStr(entry, &Protos::Common::Entry::set_name, name); + ProtoHelper::setStr(entry, static_cast(&Protos::Common::Entry::set_path), path); + ProtoHelper::setStr(entry, static_cast(&Protos::Common::Entry::set_name), name); QCOMPARE(ProtoHelper::getStr(entry, &Protos::Common::Entry::path), path); QCOMPARE(ProtoHelper::getStr(entry, &Protos::Common::Entry::name), name); @@ -523,7 +523,7 @@ void Tests::protoHelper() Protos::GUI::CoreSettings::SharedDirectories sharedDirs; const QList dirs = QList() << "abc" << "def" << "ghi"; foreach (QString dir, dirs) - ProtoHelper::addRepeatedStr(sharedDirs, &Protos::GUI::CoreSettings::SharedDirectories::add_dir, dir); + ProtoHelper::addRepeatedStr(sharedDirs, static_cast(&Protos::GUI::CoreSettings::SharedDirectories::add_dir), dir); for (int i = 0; i < dirs.size(); i++) QCOMPARE(ProtoHelper::getRepeatedStr(sharedDirs, &Protos::GUI::CoreSettings::SharedDirectories::dir, i), dirs[i]); diff --git a/application/Common/Version.h b/application/Common/Version.h index 62ef79538..1e6c6edfd 100644 --- a/application/Common/Version.h +++ b/application/Common/Version.h @@ -23,7 +23,7 @@ #define VERSION_TAG "Beta15" // These two values are automatically updated during the release building process. See the script 'Application/Tools/update_version.sh' -#define BUILD_TIME "2012-12-02_16-03" -#define GIT_VERSION "a6dfd850db6e42acfa88785689e5f77ad49330d5" +#define BUILD_TIME "2026-05-08_16-56" +#define GIT_VERSION "670bb4a6758d702732cf6328ecccfa876c88c549" #endif diff --git a/application/Core/.qmake.stash b/application/Core/.qmake.stash new file mode 100644 index 000000000..99e66aa3e --- /dev/null +++ b/application/Core/.qmake.stash @@ -0,0 +1,23 @@ +QMAKE_CXX.QT_COMPILER_STDCXX = 201703L +QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 13 +QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 +QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 +QMAKE_CXX.COMPILER_MACROS = \ + QT_COMPILER_STDCXX \ + QMAKE_GCC_MAJOR_VERSION \ + QMAKE_GCC_MINOR_VERSION \ + QMAKE_GCC_PATCH_VERSION +QMAKE_CXX.INCDIRS = \ + /usr/include/c++/13 \ + /usr/include/x86_64-linux-gnu/c++/13 \ + /usr/include/c++/13/backward \ + /usr/lib/gcc/x86_64-linux-gnu/13/include \ + /usr/local/include \ + /usr/include/x86_64-linux-gnu \ + /usr/include +QMAKE_CXX.LIBDIRS = \ + /usr/lib/gcc/x86_64-linux-gnu/13 \ + /usr/lib/x86_64-linux-gnu \ + /usr/lib \ + /lib/x86_64-linux-gnu \ + /lib diff --git a/application/Core/CoreService.cpp b/application/Core/CoreService.cpp index 0c7076b98..7a53cd234 100644 --- a/application/Core/CoreService.cpp +++ b/application/Core/CoreService.cpp @@ -35,7 +35,7 @@ CoreService::CoreService(bool resetSettings, QLocale locale, int argc, char** ar // If Core is launched from the console we read user input. for (int i = 1; i < argc; i++) { - QString currentArg = QString::fromAscii(argv[i]); + QString currentArg = QString::fromLocal8Bit(argv[i]); if (currentArg == "-e" || currentArg == "--exec") { connect(&this->consoleReader, SIGNAL(newLine(QString)), this, SLOT(processUserInput(QString)), Qt::QueuedConnection); diff --git a/application/Core/DownloadManager/.qmake.stash b/application/Core/DownloadManager/.qmake.stash new file mode 100644 index 000000000..99e66aa3e --- /dev/null +++ b/application/Core/DownloadManager/.qmake.stash @@ -0,0 +1,23 @@ +QMAKE_CXX.QT_COMPILER_STDCXX = 201703L +QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 13 +QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 +QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 +QMAKE_CXX.COMPILER_MACROS = \ + QT_COMPILER_STDCXX \ + QMAKE_GCC_MAJOR_VERSION \ + QMAKE_GCC_MINOR_VERSION \ + QMAKE_GCC_PATCH_VERSION +QMAKE_CXX.INCDIRS = \ + /usr/include/c++/13 \ + /usr/include/x86_64-linux-gnu/c++/13 \ + /usr/include/c++/13/backward \ + /usr/lib/gcc/x86_64-linux-gnu/13/include \ + /usr/local/include \ + /usr/include/x86_64-linux-gnu \ + /usr/include +QMAKE_CXX.LIBDIRS = \ + /usr/lib/gcc/x86_64-linux-gnu/13 \ + /usr/lib/x86_64-linux-gnu \ + /usr/lib \ + /lib/x86_64-linux-gnu \ + /lib diff --git a/application/Core/DownloadManager/priv/ChunkDownloader.cpp b/application/Core/DownloadManager/priv/ChunkDownloader.cpp index 15bc8302f..490ea11bc 100644 --- a/application/Core/DownloadManager/priv/ChunkDownloader.cpp +++ b/application/Core/DownloadManager/priv/ChunkDownloader.cpp @@ -62,6 +62,11 @@ ChunkDownloader::~ChunkDownloader() L_DEBU(QString("ChunkDownloader deleted : %1").arg(this->chunkHash.toStr())); } +void ChunkDownloader::setSelf(const QSharedPointer& self) +{ + this->self = self; +} + /** * Return true if the chunk was downloading. */ @@ -73,7 +78,7 @@ void ChunkDownloader::stop() this->downloading = false; this->mutex.unlock(); - this->threadPool.wait(this); + this->threadPool.wait(this->self); this->downloadingEnded(); } @@ -472,7 +477,7 @@ void ChunkDownloader::stream(const QSharedPointer& socket) this->socket = socket; static const quint32 SOCKET_BUFFER_SIZE = SETTINGS.get("socket_buffer_size"); this->socket->setReadBufferSize(SOCKET_BUFFER_SIZE); - this->threadPool.run(this); + this->threadPool.run(this->self); } void ChunkDownloader::getChunkTimeout() diff --git a/application/Core/DownloadManager/priv/ChunkDownloader.h b/application/Core/DownloadManager/priv/ChunkDownloader.h index 95e0b166c..b489fe78c 100644 --- a/application/Core/DownloadManager/priv/ChunkDownloader.h +++ b/application/Core/DownloadManager/priv/ChunkDownloader.h @@ -20,6 +20,7 @@ #define DOWNLOADMANAGER_CHUNKDOWNLOADER_H #include +#include #include #include #include @@ -70,6 +71,7 @@ namespace DM QSharedPointer getChunk() const; void setPeerSource(PM::IPeer* peer, bool informOccupiedPeers = true); + void setSelf(const QSharedPointer& self); int isReadyToDownload(); bool isDownloading() const; @@ -112,6 +114,7 @@ namespace DM Common::Hash chunkHash; QSharedPointer chunk; + QWeakPointer self; QList peers; // The peers which own this chunk. PM::IPeer* currentDownloadingPeer; diff --git a/application/Core/DownloadManager/priv/Download.cpp b/application/Core/DownloadManager/priv/Download.cpp index f6be8caa0..c0ba48b52 100644 --- a/application/Core/DownloadManager/priv/Download.cpp +++ b/application/Core/DownloadManager/priv/Download.cpp @@ -58,7 +58,7 @@ void Download::populateQueueEntry(Protos::Queue::Queue::Entry* entry) const entry->set_status(static_cast(this->status)); entry->mutable_peer_source_id()->set_hash(this->peerSource->getID().getData(), Common::Hash::HASH_SIZE); - Common::ProtoHelper::setStr(*entry, &Protos::Queue::Queue::Entry::set_peer_source_nick, this->peerSource->getNick()); + Common::ProtoHelper::setStr(*entry, static_cast(&Protos::Queue::Queue::Entry::set_peer_source_nick), this->peerSource->getNick()); } quint64 Download::getID() const diff --git a/application/Core/DownloadManager/priv/DownloadManager.cpp b/application/Core/DownloadManager/priv/DownloadManager.cpp index a08a820d4..c5cd41653 100644 --- a/application/Core/DownloadManager/priv/DownloadManager.cpp +++ b/application/Core/DownloadManager/priv/DownloadManager.cpp @@ -117,7 +117,7 @@ Download* DownloadManager::addDownload(const Protos::Common::Entry& remoteEntry, localEntry.clear_shared_dir(); localEntry.set_exists(false); - Common::ProtoHelper::setStr(localEntry, &Protos::Common::Entry::set_path, localRelativePath); + Common::ProtoHelper::setStr(localEntry, static_cast(&Protos::Common::Entry::set_path), localRelativePath); if (!destinationDirectoryID.isNull()) localEntry.mutable_shared_dir()->mutable_id()->set_hash(destinationDirectoryID.getData(), Common::Hash::HASH_SIZE); diff --git a/application/Core/DownloadManager/priv/FileDownload.cpp b/application/Core/DownloadManager/priv/FileDownload.cpp index 01e0c65f9..44d236fb5 100644 --- a/application/Core/DownloadManager/priv/FileDownload.cpp +++ b/application/Core/DownloadManager/priv/FileDownload.cpp @@ -71,6 +71,7 @@ FileDownload::FileDownload( QSharedPointer chunkDownloader = QSharedPointer(new ChunkDownloader(this->linkedPeers, this->occupiedPeersDownloadingChunk, this->transferRateCalculator, this->threadPool, chunkHash)); this->chunkDownloaders << chunkDownloader; + this->chunkDownloaders.last()->setSelf(chunkDownloader); this->connectChunkDownloaderSignals(this->chunkDownloaders.last()); } this->nbHashesKnown = this->chunkDownloaders.size(); diff --git a/application/Core/FileManager/.qmake.stash b/application/Core/FileManager/.qmake.stash new file mode 100644 index 000000000..99e66aa3e --- /dev/null +++ b/application/Core/FileManager/.qmake.stash @@ -0,0 +1,23 @@ +QMAKE_CXX.QT_COMPILER_STDCXX = 201703L +QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 13 +QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 +QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 +QMAKE_CXX.COMPILER_MACROS = \ + QT_COMPILER_STDCXX \ + QMAKE_GCC_MAJOR_VERSION \ + QMAKE_GCC_MINOR_VERSION \ + QMAKE_GCC_PATCH_VERSION +QMAKE_CXX.INCDIRS = \ + /usr/include/c++/13 \ + /usr/include/x86_64-linux-gnu/c++/13 \ + /usr/include/c++/13/backward \ + /usr/lib/gcc/x86_64-linux-gnu/13/include \ + /usr/local/include \ + /usr/include/x86_64-linux-gnu \ + /usr/include +QMAKE_CXX.LIBDIRS = \ + /usr/lib/gcc/x86_64-linux-gnu/13 \ + /usr/lib/x86_64-linux-gnu \ + /usr/lib \ + /lib/x86_64-linux-gnu \ + /lib diff --git a/application/Core/FileManager/TestsFileManager/StressTest.cpp b/application/Core/FileManager/TestsFileManager/StressTest.cpp index a8bc05b26..c87338357 100644 --- a/application/Core/FileManager/TestsFileManager/StressTest.cpp +++ b/application/Core/FileManager/TestsFileManager/StressTest.cpp @@ -428,8 +428,8 @@ void StressTest::newFile() Protos::Common::Entry entry; entry.set_type(Protos::Common::Entry_Type_DIR); - Common::ProtoHelper::setStr(entry, &Protos::Common::Entry::set_path, path); - Common::ProtoHelper::setStr(entry, &Protos::Common::Entry::set_name, this->randGen.generateAName()); + Common::ProtoHelper::setStr(entry, static_cast(&Protos::Common::Entry::set_path), path); + Common::ProtoHelper::setStr(entry, static_cast(&Protos::Common::Entry::set_name), this->randGen.generateAName()); entry.set_size(bytes); for (int i = 0; i < this->randGen.rand(nbChunk); i++) // Do not give all hashes. { diff --git a/application/Core/FileManager/TestsFileManager/StressTests.cpp b/application/Core/FileManager/TestsFileManager/StressTests.cpp index 37a64110e..092472275 100644 --- a/application/Core/FileManager/TestsFileManager/StressTests.cpp +++ b/application/Core/FileManager/TestsFileManager/StressTests.cpp @@ -49,7 +49,8 @@ void StressTests::initTestCase() } catch(Common::Global::UnableToSetTempDirException& e) { - QFAIL(e.errorMessage.toAscii().constData()); + QByteArray errorMessage = e.errorMessage.toLocal8Bit(); + QFAIL(errorMessage.constData()); } Common::PersistentData::rmValue(Common::Constants::FILE_CACHE, Common::Global::DataFolderType::LOCAL); // Reset the stored cache. diff --git a/application/Core/FileManager/TestsFileManager/Tests.cpp b/application/Core/FileManager/TestsFileManager/Tests.cpp index 168e22bb3..3b66a4bc0 100644 --- a/application/Core/FileManager/TestsFileManager/Tests.cpp +++ b/application/Core/FileManager/TestsFileManager/Tests.cpp @@ -66,7 +66,8 @@ void Tests::initTestCase() } catch(Common::Global::UnableToSetTempDirException& e) { - QFAIL(e.errorMessage.toAscii().constData()); + QByteArray errorMessage = e.errorMessage.toLocal8Bit(); + QFAIL(errorMessage.constData()); } Common::PersistentData::rmValue(Common::Constants::FILE_CACHE, Common::Global::DataFolderType::LOCAL); // Reset the stored cache. diff --git a/application/Core/FileManager/priv/Cache/Cache.cpp b/application/Core/FileManager/priv/Cache/Cache.cpp index 0faa26ab9..af2981925 100644 --- a/application/Core/FileManager/priv/Cache/Cache.cpp +++ b/application/Core/FileManager/priv/Cache/Cache.cpp @@ -600,7 +600,7 @@ void Cache::populateHashes(Protos::FileCache::Hashes& hashes) const SharedDirectory* sharedDir = i.next(); Protos::FileCache::Hashes_SharedDir* sharedDirMess = hashes.add_shareddir(); sharedDirMess->mutable_id()->set_hash(sharedDir->getId().getData(), Common::Hash::HASH_SIZE); - Common::ProtoHelper::setStr(*sharedDirMess, &Protos::FileCache::Hashes_SharedDir::set_path, sharedDir->getFullPath()); + Common::ProtoHelper::setStr(*sharedDirMess, static_cast(&Protos::FileCache::Hashes_SharedDir::set_path), sharedDir->getFullPath()); sharedDir->populateHashesDir(*sharedDirMess->mutable_root()); } diff --git a/application/Core/FileManager/priv/Cache/Directory.cpp b/application/Core/FileManager/priv/Cache/Directory.cpp index eec911255..5b5435de0 100644 --- a/application/Core/FileManager/priv/Cache/Directory.cpp +++ b/application/Core/FileManager/priv/Cache/Directory.cpp @@ -132,7 +132,7 @@ void Directory::populateHashesDir(Protos::FileCache::Hashes::Dir& dirToFill) con { QMutexLocker locker(&this->mutex); - Common::ProtoHelper::setStr(dirToFill, &Protos::FileCache::Hashes_Dir::set_name, this->getName()); + Common::ProtoHelper::setStr(dirToFill, static_cast(&Protos::FileCache::Hashes_Dir::set_name), this->getName()); subDirsCopy = this->subDirs.getList(); filesCopy = this->files.getList(); } diff --git a/application/Core/FileManager/priv/Cache/Entry.cpp b/application/Core/FileManager/priv/Cache/Entry.cpp index 7b7cad007..689dae0ad 100644 --- a/application/Core/FileManager/priv/Cache/Entry.cpp +++ b/application/Core/FileManager/priv/Cache/Entry.cpp @@ -40,8 +40,8 @@ Entry::~Entry() void Entry::populateEntry(Protos::Common::Entry* entry, bool setSharedDir) const { - Common::ProtoHelper::setStr(*entry, &Protos::Common::Entry::set_path, this->getPath()); - Common::ProtoHelper::setStr(*entry, &Protos::Common::Entry::set_name, this->getName()); + Common::ProtoHelper::setStr(*entry, static_cast(&Protos::Common::Entry::set_path), this->getPath()); + Common::ProtoHelper::setStr(*entry, static_cast(&Protos::Common::Entry::set_name), this->getName()); entry->set_size(this->getSize()); if (setSharedDir) @@ -54,7 +54,7 @@ void Entry::populateEntrySharedDir(Protos::Common::Entry* entry) const if (dir) { entry->mutable_shared_dir()->mutable_id()->set_hash(dir->getId().getData(), Common::Hash::HASH_SIZE); - Common::ProtoHelper::setStr(*entry->mutable_shared_dir(), &Protos::Common::SharedDir::set_shared_name, dir->getName()); + Common::ProtoHelper::setStr(*entry->mutable_shared_dir(), static_cast(&Protos::Common::SharedDir::set_shared_name), dir->getName()); } } diff --git a/application/Core/FileManager/priv/Cache/File.cpp b/application/Core/FileManager/priv/Cache/File.cpp index 3b5b70d45..589416017 100644 --- a/application/Core/FileManager/priv/Cache/File.cpp +++ b/application/Core/FileManager/priv/Cache/File.cpp @@ -179,7 +179,7 @@ void File::populateHashesFile(Protos::FileCache::Hashes_File& fileToFill) const { QMutexLocker locker(&this->mutex); - Common::ProtoHelper::setStr(fileToFill, &Protos::FileCache::Hashes_File::set_filename, this->name); + Common::ProtoHelper::setStr(fileToFill, static_cast(&Protos::FileCache::Hashes_File::set_filename), this->name); fileToFill.set_size(this->size); fileToFill.set_date_last_modified(this->getDateLastModified().toMSecsSinceEpoch()); diff --git a/application/Core/NetworkListener/.qmake.stash b/application/Core/NetworkListener/.qmake.stash new file mode 100644 index 000000000..99e66aa3e --- /dev/null +++ b/application/Core/NetworkListener/.qmake.stash @@ -0,0 +1,23 @@ +QMAKE_CXX.QT_COMPILER_STDCXX = 201703L +QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 13 +QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 +QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 +QMAKE_CXX.COMPILER_MACROS = \ + QT_COMPILER_STDCXX \ + QMAKE_GCC_MAJOR_VERSION \ + QMAKE_GCC_MINOR_VERSION \ + QMAKE_GCC_PATCH_VERSION +QMAKE_CXX.INCDIRS = \ + /usr/include/c++/13 \ + /usr/include/x86_64-linux-gnu/c++/13 \ + /usr/include/c++/13/backward \ + /usr/lib/gcc/x86_64-linux-gnu/13/include \ + /usr/local/include \ + /usr/include/x86_64-linux-gnu \ + /usr/include +QMAKE_CXX.LIBDIRS = \ + /usr/lib/gcc/x86_64-linux-gnu/13 \ + /usr/lib/x86_64-linux-gnu \ + /usr/lib \ + /lib/x86_64-linux-gnu \ + /lib diff --git a/application/Core/NetworkListener/priv/Chat.cpp b/application/Core/NetworkListener/priv/Chat.cpp index 1cc2bf4c5..d385342e2 100644 --- a/application/Core/NetworkListener/priv/Chat.cpp +++ b/application/Core/NetworkListener/priv/Chat.cpp @@ -51,7 +51,7 @@ Chat::Chat(UDPListener& uDPListener) : void Chat::send(const QString& message) { Protos::Core::ChatMessage chatMessage; - Common::ProtoHelper::setStr(chatMessage, &Protos::Core::ChatMessage::set_message, message); + Common::ProtoHelper::setStr(chatMessage, static_cast(&Protos::Core::ChatMessage::set_message), message); this->uDPListener.send(Common::MessageHeader::CORE_CHAT_MESSAGE, chatMessage); diff --git a/application/Core/NetworkListener/priv/Search.cpp b/application/Core/NetworkListener/priv/Search.cpp index d74267e76..c15315d84 100644 --- a/application/Core/NetworkListener/priv/Search.cpp +++ b/application/Core/NetworkListener/priv/Search.cpp @@ -52,7 +52,7 @@ quint64 Search::search(const QString& words) this->tag = (static_cast(this->mtrand.randInt()) << 32) | this->mtrand.randInt(); findMessage.set_tag(this->tag); - Common::ProtoHelper::setStr(findMessage, &Protos::Core::Find::set_pattern, words); + Common::ProtoHelper::setStr(findMessage, static_cast(&Protos::Core::Find::set_pattern), words); connect(&this->uDPListener, SIGNAL(newFindResultMessage(Protos::Common::FindResult)), this, SLOT(newFindResult(Protos::Common::FindResult))); diff --git a/application/Core/NetworkListener/priv/UDPListener.cpp b/application/Core/NetworkListener/priv/UDPListener.cpp index 1232d2204..50e3e8e58 100644 --- a/application/Core/NetworkListener/priv/UDPListener.cpp +++ b/application/Core/NetworkListener/priv/UDPListener.cpp @@ -135,11 +135,11 @@ void UDPListener::sendIMAliveMessage() { Protos::Core::IMAlive IMAliveMessage; IMAliveMessage.set_version(PROTOCOL_VERSION); - ProtoHelper::setStr(IMAliveMessage, &Protos::Core::IMAlive::set_core_version, Common::Global::getVersionFull()); + ProtoHelper::setStr(IMAliveMessage, static_cast(&Protos::Core::IMAlive::set_core_version), Common::Global::getVersionFull()); IMAliveMessage.set_port(this->UNICAST_PORT); const QString& nick = this->peerManager->getSelf()->getNick(); - Common::ProtoHelper::setStr(IMAliveMessage, &Protos::Core::IMAlive::set_nick, nick.length() > MAX_NICK_LENGTH ? nick.left(MAX_NICK_LENGTH) : nick); + Common::ProtoHelper::setStr(IMAliveMessage, static_cast(&Protos::Core::IMAlive::set_nick), nick.length() > MAX_NICK_LENGTH ? nick.left(MAX_NICK_LENGTH) : nick); IMAliveMessage.set_amount(this->fileManager->getAmount()); IMAliveMessage.set_download_rate(this->downloadManager->getDownloadRate()); diff --git a/application/Core/PeerManager/.qmake.stash b/application/Core/PeerManager/.qmake.stash new file mode 100644 index 000000000..99e66aa3e --- /dev/null +++ b/application/Core/PeerManager/.qmake.stash @@ -0,0 +1,23 @@ +QMAKE_CXX.QT_COMPILER_STDCXX = 201703L +QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 13 +QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 +QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 +QMAKE_CXX.COMPILER_MACROS = \ + QT_COMPILER_STDCXX \ + QMAKE_GCC_MAJOR_VERSION \ + QMAKE_GCC_MINOR_VERSION \ + QMAKE_GCC_PATCH_VERSION +QMAKE_CXX.INCDIRS = \ + /usr/include/c++/13 \ + /usr/include/x86_64-linux-gnu/c++/13 \ + /usr/include/c++/13/backward \ + /usr/lib/gcc/x86_64-linux-gnu/13/include \ + /usr/local/include \ + /usr/include/x86_64-linux-gnu \ + /usr/include +QMAKE_CXX.LIBDIRS = \ + /usr/lib/gcc/x86_64-linux-gnu/13 \ + /usr/lib/x86_64-linux-gnu \ + /usr/lib \ + /lib/x86_64-linux-gnu \ + /lib diff --git a/application/Core/PeerManager/TestsPeerManager/Tests.cpp b/application/Core/PeerManager/TestsPeerManager/Tests.cpp index 037a30e42..a6b353e83 100644 --- a/application/Core/PeerManager/TestsPeerManager/Tests.cpp +++ b/application/Core/PeerManager/TestsPeerManager/Tests.cpp @@ -61,7 +61,8 @@ void Tests::initTestCase() } catch(Common::Global::UnableToSetTempDirException& e) { - QFAIL(e.errorMessage.toAscii().constData()); + QByteArray errorMessage = e.errorMessage.toLocal8Bit(); + QFAIL(errorMessage.constData()); } Common::PersistentData::rmValue(Common::Constants::FILE_CACHE, Common::Global::DataFolderType::LOCAL); // Reset the stored cache. diff --git a/application/Core/RemoteControlManager/.qmake.stash b/application/Core/RemoteControlManager/.qmake.stash new file mode 100644 index 000000000..99e66aa3e --- /dev/null +++ b/application/Core/RemoteControlManager/.qmake.stash @@ -0,0 +1,23 @@ +QMAKE_CXX.QT_COMPILER_STDCXX = 201703L +QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 13 +QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 +QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 +QMAKE_CXX.COMPILER_MACROS = \ + QT_COMPILER_STDCXX \ + QMAKE_GCC_MAJOR_VERSION \ + QMAKE_GCC_MINOR_VERSION \ + QMAKE_GCC_PATCH_VERSION +QMAKE_CXX.INCDIRS = \ + /usr/include/c++/13 \ + /usr/include/x86_64-linux-gnu/c++/13 \ + /usr/include/c++/13/backward \ + /usr/lib/gcc/x86_64-linux-gnu/13/include \ + /usr/local/include \ + /usr/include/x86_64-linux-gnu \ + /usr/include +QMAKE_CXX.LIBDIRS = \ + /usr/lib/gcc/x86_64-linux-gnu/13 \ + /usr/lib/x86_64-linux-gnu \ + /usr/lib \ + /lib/x86_64-linux-gnu \ + /lib diff --git a/application/Core/RemoteControlManager/priv/RemoteConnection.cpp b/application/Core/RemoteControlManager/priv/RemoteConnection.cpp index be9b48ee6..f68d1303c 100644 --- a/application/Core/RemoteControlManager/priv/RemoteConnection.cpp +++ b/application/Core/RemoteControlManager/priv/RemoteConnection.cpp @@ -132,7 +132,7 @@ void RemoteConnection::sendMessageToItself(const QString& message) Protos::GUI::EventChatMessages_Message* eventChatMessage = eventChatMessages.add_message(); eventChatMessage->mutable_peer_id()->set_hash(this->peerManager->getSelf()->getID().getData(), Common::Hash::HASH_SIZE); eventChatMessage->set_time(QDateTime::currentMSecsSinceEpoch()); - Common::ProtoHelper::setStr(*eventChatMessage, &Protos::GUI::EventChatMessages_Message::set_message, message); + Common::ProtoHelper::setStr(*eventChatMessage, static_cast(&Protos::GUI::EventChatMessages_Message::set_message), message); this->send(Common::MessageHeader::GUI_EVENT_CHAT_MESSAGES, eventChatMessages); } @@ -156,8 +156,8 @@ void RemoteConnection::refresh() self->set_sharing_amount(this->fileManager->getAmount()); self->set_download_rate(downloadRate); self->set_upload_rate(uploadRate); - Common::ProtoHelper::setStr(*self, &Protos::GUI::State::Peer::set_nick, this->peerManager->getSelf()->getNick()); - Common::ProtoHelper::setStr(*self, &Protos::GUI::State::Peer::set_core_version, Common::Global::getVersionFull()); + Common::ProtoHelper::setStr(*self, static_cast(&Protos::GUI::State::Peer::set_nick), this->peerManager->getSelf()->getNick()); + Common::ProtoHelper::setStr(*self, static_cast(&Protos::GUI::State::Peer::set_core_version), Common::Global::getVersionFull()); // Peers. const QList& peers = this->peerManager->getPeers(); @@ -166,11 +166,11 @@ void RemoteConnection::refresh() PM::IPeer* peer = i.next(); Protos::GUI::State::Peer* protoPeer = state.add_peer(); protoPeer->mutable_peer_id()->set_hash(peer->getID().getData(), Common::Hash::HASH_SIZE); - Common::ProtoHelper::setStr(*protoPeer, &Protos::GUI::State::Peer::set_nick, peer->getNick()); + Common::ProtoHelper::setStr(*protoPeer, static_cast(&Protos::GUI::State::Peer::set_nick), peer->getNick()); const QString coreVersion = peer->getCoreVersion(); if (!coreVersion.isNull()) - Common::ProtoHelper::setStr(*protoPeer, &Protos::GUI::State::Peer::set_core_version, coreVersion); + Common::ProtoHelper::setStr(*protoPeer, static_cast(&Protos::GUI::State::Peer::set_core_version), coreVersion); protoPeer->set_sharing_amount(peer->getSharingAmount()); protoPeer->set_download_rate(peer->getDownloadRate()); @@ -198,7 +198,7 @@ void RemoteConnection::refresh() protoDownload->add_peer_id()->set_hash(j.next()->getID().getData(), Common::Hash::HASH_SIZE); if (!peerSource->getNick().isNull()) - Common::ProtoHelper::setStr(*protoDownload, &Protos::GUI::State::Download::set_peer_source_nick, peerSource->getNick()); + Common::ProtoHelper::setStr(*protoDownload, static_cast(&Protos::GUI::State::Download::set_peer_source_nick), peerSource->getNick()); } // Uploads. @@ -225,7 +225,7 @@ void RemoteConnection::refresh() { Common::SharedDir sharedDir = i.next(); Protos::GUI::State::SharedDir* sharedDirProto = state.add_shared_directory(); - Common::ProtoHelper::setStr(*sharedDirProto, &Protos::GUI::State::SharedDir::set_path, sharedDir.path); + Common::ProtoHelper::setStr(*sharedDirProto, static_cast(&Protos::GUI::State::SharedDir::set_path), sharedDir.path); sharedDirProto->set_size(sharedDir.size); sharedDirProto->set_free_space(sharedDir.freeSpace); sharedDirProto->mutable_id()->set_hash(sharedDir.ID.getData(), Common::Hash::HASH_SIZE); @@ -257,13 +257,13 @@ void RemoteConnection::refresh() { Protos::Common::Interface* interfaceMess = state.add_interface(); interfaceMess->set_id(interface.index() == 0 ? Common::Global::hashStringToInt(interface.name()) : interface.index()); - Common::ProtoHelper::setStr(*interfaceMess, &Protos::Common::Interface::set_name, interface.humanReadableName()); + Common::ProtoHelper::setStr(*interfaceMess, static_cast(&Protos::Common::Interface::set_name), interface.humanReadableName()); interfaceMess->set_isup(interface.flags().testFlag(QNetworkInterface::IsUp) && interface.flags().testFlag(QNetworkInterface::IsRunning)); for (QListIterator j(addresses); j.hasNext();) { QHostAddress address = j.next().ip(); Protos::Common::Interface::Address* addressMess = interfaceMess->add_address(); - Common::ProtoHelper::setStr(*addressMess, &Protos::Common::Interface::Address::set_address, address.toString()); + Common::ProtoHelper::setStr(*addressMess, static_cast(&Protos::Common::Interface::Address::set_address), address.toString()); addressMess->set_protocol(address.protocol() == QAbstractSocket::IPv6Protocol ? Protos::Common::Interface::Address::IPv6 : Protos::Common::Interface::Address::IPv4); addressMess->set_listened(address == adressToListen); } @@ -315,7 +315,7 @@ void RemoteConnection::newLogEntry(QSharedPointer entry) { Protos::GUI::EventLogMessages::EventLogMessage* eventLogMessage = this->eventLogMessages.add_message(); eventLogMessage->set_time(entry->getDate().currentMSecsSinceEpoch()); - Common::ProtoHelper::setStr(*eventLogMessage, &Protos::GUI::EventLogMessages::EventLogMessage::set_message, entry->getMessage()); + Common::ProtoHelper::setStr(*eventLogMessage, static_cast(&Protos::GUI::EventLogMessages::EventLogMessage::set_message), entry->getMessage()); eventLogMessage->set_severity(static_cast(entry->getSeverity())); if (!this->sendLogMessagesTimer.isActive()) diff --git a/application/Core/UploadManager/.qmake.stash b/application/Core/UploadManager/.qmake.stash new file mode 100644 index 000000000..99e66aa3e --- /dev/null +++ b/application/Core/UploadManager/.qmake.stash @@ -0,0 +1,23 @@ +QMAKE_CXX.QT_COMPILER_STDCXX = 201703L +QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 13 +QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 +QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 +QMAKE_CXX.COMPILER_MACROS = \ + QT_COMPILER_STDCXX \ + QMAKE_GCC_MAJOR_VERSION \ + QMAKE_GCC_MINOR_VERSION \ + QMAKE_GCC_PATCH_VERSION +QMAKE_CXX.INCDIRS = \ + /usr/include/c++/13 \ + /usr/include/x86_64-linux-gnu/c++/13 \ + /usr/include/c++/13/backward \ + /usr/lib/gcc/x86_64-linux-gnu/13/include \ + /usr/local/include \ + /usr/include/x86_64-linux-gnu \ + /usr/include +QMAKE_CXX.LIBDIRS = \ + /usr/lib/gcc/x86_64-linux-gnu/13 \ + /usr/lib/x86_64-linux-gnu \ + /usr/lib \ + /lib/x86_64-linux-gnu \ + /lib diff --git a/application/GUI/.qmake.stash b/application/GUI/.qmake.stash new file mode 100644 index 000000000..99e66aa3e --- /dev/null +++ b/application/GUI/.qmake.stash @@ -0,0 +1,23 @@ +QMAKE_CXX.QT_COMPILER_STDCXX = 201703L +QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 13 +QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 +QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 +QMAKE_CXX.COMPILER_MACROS = \ + QT_COMPILER_STDCXX \ + QMAKE_GCC_MAJOR_VERSION \ + QMAKE_GCC_MINOR_VERSION \ + QMAKE_GCC_PATCH_VERSION +QMAKE_CXX.INCDIRS = \ + /usr/include/c++/13 \ + /usr/include/x86_64-linux-gnu/c++/13 \ + /usr/include/c++/13/backward \ + /usr/lib/gcc/x86_64-linux-gnu/13/include \ + /usr/local/include \ + /usr/include/x86_64-linux-gnu \ + /usr/include +QMAKE_CXX.LIBDIRS = \ + /usr/lib/gcc/x86_64-linux-gnu/13 \ + /usr/lib/x86_64-linux-gnu \ + /usr/lib \ + /lib/x86_64-linux-gnu \ + /lib diff --git a/application/GUI/Browse/WidgetBrowse.cpp b/application/GUI/Browse/WidgetBrowse.cpp index 3b409e814..64b34f354 100644 --- a/application/GUI/Browse/WidgetBrowse.cpp +++ b/application/GUI/Browse/WidgetBrowse.cpp @@ -54,8 +54,8 @@ WidgetBrowse::WidgetBrowse(QSharedPointer coreConnection, this->ui->treeView->setModel(&this->browseModel); this->ui->treeView->setItemDelegate(&this->browseDelegate); this->ui->treeView->header()->setVisible(false); - this->ui->treeView->header()->setResizeMode(0, QHeaderView::ResizeToContents); - this->ui->treeView->header()->setResizeMode(1, QHeaderView::Stretch); + this->ui->treeView->header()->setSectionResizeMode(0, QHeaderView::ResizeToContents); + this->ui->treeView->header()->setSectionResizeMode(1, QHeaderView::Stretch); this->ui->treeView->setSelectionBehavior(QAbstractItemView::SelectRows); this->ui->treeView->setSelectionMode(QAbstractItemView::ExtendedSelection); diff --git a/application/GUI/Chat/WidgetChat.cpp b/application/GUI/Chat/WidgetChat.cpp index 83d0a09ce..27732b787 100644 --- a/application/GUI/Chat/WidgetChat.cpp +++ b/application/GUI/Chat/WidgetChat.cpp @@ -66,12 +66,12 @@ WidgetChat::WidgetChat(QSharedPointer coreConnection, Peer this->ui->tblChat->setItemDelegate(&this->chatDelegate); this->ui->tblChat->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel); this->ui->tblChat->horizontalHeader()->setVisible(false); - this->ui->tblChat->horizontalHeader()->setResizeMode(0, QHeaderView::ResizeToContents); - this->ui->tblChat->horizontalHeader()->setResizeMode(1, QHeaderView::ResizeToContents); - this->ui->tblChat->horizontalHeader()->setResizeMode(2, QHeaderView::Stretch); + this->ui->tblChat->horizontalHeader()->setSectionResizeMode(0, QHeaderView::ResizeToContents); + this->ui->tblChat->horizontalHeader()->setSectionResizeMode(1, QHeaderView::ResizeToContents); + this->ui->tblChat->horizontalHeader()->setSectionResizeMode(2, QHeaderView::Stretch); //this->ui->tblChat->verticalHeader()->setResizeMode(QHeaderView::ResizeToContents); - this->ui->tblChat->verticalHeader()->setResizeMode(QHeaderView::Fixed); + // this->ui->tblChat->verticalHeader()->setResizeMode(QHeaderView::Fixed); // Removed in Qt5 this->ui->tblChat->verticalHeader()->setDefaultSectionSize(QApplication::fontMetrics().height() + 2); this->ui->tblChat->verticalHeader()->setVisible(false); diff --git a/application/GUI/Downloads/DownloadsModel.cpp b/application/GUI/Downloads/DownloadsModel.cpp index 8460a2588..0921701bf 100644 --- a/application/GUI/Downloads/DownloadsModel.cpp +++ b/application/GUI/Downloads/DownloadsModel.cpp @@ -19,6 +19,7 @@ #include using namespace GUI; +#include #include #include diff --git a/application/GUI/Downloads/DownloadsTreeModel.cpp b/application/GUI/Downloads/DownloadsTreeModel.cpp index 8f8e816f2..888e829bd 100644 --- a/application/GUI/Downloads/DownloadsTreeModel.cpp +++ b/application/GUI/Downloads/DownloadsTreeModel.cpp @@ -397,8 +397,8 @@ QList DownloadsTreeModel::getDownloadIDs(Tree* tree) const DownloadsTreeModel::Tree* DownloadsTreeModel::insertDirectory(Tree* parentTree, const QString& dir, const QString& peerSourceNick, const Common::Hash& peerSourceID, const Common::Hash& sharedDirID) { Protos::GUI::State::Download download; - ProtoHelper::setStr(*download.mutable_local_entry(), &Protos::Common::Entry::set_name, dir); - ProtoHelper::setStr(download, &Protos::GUI::State::Download::set_peer_source_nick, peerSourceNick); + ProtoHelper::setStr(*download.mutable_local_entry(), static_cast(&Protos::Common::Entry::set_name), dir); + ProtoHelper::setStr(download, static_cast(&Protos::GUI::State::Download::set_peer_source_nick), peerSourceNick); download.add_peer_id()->set_hash(peerSourceID.getData(), Common::Hash::HASH_SIZE); download.mutable_local_entry()->mutable_shared_dir()->mutable_id()->set_hash(sharedDirID.getData(), Common::Hash::HASH_SIZE); download.mutable_local_entry()->set_type(Protos::Common::Entry::DIR); diff --git a/application/GUI/Downloads/WidgetDownloads.cpp b/application/GUI/Downloads/WidgetDownloads.cpp index 1f6ddfc2c..534abbc2c 100644 --- a/application/GUI/Downloads/WidgetDownloads.cpp +++ b/application/GUI/Downloads/WidgetDownloads.cpp @@ -129,11 +129,11 @@ WidgetDownloads::WidgetDownloads(QSharedPointer coreConnec this->ui->tblDownloads->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel); this->ui->tblDownloads->header()->setStretchLastSection(false); this->ui->tblDownloads->header()->setVisible(false); - this->ui->tblDownloads->header()->setResizeMode(0, QHeaderView::Stretch); - this->ui->tblDownloads->header()->setResizeMode(1, QHeaderView::ResizeToContents); - this->ui->tblDownloads->header()->setResizeMode(2, QHeaderView::ResizeToContents); - this->ui->tblDownloads->header()->setResizeMode(3, QHeaderView::ResizeToContents); - this->ui->tblDownloads->header()->setResizeMode(4, QHeaderView::ResizeToContents); + this->ui->tblDownloads->header()->setSectionResizeMode(0, QHeaderView::Stretch); + this->ui->tblDownloads->header()->setSectionResizeMode(1, QHeaderView::ResizeToContents); + this->ui->tblDownloads->header()->setSectionResizeMode(2, QHeaderView::ResizeToContents); + this->ui->tblDownloads->header()->setSectionResizeMode(3, QHeaderView::ResizeToContents); + this->ui->tblDownloads->header()->setSectionResizeMode(4, QHeaderView::ResizeToContents); this->ui->tblDownloads->header()->setMinimumSectionSize(0); this->ui->tblDownloads->setSelectionBehavior(QAbstractItemView::SelectRows); diff --git a/application/GUI/GUI.pro b/application/GUI/GUI.pro index eb8bb3012..54def3f1f 100644 --- a/application/GUI/GUI.pro +++ b/application/GUI/GUI.pro @@ -7,7 +7,7 @@ # Uncomment this line to enable the leak detector. # DEFINES += ENABLE_NVWA -QT += core gui network +QT += core gui widgets network TARGET = "D-LAN.GUI" TEMPLATE = app diff --git a/application/GUI/MainWindow.cpp b/application/GUI/MainWindow.cpp index 579d95d55..fc13be005 100644 --- a/application/GUI/MainWindow.cpp +++ b/application/GUI/MainWindow.cpp @@ -86,13 +86,13 @@ MainWindow::MainWindow(QSharedPointer coreConnection, QWid this->ui->tblPeers->setModel(&this->peerListModel); this->ui->tblPeers->setItemDelegate(&this->peerListDelegate); - this->ui->tblPeers->horizontalHeader()->setResizeMode(0, QHeaderView::ResizeToContents); - this->ui->tblPeers->horizontalHeader()->setResizeMode(1, QHeaderView::Stretch); - this->ui->tblPeers->horizontalHeader()->setResizeMode(2, QHeaderView::ResizeToContents); + this->ui->tblPeers->horizontalHeader()->setSectionResizeMode(0, QHeaderView::ResizeToContents); + this->ui->tblPeers->horizontalHeader()->setSectionResizeMode(1, QHeaderView::Stretch); + this->ui->tblPeers->horizontalHeader()->setSectionResizeMode(2, QHeaderView::ResizeToContents); this->ui->tblPeers->horizontalHeader()->setVisible(false); // TODO: is there an another way to reduce the row size? - this->ui->tblPeers->verticalHeader()->setResizeMode(QHeaderView::Fixed); + this->ui->tblPeers->verticalHeader()->setSectionResizeMode(QHeaderView::Fixed); this->ui->tblPeers->verticalHeader()->setDefaultSectionSize(QApplication::fontMetrics().height() + 4); this->ui->tblPeers->verticalHeader()->setVisible(false); this->ui->tblPeers->setSelectionBehavior(QAbstractItemView::SelectRows); @@ -108,11 +108,11 @@ MainWindow::MainWindow(QSharedPointer coreConnection, QWid this->ui->tblLog->setModel(&this->logModel); this->ui->tblLog->setItemDelegate(&this->logDelegate); - this->ui->tblLog->horizontalHeader()->setResizeMode(0, QHeaderView::ResizeToContents); - this->ui->tblLog->horizontalHeader()->setResizeMode(1, QHeaderView::Stretch); + this->ui->tblLog->horizontalHeader()->setSectionResizeMode(0, QHeaderView::ResizeToContents); + this->ui->tblLog->horizontalHeader()->setSectionResizeMode(1, QHeaderView::Stretch); this->ui->tblLog->horizontalHeader()->setVisible(false); - this->ui->tblLog->verticalHeader()->setResizeMode(QHeaderView::Fixed); + this->ui->tblLog->verticalHeader()->setSectionResizeMode(QHeaderView::Fixed); this->ui->tblLog->verticalHeader()->setDefaultSectionSize(QApplication::fontMetrics().height() + 2); this->ui->tblLog->verticalHeader()->setVisible(false); this->ui->tblLog->setSelectionBehavior(QAbstractItemView::SelectRows); @@ -765,7 +765,7 @@ void MainWindow::setApplicationStateAsDisconnected() void MainWindow::saveWindowsSettings() { - L_DEBU(QString("Save state : %1").arg(QString::fromAscii(this->saveState().toHex().data()))); + L_DEBU(QString("Save state : %1").arg(QString::fromLatin1(this->saveState().toHex().data()))); SETTINGS.set("windows_state", this->saveState()); diff --git a/application/GUI/Search/WidgetSearch.cpp b/application/GUI/Search/WidgetSearch.cpp index 96d65b1fe..75e80b90d 100644 --- a/application/GUI/Search/WidgetSearch.cpp +++ b/application/GUI/Search/WidgetSearch.cpp @@ -26,7 +26,6 @@ using namespace GUI; #include #include #include -#include #include #include diff --git a/application/GUI/Settings/WidgetSettings.cpp b/application/GUI/Settings/WidgetSettings.cpp index 6ec138f04..edafe5127 100644 --- a/application/GUI/Settings/WidgetSettings.cpp +++ b/application/GUI/Settings/WidgetSettings.cpp @@ -55,13 +55,12 @@ WidgetSettings::WidgetSettings(QSharedPointer coreConnecti this->ui->tblShareDirs->setItemDelegate(&this->dirListDelegate); this->ui->tblShareDirs->setModel(&this->sharedDirsModel); - this->ui->tblShareDirs->horizontalHeader()->setResizeMode(0, QHeaderView::Stretch); - this->ui->tblShareDirs->horizontalHeader()->setResizeMode(1, QHeaderView::ResizeToContents); - this->ui->tblShareDirs->horizontalHeader()->setResizeMode(2, QHeaderView::ResizeToContents); - this->ui->tblShareDirs->horizontalHeader()->setClickable(false); + this->ui->tblShareDirs->horizontalHeader()->setSectionResizeMode(0, QHeaderView::Stretch); + this->ui->tblShareDirs->horizontalHeader()->setSectionResizeMode(1, QHeaderView::ResizeToContents); + this->ui->tblShareDirs->horizontalHeader()->setSectionResizeMode(2, QHeaderView::ResizeToContents); this->ui->tblShareDirs->horizontalHeader()->setVisible(true); - this->ui->tblShareDirs->verticalHeader()->setResizeMode(QHeaderView::Fixed); + // this->ui->tblShareDirs->verticalHeader()->setResizeMode(QHeaderView::Fixed); // Removed in Qt5 this->ui->tblShareDirs->verticalHeader()->setDefaultSectionSize(QApplication::fontMetrics().height() + 2); this->ui->tblShareDirs->verticalHeader()->setVisible(false); this->ui->tblShareDirs->setSelectionBehavior(QAbstractItemView::SelectRows); @@ -450,11 +449,11 @@ void WidgetSettings::saveCoreSettings() return; Protos::GUI::CoreSettings settings; - Common::ProtoHelper::setStr(settings, &Protos::GUI::CoreSettings::set_nick, this->ui->txtNick->text()); + Common::ProtoHelper::setStr(settings, static_cast(&Protos::GUI::CoreSettings::set_nick), this->ui->txtNick->text()); settings.set_enable_integrity_check(this->ui->chkEnableIntegrityCheck->isChecked()); for (QListIterator i(this->sharedDirsModel.getDirs()); i.hasNext();) - Common::ProtoHelper::addRepeatedStr(*settings.mutable_shared_directories(), &Protos::GUI::CoreSettings::SharedDirectories::add_dir, i.next().path); + Common::ProtoHelper::addRepeatedStr(*settings.mutable_shared_directories(), static_cast(&Protos::GUI::CoreSettings::SharedDirectories::add_dir), i.next().path); if (this->ui->radIPv6->isChecked()) settings.set_listen_any(Protos::Common::Interface::Address::IPv6); @@ -467,7 +466,7 @@ void WidgetSettings::saveCoreSettings() QRadioButton* button = i.next(); if (button->isChecked()) { - Common::ProtoHelper::setStr(settings, &Protos::GUI::CoreSettings::set_listen_address, button->text()); + Common::ProtoHelper::setStr(settings, static_cast(&Protos::GUI::CoreSettings::set_listen_address), button->text()); break; } } diff --git a/application/GUI/Uploads/WidgetUploads.cpp b/application/GUI/Uploads/WidgetUploads.cpp index 4bb97f123..83877ee53 100644 --- a/application/GUI/Uploads/WidgetUploads.cpp +++ b/application/GUI/Uploads/WidgetUploads.cpp @@ -67,13 +67,13 @@ WidgetUploads::WidgetUploads(QSharedPointer coreConnection this->ui->tblUploads->setItemDelegate(&this->uploadsDelegate); this->ui->tblUploads->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel); this->ui->tblUploads->horizontalHeader()->setVisible(false); - this->ui->tblUploads->horizontalHeader()->setResizeMode(0, QHeaderView::Stretch); - this->ui->tblUploads->horizontalHeader()->setResizeMode(1, QHeaderView::ResizeToContents); - this->ui->tblUploads->horizontalHeader()->setResizeMode(2, QHeaderView::ResizeToContents); - this->ui->tblUploads->horizontalHeader()->setResizeMode(3, QHeaderView::ResizeToContents); + this->ui->tblUploads->horizontalHeader()->setSectionResizeMode(0, QHeaderView::Stretch); + this->ui->tblUploads->horizontalHeader()->setSectionResizeMode(1, QHeaderView::ResizeToContents); + this->ui->tblUploads->horizontalHeader()->setSectionResizeMode(2, QHeaderView::ResizeToContents); + this->ui->tblUploads->horizontalHeader()->setSectionResizeMode(3, QHeaderView::ResizeToContents); //this->ui->tblChat->verticalHeader()->setResizeMode(QHeaderView::ResizeToContents); - this->ui->tblUploads->verticalHeader()->setResizeMode(QHeaderView::Fixed); + // this->ui->tblUploads->verticalHeader()->setResizeMode(QHeaderView::Fixed); // Removed in Qt5 this->ui->tblUploads->verticalHeader()->setDefaultSectionSize(QApplication::fontMetrics().height() + 2); this->ui->tblUploads->verticalHeader()->setVisible(false); diff --git a/application/Installations/D-LAN-1.1.0Beta15-2026-05-08_17-10-670bb4a6758d702732cf6328ecccfa876c88c549.tar.gz b/application/Installations/D-LAN-1.1.0Beta15-2026-05-08_17-10-670bb4a6758d702732cf6328ecccfa876c88c549.tar.gz new file mode 100644 index 000000000..9278ad95d Binary files /dev/null and b/application/Installations/D-LAN-1.1.0Beta15-2026-05-08_17-10-670bb4a6758d702732cf6328ecccfa876c88c549.tar.gz differ diff --git a/application/Installations/D-LAN-1.1.0Beta15-2026-05-08_17-15-670bb4a6758d702732cf6328ecccfa876c88c549.tar.gz b/application/Installations/D-LAN-1.1.0Beta15-2026-05-08_17-15-670bb4a6758d702732cf6328ecccfa876c88c549.tar.gz new file mode 100644 index 000000000..9278ad95d Binary files /dev/null and b/application/Installations/D-LAN-1.1.0Beta15-2026-05-08_17-15-670bb4a6758d702732cf6328ecccfa876c88c549.tar.gz differ diff --git a/application/Installations/packaging/d-lan/DEBIAN/control b/application/Installations/packaging/d-lan/DEBIAN/control new file mode 100644 index 000000000..a992d5516 --- /dev/null +++ b/application/Installations/packaging/d-lan/DEBIAN/control @@ -0,0 +1,15 @@ +Package: d-lan-all-in-one +Version: 1.1.0-Beta15 +License: GPL-3 +Section: base +Priority: optional +Architecture: amd64 +Installed-Size: 3964 +Depends: libprotobuf7 (>= 2.4.1), libqtcore4 (>= 4:4.8), libqtgui4 (>= 4:4.8), libqt4-network (>= 4:4.8), libc6 (>= 2.15), libstdc++6 (>= 4.6.3), libgcc1 (>= 1:4.6.3) +Maintainer: Hervé Martinet +Homepage: http://www.d-lan.net +Description: A free LAN file sharing software. + The goal is to easily exchange a large amount of data + in a local area network environment like a LAN-Party. + After you launched D-LAN, you will see all other people and their + sharing automatically without special configuration. diff --git a/application/Installations/packaging/d-lan/DEBIAN/postinst b/application/Installations/packaging/d-lan/DEBIAN/postinst new file mode 100755 index 000000000..95eef3f7d --- /dev/null +++ b/application/Installations/packaging/d-lan/DEBIAN/postinst @@ -0,0 +1,4 @@ +#!/bin/bash + +ln -s /usr/share/d-lan/D-LAN.Core /usr/bin/d-lan-core +ln -s /usr/share/d-lan/D-LAN.GUI /usr/bin/d-lan-gui diff --git a/application/Installations/packaging/d-lan/DEBIAN/prerm b/application/Installations/packaging/d-lan/DEBIAN/prerm new file mode 100755 index 000000000..8fad590f7 --- /dev/null +++ b/application/Installations/packaging/d-lan/DEBIAN/prerm @@ -0,0 +1,4 @@ +#!/bin/bash + +rm /usr/bin/d-lan-core +rm /usr/bin/d-lan-gui diff --git a/application/Installations/packaging/d-lan/usr/share/applications/d-lan.desktop b/application/Installations/packaging/d-lan/usr/share/applications/d-lan.desktop new file mode 100644 index 000000000..d0dd73c11 --- /dev/null +++ b/application/Installations/packaging/d-lan/usr/share/applications/d-lan.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Version=1.0 +Terminal=false +Icon=d-lan +Type=Application +Categories=Network; +Exec=d-lan-gui +Name=D-LAN diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/D-LAN.Core b/application/Installations/packaging/d-lan/usr/share/d-lan/D-LAN.Core new file mode 100755 index 000000000..1e42baca7 Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/D-LAN.Core differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/D-LAN.GUI b/application/Installations/packaging/d-lan/usr/share/d-lan/D-LAN.GUI new file mode 100755 index 000000000..ae29fe225 Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/D-LAN.GUI differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/arrow_down.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/arrow_down.png new file mode 100644 index 000000000..bcb9b3bd2 Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/arrow_down.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/checkbox_checked.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/checkbox_checked.png new file mode 100644 index 000000000..c49e317e1 Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/checkbox_checked.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/checkbox_unchecked.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/checkbox_unchecked.png new file mode 100644 index 000000000..3a5f79b8e Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/checkbox_unchecked.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/close.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/close.png new file mode 100644 index 000000000..68416abae Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/close.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/dockwidget_close.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/dockwidget_close.png new file mode 100644 index 000000000..37695594f Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/dockwidget_close.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/dockwidget_min.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/dockwidget_min.png new file mode 100644 index 000000000..f3561c961 Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/dockwidget_min.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/grip.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/grip.png new file mode 100644 index 000000000..caf3aff3e Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/grip.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/maximize.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/maximize.png new file mode 100644 index 000000000..9b6c75e90 Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/maximize.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/minimize.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/minimize.png new file mode 100644 index 000000000..9c851dd23 Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/minimize.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/radiobox_checked.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/radiobox_checked.png new file mode 100644 index 000000000..7240c9fe7 Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/radiobox_checked.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/radiobox_unchecked.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/radiobox_unchecked.png new file mode 100644 index 000000000..c8b9964a8 Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/radiobox_unchecked.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/scrollbar_arrow_bot.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/scrollbar_arrow_bot.png new file mode 100644 index 000000000..c6f37fac5 Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/scrollbar_arrow_bot.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/scrollbar_arrow_left.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/scrollbar_arrow_left.png new file mode 100644 index 000000000..f2558d98b Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/scrollbar_arrow_left.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/scrollbar_arrow_right.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/scrollbar_arrow_right.png new file mode 100644 index 000000000..921026f27 Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/scrollbar_arrow_right.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/scrollbar_arrow_top.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/scrollbar_arrow_top.png new file mode 100644 index 000000000..4957ffdb9 Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/scrollbar_arrow_top.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/style.css b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/style.css new file mode 100644 index 000000000..fbd3e825c --- /dev/null +++ b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/style.css @@ -0,0 +1,401 @@ +#grip { + background-color : qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #182430, stop:1 #6596c9); + background-image: url(styles/l33t/title.png); + background-repeat: none; + background-position: center left; +} + +#grip #butMinimize, +#grip #butClose, +#grip #butMaximize { + background-repeat: none; + background-position: center; +} + +#grip #butMinimize { + background-image: url(styles/l33t/minimize.png) +} + +#grip #butClose { + background-image: url(styles/l33t/close.png) +} + +#grip #butMaximize { + background-image: url(styles/l33t/maximize.png) +} + +/* The close / refresh button in some tabs */ +QTabBar::tab > QWidget { + background-color: transparent; +} + +*, +QHeaderView::section, +QToolTip, +QMenu, +QMainWindow::separator { + background-color: #182430; + alternate-background-color: #213141; + selection-background-color: #19528a; +} + +*, +QAbstractItemView::item:selected:!active { + color: #efefef; +} + +QLabel { + background-color: transparent; +} + +QPushButton, +QTabBar::tab > QToolButton, +QLineEdit, +QComboBox, +QTabWidget::pane, +QTabBar::tab, +QProgressBar, +QScrollBar, +QScrollBar::add-line, +QScrollBar::sub-line, +QToolTip, +QMenu, +QAbstractItemView { + border: 1px solid #4e749b; +} + +QPushButton, +QTabBar::tab > QToolButton, +QTabBar::tab { + margin: 2px; + padding: 3px; + background-color: #182430; +} + +QPushButton { + border-radius: 5px; +} + +QPushButton:hover, +QTabBar::tab > QToolButton:hover, +QTabBar::tab:hover, +QMenu::item:selected, +QTreeView::item:hover, +QMainWindow::separator:hover, +QDockWidget::close-button:hover, QDockWidget::float-button:hover { + background-color: #4e749b; +} + +QPushButton:pressed, +QTabBar::tab > QToolButton:pressed, +QTabBar::tab:pressed, +QTabBar::tab:selected { + background-color: #7697ba; +} + +*:disabled, +QTabBar::tab:disabled { + color: #454545; + border: 1px solid #454545; +} + +QPushButton:flat { + border: none; +} + +QComboBox, +QLineEdit, +QScrollBar::handle, +QScrollBar::add-line, +QScrollBar::sub-line, +QMenu::separator, +QMenu:selected, +QProgressBar::chunk, +QDockWidget::title { + background-color: #37526e; +} + +QComboBox:hover, QComboBox:focus, QComboBox:open, +QLineEdit:hover, QLineEdit:focus, +QScrollBar::handle:hover, +QScrollBar::add-line:hover, +QScrollBar::sub-line:hover, +QRadioButton:hover, +QCheckBox:hover { + background-color: #4b7096; +} + +QGroupBox { + font-style: italic; + border: 1px solid #283b4f; + border-radius: 5px; + margin-top: 3ex; +} + +QGroupBox::title { + subcontrol-origin: margin; + left: 10px; + padding: 0 3px; + subcontrol-position: top left; +} + +QComboBox::drop-down { + subcontrol-origin: padding; + subcontrol-position: top right; + border: 1px solid #283b4f; + } + +QComboBox::down-arrow { + image: url(styles/l33t/arrow_down.png); +} + +QTabBar::tab:top { + margin-bottom: -1px; +} + +QTabBar::tab:bottom { + margin-top: -1px; +} + +QHeaderView { + border-top: 0px; + border-left: 0px; + border-right: 0px; +} + +QHeaderView::section { + border: none; + padding: 3px; + background-color: #4e749b; +} + +QHeaderView::section:!first { + border-left: 1px solid white; +} + +QScrollArea { + border: none; +} + +QAbstractItemView { + show-decoration-selected: 0; +} + +QAbstractItemView::item:selected { + background-color: #19528a; +} + +QTreeView::branch:has-children:!has-siblings:closed, +QTreeView::branch:closed:has-children:has-siblings { + border-image: none; + image: url(styles/l33t/treeview_arrow_closed.png); +} + +QTreeView::branch:has-children:!has-siblings:closed:hover, +QTreeView::branch:closed:has-children:has-siblings:hover { + border-image: none; + image: url(styles/l33t/treeview_arrow_closed_highlight.png); +} + +QTreeView::branch:open:has-children:!has-siblings, +QTreeView::branch:open:has-children:has-siblings { + border-image: none; + image: url(styles/l33t/treeview_arrow_opened.png); +} + +QTreeView::branch:open:has-children:!has-siblings:hover, +QTreeView::branch:open:has-children:has-siblings:hover { + border-image: none; + image: url(styles/l33t/treeview_arrow_opened_highlight.png); +} + +QScrollBar::add-page, QScrollBar::sub-page { + background: none; +} + +QScrollBar:vertical { + width: 14px; + margin: 16px 0px 16px 0px; +} + +QScrollBar::handle:vertical { + min-height: 20px; +} + +QScrollBar::sub-line:vertical { + border-right: 0px; + border-top: 0px; + height: 16px; + subcontrol-position: top; + subcontrol-origin: margin; +} + +QScrollBar::add-line:vertical { + border-right: 0px; + border-bottom: 0px; + height: 16px; + subcontrol-position: bottom; + subcontrol-origin: margin; +} + +QScrollBar::up-arrow:vertical { + background-image: url(styles/l33t/scrollbar_arrow_top.png); + background-repeat: no-repeat; + background-position: center; +} + +QScrollBar::down-arrow:vertical { + background-image: url(styles/l33t/scrollbar_arrow_bot.png); + background-repeat: no-repeat; + background-position: center; +} + +QScrollBar:vertical { + border-right: 0px; +} + +QScrollBar:horizontal { + height: 14px; + margin: 0px 16px 0px 16px; +} + +QScrollBar::handle:horizontal { + min-width: 20px; +} + +QScrollBar::sub-line:horizontal { + border-bottom: 0px; + border-left: 0px; + width: 16px; + subcontrol-position: left; + subcontrol-origin: margin; +} + +QScrollBar::add-line:horizontal { + border-bottom: 0px; + border-right: 0px; + width: 16px; + subcontrol-position: right; + subcontrol-origin: margin; +} + +QScrollBar::left-arrow:horizontal { + background-image: url(styles/l33t/scrollbar_arrow_left.png); + background-repeat: no-repeat; + background-position: center; +} + +QScrollBar::right-arrow:horizontal { + background-image: url(styles/l33t/scrollbar_arrow_right.png); + background-repeat: no-repeat; + background-position: center; +} + +QScrollBar:horizontal { + border-bottom: 0px; +} + +QSizeGrip { + background-image: url(styles/l33t/grip.png); + width: 16px; + height: 16px; +} + +QMenu { + padding-top: 5px; + padding-bottom: 5px; +} + +QMenu::item { + background-color: transparent; + padding: 3px 10px 3px 24px; +} + +QMenu::icon { + margin-left: 5px; +} + +QMenu::separator { + height: 1px; + margin-top: 5px; + margin-bottom: 5px; +} + +QMenu::indicator { + width: 16px; + height: 16px; + margin-left: 3px; +} + +QMenu::indicator:non-exclusive:checked, +QCheckBox::indicator:checked { + image: url(styles/l33t/checkbox_checked.png); +} + +QMenu::indicator:non-exclusive:unchecked, +QCheckBox::indicator:unchecked { + image: url(styles/l33t/checkbox_unchecked.png); +} + +QMenu::indicator:exclusive:checked, +QRadioButton::indicator::checked { + image: url(styles/l33t/radiobox_checked.png); +} + +QMenu::indicator:exclusive:unchecked, +QRadioButton::indicator::unchecked { + image: url(styles/l33t/radiobox_unchecked.png); +} + +QCheckBox { + padding: 3px; + background-color: transparent; +} + +QRadioButton { + padding: 3px; +} + +/* Only for the elements in the download filter combo box. */ +#checkBoxListItem { + padding: 0px; +} + +QMainWindow::separator { + width: 4px; + height: 4px; +} + +QDockWidget { + titlebar-close-icon: url(styles/l33t/dockwidget_close.png); + titlebar-normal-icon: url(styles/l33t/dockwidget_min.png); +} + +QDockWidget::close-button, QDockWidget::float-button { + padding: 0px; + border: 0px; + margin: 3px; + icon-size: 12px; +} + +QDockWidget::close-button:pressed, QDockWidget::float-button:pressed { + padding: 1px -1px -1px 1px; +} + +QDockWidget::title { + padding-left: -100px; /* -100 is to hide the text, you can put 5 to show it */ + padding-right: -20px; + padding-top: 3px; +} + +QTabBar { + background-color: transparent; +} + +QStatusBar::item { + border: none; +} + +GUI--BusyIndicator { + selection-background-color: #a8bed4; +} diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/title.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/title.png new file mode 100644 index 000000000..d75c942be Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/title.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/treeview_arrow_closed.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/treeview_arrow_closed.png new file mode 100644 index 000000000..a2d22cbef Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/treeview_arrow_closed.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/treeview_arrow_closed_highlight.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/treeview_arrow_closed_highlight.png new file mode 100644 index 000000000..16a9416bd Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/treeview_arrow_closed_highlight.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/treeview_arrow_opened.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/treeview_arrow_opened.png new file mode 100644 index 000000000..806775433 Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/treeview_arrow_opened.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/treeview_arrow_opened_highlight.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/treeview_arrow_opened_highlight.png new file mode 100644 index 000000000..97d6e2047 Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/treeview_arrow_opened_highlight.png differ diff --git a/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/unmaximize.png b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/unmaximize.png new file mode 100644 index 000000000..d792fd2ad Binary files /dev/null and b/application/Installations/packaging/d-lan/usr/share/d-lan/styles/l33t/unmaximize.png differ diff --git a/application/Libs/qtservice/src/qtservice.cpp b/application/Libs/qtservice/src/qtservice.cpp index 3d24b1a74..c0ea361d2 100644 --- a/application/Libs/qtservice/src/qtservice.cpp +++ b/application/Libs/qtservice/src/qtservice.cpp @@ -64,14 +64,14 @@ static void qtServiceCloseDebugLog() if (!f) return; QString ps(QTime::currentTime().toString("HH:mm:ss.zzz ") + QLatin1String("--- DEBUG LOG CLOSED ---\n\n")); - f->write(ps.toAscii()); + f->write(ps.toUtf8()); f->flush(); f->close(); delete f; f = 0; } -void qtServiceLogDebug(QtMsgType type, const char* msg) +void qtServiceLogDebug(QtMsgType type, const QMessageLogContext& /*context*/, const QString& msg) { static QMutex mutex; QMutexLocker locker(&mutex); @@ -95,7 +95,7 @@ void qtServiceLogDebug(QtMsgType type, const char* msg) return; } QString ps(QLatin1String("\n") + s + QLatin1String("--- DEBUG LOG OPENED ---\n")); - f->write(ps.toAscii()); + f->write(ps.toUtf8()); } switch (type) { @@ -119,7 +119,7 @@ void qtServiceLogDebug(QtMsgType type, const char* msg) s += msg; s += QLatin1String("\n"); - f->write(s.toAscii()); + f->write(s.toUtf8()); f->flush(); if (type == QtFatalMsg) { @@ -624,7 +624,7 @@ int QtServiceBasePrivate::run(bool asService, const QStringList &argList) QtServiceBase::QtServiceBase(int argc, char **argv, const QString &name) { #if defined(QTSERVICE_DEBUG) - qInstallMsgHandler(qtServiceLogDebug); + qInstallMessageHandler(qtServiceLogDebug); qAddPostRoutine(qtServiceCloseDebugLog); #endif diff --git a/application/Libs/qtservice/src/qtservice_unix.cpp b/application/Libs/qtservice/src/qtservice_unix.cpp index d0109bbfb..85a3d8a06 100644 --- a/application/Libs/qtservice/src/qtservice_unix.cpp +++ b/application/Libs/qtservice/src/qtservice_unix.cpp @@ -450,7 +450,7 @@ void QtServiceBase::logMessage(const QString &message, QtServiceBase::MessageTyp st = LOG_INFO; } if (!d_ptr->sysd->ident) { - QString tmp = encodeName(serviceName(), TRUE); + QString tmp = encodeName(serviceName(), true); int len = tmp.toLocal8Bit().size(); d_ptr->sysd->ident = new char[len+1]; d_ptr->sysd->ident[len] = '\0'; diff --git a/application/Libs/qtservice/src/qtservice_win.cpp b/application/Libs/qtservice/src/qtservice_win.cpp index 74e885b72..2e9470668 100644 --- a/application/Libs/qtservice/src/qtservice_win.cpp +++ b/application/Libs/qtservice/src/qtservice_win.cpp @@ -429,7 +429,7 @@ void QtServiceBase::logMessage(const QString &message, MessageType type, case Information: //fall through default: dbgMsg += "Information] "; break; } - dbgMsg += message.toAscii(); + dbgMsg += message.toUtf8(); qtServiceLogDebug((QtMsgType)-1, dbgMsg.constData()); #endif diff --git a/application/Setups/Ubuntu/linux_ubuntu_setup.sh b/application/Setups/Ubuntu/linux_ubuntu_setup.sh index 56dd4c1ff..4bb351f16 100755 --- a/application/Setups/Ubuntu/linux_ubuntu_setup.sh +++ b/application/Setups/Ubuntu/linux_ubuntu_setup.sh @@ -53,6 +53,9 @@ cp $WORK_DIR/temp/icon-6.png $ICON_256_DIR/d-lan.png cp d-lan.desktop $DESKTOP_DIR/ cp -R ./DEBIAN $DEB_DIR/ +chmod 644 $DEB_DIR/DEBIAN/control +chmod 755 $DEB_DIR/DEBIAN/postinst $DEB_DIR/DEBIAN/prerm + echo "For which architecture ?" select arch in "i386" "amd64" "armhf"; do CONTROL="$DEB_DIR/DEBIAN/control" diff --git a/application/Tools/LogViewer/.qmake.stash b/application/Tools/LogViewer/.qmake.stash new file mode 100644 index 000000000..99e66aa3e --- /dev/null +++ b/application/Tools/LogViewer/.qmake.stash @@ -0,0 +1,23 @@ +QMAKE_CXX.QT_COMPILER_STDCXX = 201703L +QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 13 +QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 +QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 +QMAKE_CXX.COMPILER_MACROS = \ + QT_COMPILER_STDCXX \ + QMAKE_GCC_MAJOR_VERSION \ + QMAKE_GCC_MINOR_VERSION \ + QMAKE_GCC_PATCH_VERSION +QMAKE_CXX.INCDIRS = \ + /usr/include/c++/13 \ + /usr/include/x86_64-linux-gnu/c++/13 \ + /usr/include/c++/13/backward \ + /usr/lib/gcc/x86_64-linux-gnu/13/include \ + /usr/local/include \ + /usr/include/x86_64-linux-gnu \ + /usr/include +QMAKE_CXX.LIBDIRS = \ + /usr/lib/gcc/x86_64-linux-gnu/13 \ + /usr/lib/x86_64-linux-gnu \ + /usr/lib \ + /lib/x86_64-linux-gnu \ + /lib diff --git a/application/Tools/LogViewer/LogViewer.pro b/application/Tools/LogViewer/LogViewer.pro index 4c30836f6..74284e689 100644 --- a/application/Tools/LogViewer/LogViewer.pro +++ b/application/Tools/LogViewer/LogViewer.pro @@ -4,7 +4,7 @@ TARGET = LogViewer TEMPLATE = app CONFIG += link_prl -QT += network +QT += network gui widgets include(../../Common/common.pri) diff --git a/application/Tools/LogViewer/MainWindow.cpp b/application/Tools/LogViewer/MainWindow.cpp index 90aff2919..6ffccd4aa 100644 --- a/application/Tools/LogViewer/MainWindow.cpp +++ b/application/Tools/LogViewer/MainWindow.cpp @@ -43,14 +43,16 @@ MainWindow::MainWindow(QWidget *parent) : this->ui->tblLog->setModel(&this->model); this->ui->tblLog->setItemDelegate(new TableLogItemDelegate(this)); - this->ui->tblLog->horizontalHeader()->setResizeMode(QHeaderView::Interactive); + // setSectionResizeMode in Qt5 requires section index, setting for column 0 through 5 + for (int i = 0; i <= 5; ++i) + this->ui->tblLog->horizontalHeader()->setSectionResizeMode(i, QHeaderView::Interactive); this->ui->tblLog->horizontalHeader()->resizeSection(0, 140); this->ui->tblLog->horizontalHeader()->resizeSection(1, 50); this->ui->tblLog->horizontalHeader()->resizeSection(2, 140); this->ui->tblLog->horizontalHeader()->resizeSection(3, 50); this->ui->tblLog->horizontalHeader()->resizeSection(4, 180); this->ui->tblLog->horizontalHeader()->resizeSection(5, 1200); - this->ui->tblLog->verticalHeader()->setResizeMode(QHeaderView::Fixed); + // verticalHeader()->setResizeMode no longer available in Qt5; using setDefaultSectionSize instead this->ui->tblLog->verticalHeader()->setDefaultSectionSize(17); this->ui->tblLog->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel); @@ -139,10 +141,9 @@ void MainWindow::filtersChange() return; // TODO: find a better way to avoid slowing down. - this->ui->tblLog->verticalHeader()->setResizeMode(QHeaderView::Custom); + // Note: setResizeMode no longer available in Qt5; removed the custom resize mode settings for (int i = 0; i < this->model.rowCount(); i++) this->filterRow(i); - this->ui->tblLog->verticalHeader()->setResizeMode(QHeaderView::ResizeToContents); } /** diff --git a/application/Tools/LogViewer/main.cpp b/application/Tools/LogViewer/main.cpp index 2961bac53..c8e30eacb 100644 --- a/application/Tools/LogViewer/main.cpp +++ b/application/Tools/LogViewer/main.cpp @@ -16,7 +16,7 @@ * along with this program. If not, see . */ -#include +#include #include int main(int argc, char *argv[]) diff --git a/application/Tools/PasswordHasher/.qmake.stash b/application/Tools/PasswordHasher/.qmake.stash new file mode 100644 index 000000000..99e66aa3e --- /dev/null +++ b/application/Tools/PasswordHasher/.qmake.stash @@ -0,0 +1,23 @@ +QMAKE_CXX.QT_COMPILER_STDCXX = 201703L +QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 13 +QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 +QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 +QMAKE_CXX.COMPILER_MACROS = \ + QT_COMPILER_STDCXX \ + QMAKE_GCC_MAJOR_VERSION \ + QMAKE_GCC_MINOR_VERSION \ + QMAKE_GCC_PATCH_VERSION +QMAKE_CXX.INCDIRS = \ + /usr/include/c++/13 \ + /usr/include/x86_64-linux-gnu/c++/13 \ + /usr/include/c++/13/backward \ + /usr/lib/gcc/x86_64-linux-gnu/13/include \ + /usr/local/include \ + /usr/include/x86_64-linux-gnu \ + /usr/include +QMAKE_CXX.LIBDIRS = \ + /usr/lib/gcc/x86_64-linux-gnu/13 \ + /usr/lib/x86_64-linux-gnu \ + /usr/lib \ + /lib/x86_64-linux-gnu \ + /lib diff --git a/application/Tools/PasswordHasher/PasswordHasher.pro b/application/Tools/PasswordHasher/PasswordHasher.pro index 69ad2ec35..be524208d 100644 --- a/application/Tools/PasswordHasher/PasswordHasher.pro +++ b/application/Tools/PasswordHasher/PasswordHasher.pro @@ -4,7 +4,7 @@ # #------------------------------------------------- -QT += core network gui +QT += core network gui widgets TARGET = PasswordHasher TEMPLATE = app diff --git a/application/Tools/PasswordHasher/main.cpp b/application/Tools/PasswordHasher/main.cpp index c24cb4b27..36528af36 100644 --- a/application/Tools/PasswordHasher/main.cpp +++ b/application/Tools/PasswordHasher/main.cpp @@ -16,7 +16,7 @@ * along with this program. If not, see . */ -#include +#include #include using namespace PasswordHasher;