Search code examples
c++qtmodulewebkit

Qt WEBKIT with CMake


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

"Qt QTXMLPATTERNS library not found."

I have tried adding set(QT_USE_QTXMLPATTERNS TRUE) to address this, but no change.

Since the qmake version works and the cmake version does not, the module must be available to be loaded.

Any hint on the solution or troubleshooting steps to fix this?


Solution

  • I beleieve that my work-around is the only solution for this issue at this point.