gogagubi
gogagubi

Reputation: 1015

Can't compile static qt project with webkit

Hi All I compiled qt static build and everything works fine. But when I am trying to compile qt project which includes:

QT += webkitwidgets

I got an error:

error: Unknown module(s) in QT: webkitwidgets

is it possible to compile static qt project with webkit?

Upvotes: 0

Views: 564

Answers (1)

Webkit is not built in static Qt builds. It is not possible to use the webkit module in a static Qt build.

It is also not possible to use the webkit module dll from a dynamic build, because it needs to link with Qt, and your statically linked executable doesn't export any Qt symbols. It of course could, but that's a whole different can of worms.

Upvotes: 1

Related Questions