Qt WEBKIT with CMake

When I include QT + = webkit in the project file and use qmake, the QWevView example works just fine and as expected. When I try to add "set (QT_USE_QTWEBKIT TRUE)" to my CMakeList.txt, I get a problem:

"Qt library QTXMLPATTERNS not found."

I tried to add set (QT_USE_QTXMLPATTERNS TRUE) to solve this problem, but no change.

Since the qmake version works, and the cmake version is missing, the module must be available for download.

Any hints of a solution or troubleshooting to fix this?

+4
source share
1 answer

I believe that my work is the only solution to this problem at the moment.

+1
source

All Articles