PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, May 15, 2022

[FIXED] How to install websockets for Qt 6?

 May 15, 2022     c++, qt, qt6, ubuntu, websocket     No comments   

Issue

Already referred below old posts, but its solution of installing websockets didn't work in my Ubuntu 21.10.

  • Project ERROR: Unknown module(s) in QT: websockets
  • Project ERROR: Unknown module(s) in QT: webkitwidgets

This could be probably due to my Qt is 6.2, while the available library is from Qt5, viz. libqt5websockets5-dev.

How to install websocket module properly for the Qt6, to fix below error?

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


Solution

When installing Qt via Qt Maintenance Tool, just go to Additional Libraries and check QtWebSockets. It is available in Qt 6.2.x versions.

enter image description here



Answered By - V.K. author of HiFile
Answer Checked By - Robin (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing