Project ERROR: Unknown module(s) in QT: waylandcompositor in qt 5.9
I want to use Qtwayland, but after I add QT += waylandcompositor in pro file, This error occur.
What exact version of Qt are you using ?
How did you instal it ?
On what platform ?
thanks for your answer, the version I used is 5.9, on ubuntu 17.1, I install it according this installation package（qt-opensource-linux-x64-5.9.3.run）
Are you getting that error on the command line ?
I found out QTBUG-60601 which is relevant to your case. Short version: build the module from source.
Download the source from the installer and then the classic
/path/to/Qt/5.9.X/gcc_64/bin/qmake && make && make install
@SGaist thank you again, I think this is the question