1

A week ago I have installed the Ubuntu SDK. So I'm new and I can't create a client socket that receive a text message from a server, puts the message in a variable and close the connection for my BQ aquaris ubuntu edition because the module Sockets 1.0 isn't implemented in the application.

How can i fix it?

1 Answer 1

2

Qt doesn't make sockets accessible through QML. It provides only "WebSockets" there.

So, the options are:

  • use WebSockets

  • get sockets from qml-sockets project and bundle it with your application

  • work with sockets only in the C++ part of the application

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .