6

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?

Aaron Hill
  • 5,035

3 Answers3

6

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.

2

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).

Braiam
  • 69,112
sUbuPack
  • 182
0

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