# Compile root with Qt but without dependence on libQtWebKit

**URL:** <https://root-forum.cern.ch/t/compile-root-with-qt-but-without-dependence-on-libqtwebkit/14567>\
**Category:** ROOT\
**Created:** [July 12, 2012, 7:23am UTC](https://root-forum.cern.ch/t/compile-root-with-qt-but-without-dependence-on-libqtwebkit/14567 "2012-07-12T07:23:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sapinski](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@sapinski](https://root-forum.cern.ch/u/sapinski)\
**Post date:** [July 12, 2012, 7:23am UTC](https://root-forum.cern.ch/t/compile-root-with-qt-but-without-dependence-on-libqtwebkit/14567/1 "2012-07-12T07:23:32Z")

</div>

Hi,  
I’m linking (compilation goes ok) a Qt application using root objects.  
Qt is 4.8.2, root 5.30, gcc 4.1.2 (a bit old, but I’m not sure if I can change it, it is a special machine).  
I compile Qt from source. The [libQtWebKit.so](http://libQtWebKit.so) is not created, probably gcc is too old. The rest is ok.  
I compile root with --enable-qt. No problem.  
The problem is that when I link the application afterwards, I find that a root library: [libGQt.so](http://libGQt.so) depends on libQtWebKit.  
My question: is there any way to compile root in a way that it does not depend on libQtWebKit?

```
Thanks in advance, Mariusz
```

---

_[View the full topic](https://root-forum.cern.ch/t/compile-root-with-qt-but-without-dependence-on-libqtwebkit/14567)._
