Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project ERROR: Unknown module(s) in QT: websockets #3

Open
Eztero opened this issue Jul 15, 2020 · 3 comments
Open

Project ERROR: Unknown module(s) in QT: websockets #3

Eztero opened this issue Jul 15, 2020 · 3 comments

Comments

@Eztero
Copy link

Eztero commented Jul 15, 2020

Hi, when I try to compile the application with the sailfish sdk I get this error "Project ERROR: Unknown module (s) in QT: websockets". I am a little new to compiling with qt, is there another way to compile this program?
Regards.

@CODeRUS
Copy link
Owner

CODeRUS commented Jul 15, 2020

try adding
BuildRequires: pkgconfig(Qt5WebSockets)
to spec file

@Eztero
Copy link
Author

Eztero commented Jul 15, 2020

thanks very much CODeRUS, now I was able to compile, but later I had some errors due to unmet dependencies. I solved them by adding them in the spec file, at the end add all this:

---- harbour-lgremote-webos.spec ------
Requires: qt5-qtwebsockets
Requires: nemo-qml-plugin-policy-qt5 >= 0.0.4
Requires: nemo-qml-plugin-systemsettings >= 0.0.4
BuildRequires: pkgconfig(Qt5WebSockets)
BuildRequires: qt5-qtwebsockets

and i change the "import QtWebSockets 1.1" to "import QtWebSockets 1.0", because it threw me an error with the version 1.1 and erase ";" from the beginin, I don't know if I did something wrong with deleting the ";", but it worked the same.

Unfortunately it does not work with the latest version of webos, do not recognize me at least my lg tv.
I hope you can add a compatibility in the future because it is a very good app.
Regards.

@CODeRUS
Copy link
Owner

CODeRUS commented Jul 15, 2020

sorry i dont own lg tv anymore cant help further

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants