I am creating an IRC client for the Ubuntu App Showdown. I need a way to be able to access an IRC server in QML (or JavaScript). What is the best way to accomplish this?
I am creating an IRC client for the Ubuntu App Showdown. I need a way to be able to access an IRC server in QML (or JavaScript). What is the best way to accomplish this?
If there is no QML module that can help you accessing IRC servers, you will probably need to write a QML plugin in C++ that does that work as a backend. You can then use QML to implement the UI frontend.
I would try to port irc-chatter (https://github.com/Venemo/irc-chatter) to Ubuntu-touch. Source is written in Qt/Qml (c++, see communiircclient.cpp).
Although it is not as performant as the QML solution, you can you IRC-js to communicate with the IRC Server. Here is the GibHub link to the project https://github.com/gf3/IRC-js