[Webkit-unassigned] [Bug 35637] New: [Qt] qwebplugindatabase.h included in <QtWebKit> on static builds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 3 03:21:09 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35637

           Summary: [Qt] qwebplugindatabase.h included in <QtWebKit> on
                    static builds
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vestbo at webkit.org


This bug report originated from issue QTBUG-7339
http://bugreports.qt.nokia.com/browse/QTBUG-7339

--- Description ---

I built Qt 4.6 statically on a Ubuntu 9.10 box using the following flags:

<div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
<pre class="code-java">/path/to/src/configure
  -prefix /usr/local/Trolltech/Qt-4.6.0-<span
class="code-keyword">static</span>
  -release -opensource
  -<span class="code-keyword">static</span>
  -fast -qt-sql-sqlite
  -no-qt3support
  -nomake <span class="code-quote">"demos examples"</span>
  -silent
  -platform linux-g++-32</pre>
</div></div>

<p>Which builds just fine. When I try to compile one of my applications (which
have a <tt>QT += webkit</tt> line), I get the following error:</p>

<p><tt>/usr/local/Trolltech/Qt-4.6.0-static/include/QtWebKit/QtWebKit:15:32:
error: qwebplugindatabase.h: No such file or directory</tt></p>

<p>After some exploring I found out that the above file includes
<tt>qwebplugindatabase.h</tt> even on static builds. Since plugins are not
supported on static builds, this line shouldn't be there.</p>

<p><b>Workaround:</b><br/>
A quick workaround is to use more granular includes, like <tt>#include
<QtWebKit/QWebFrame></tt> instead of <tt>#include
<QtWebKit></tt>.</p>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list