lxqt-connman-applet icon indicating copy to clipboard operation
lxqt-connman-applet copied to clipboard

Compiling failes

Open stefonarch opened this issue 5 years ago • 3 comments

....

[ 54%] Building CXX object CMakeFiles/lxqt-connman-applet.dir/agent.cpp.o
[ 58%] Building CXX object CMakeFiles/lxqt-connman-applet.dir/lxqt-connman-applet_autogen/mocs_compilation.cpp.o
[ 61%] Building CXX object CMakeFiles/lxqt-connman-applet.dir/agentadaptor.cpp.o
make[1]: *** [CMakeFiles/Makefile2:199: iconviewer/CMakeFiles/icon-viewer.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 64%] Building CXX object CMakeFiles/lxqt-connman-applet.dir/agentdialog.cpp.o
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp: In member function 'void Agent::ReportError(QDBusObjectPath, QString)':
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:45:41: warning: unused parameter 'servicePath' [-Wunused-parameter]
   45 | void Agent::ReportError(QDBusObjectPath servicePath, QString errorMessage)
      |                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:45:62: warning: unused parameter 'errorMessage' [-Wunused-parameter]
   45 | void Agent::ReportError(QDBusObjectPath servicePath, QString errorMessage)
      |                                                      ~~~~~~~~^~~~~~~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp: In member function 'void Agent::ReportPeerError(QDBusObjectPath, QString)':
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:50:45: warning: unused parameter 'peerPath' [-Wunused-parameter]
   50 | void Agent::ReportPeerError(QDBusObjectPath peerPath, QString errorMessage)
      |                             ~~~~~~~~~~~~~~~~^~~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:50:63: warning: unused parameter 'errorMessage' [-Wunused-parameter]
   50 | void Agent::ReportPeerError(QDBusObjectPath peerPath, QString errorMessage)
      |                                                       ~~~~~~~~^~~~~~~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp: In member function 'void Agent::RequestBrowser(QDBusObjectPath, QString)':
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:55:44: warning: unused parameter 'servicePath' [-Wunused-parameter]
   55 | void Agent::RequestBrowser(QDBusObjectPath servicePath, QString url)
      |                            ~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:55:65: warning: unused parameter 'url' [-Wunused-parameter]
   55 | void Agent::RequestBrowser(QDBusObjectPath servicePath, QString url)
      |                                                         ~~~~~~~~^~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp: In member function 'QVariantMap Agent::RequestInput(QDBusObjectPath, QVariantMap)':
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:65:77: error: 'QString::QString(const char*)' is private within this context
   65 |         sendErrorReply("net.connman.Agent.Error.Canceled", "Unknown service");
      |                                                                             ^
In file included from /usr/include/qt/QtCore/qhashfunctions.h:44,
                 from /usr/include/qt/QtCore/qlist.h:47,
                 from /usr/include/qt/QtCore/qhash.h:46,
                 from /usr/include/qt/QtCore/qdebug.h:45,
                 from /usr/include/qt/QtCore/QDebug:1,
                 from /home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:25:
/usr/include/qt/QtCore/qstring.h:968:5: note: declared private here
  968 |     QString(const char *ch);
      |     ^~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:65:77: error: 'QString::QString(const char*)' is private within this context
   65 |         sendErrorReply("net.connman.Agent.Error.Canceled", "Unknown service");
      |                                                                             ^
In file included from /usr/include/qt/QtCore/qhashfunctions.h:44,
                 from /usr/include/qt/QtCore/qlist.h:47,
                 from /usr/include/qt/QtCore/qhash.h:46,
                 from /usr/include/qt/QtCore/qdebug.h:45,
                 from /usr/include/qt/QtCore/QDebug:1,
                 from /home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:25:
/usr/include/qt/QtCore/qstring.h:968:5: note: declared private here
  968 |     QString(const char *ch);
      |     ^~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:74:71: error: 'QString::QString(const char*)' is private within this context
   74 |         sendErrorReply("net.connman.Agent.Error.Canceled", "Cancelled");
      |                                                                       ^
In file included from /usr/include/qt/QtCore/qhashfunctions.h:44,
                 from /usr/include/qt/QtCore/qlist.h:47,
                 from /usr/include/qt/QtCore/qhash.h:46,
                 from /usr/include/qt/QtCore/qdebug.h:45,
                 from /usr/include/qt/QtCore/QDebug:1,
                 from /home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:25:
/usr/include/qt/QtCore/qstring.h:968:5: note: declared private here
  968 |     QString(const char *ch);
      |     ^~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:74:71: error: 'QString::QString(const char*)' is private within this context
   74 |         sendErrorReply("net.connman.Agent.Error.Canceled", "Cancelled");
      |                                                                       ^
In file included from /usr/include/qt/QtCore/qhashfunctions.h:44,
                 from /usr/include/qt/QtCore/qlist.h:47,
                 from /usr/include/qt/QtCore/qhash.h:46,
                 from /usr/include/qt/QtCore/qdebug.h:45,
                 from /usr/include/qt/QtCore/QDebug:1,
                 from /home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:25:
/usr/include/qt/QtCore/qstring.h:968:5: note: declared private here
  968 |     QString(const char *ch);
      |     ^~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp: In member function 'QVariantMap Agent::RequestPeerAuthorization(QDBusObjectPath, QVariantMap)':
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:80:61: warning: unused parameter 'peerPath' [-Wunused-parameter]
   80 | QVariantMap Agent::RequestPeerAuthorization(QDBusObjectPath peerPath, QVariantMap fields)
      |                                             ~~~~~~~~~~~~~~~~^~~~~~~~
/home/stef/git/lxqt/lxqt-connman-applet/agent.cpp:80:83: warning: unused parameter 'fields' [-Wunused-parameter]
   80 | QVariantMap Agent::RequestPeerAuthorization(QDBusObjectPath peerPath, QVariantMap fields)
      |                                                                       ~~~~~~~~~~~~^~~~~~
make[2]: *** [CMakeFiles/lxqt-connman-applet.dir/build.make:144: CMakeFiles/lxqt-connman-applet.dir/agent.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:118: CMakeFiles/lxqt-connman-applet.dir/all] Error 2
make: *** [Makefile:149: all] Error 2


  • Distribution & Version: latest git, arch linux

stefonarch avatar Aug 27 '20 16:08 stefonarch

I think this app isn't maintained (perhaps because CMST exists).

@luis-pereira, @yan12125, what should we do with it? IMHO, just making it compilable isn't good. No dev works on it actively (the last important code change goes back to 4 years ago) and we don't know about its probable bugs/shorcomings.

tsujan avatar Aug 27 '20 18:08 tsujan

Explicitly stating that this project is no longer maintained in a README file and the github repository description?

yan12125 avatar Aug 30 '20 13:08 yan12125

Explicitly stating that this project is no longer maintained in a README file

Fair. Maybe, someone wants to continue it someday.

tsujan avatar Aug 30 '20 13:08 tsujan