[Qtwebengine] Building woes

Greg Hellings greg.hellings at gmail.com
Wed Jun 25 21:17:22 CEST 2014


I've been trying to compile QtWebEngine the past few weeks on both Fedora
Rawhide and OS X. I'm getting different failures in each environment,
compiling against Qt 5.3.1 in both places. In OS X I get the message

qtwebengine/src/webengine/api/qquickwebengineview.cpp:661:10: fatal error:
'moc_qquickwebengineview_p.cpp' file not found


This message has persisted for the entirety of the two weeks, so I can only
assume that I must be the only person trying to build on OS X. I configure
that build with a call to


~/Qt/5.3/clang_64/bin/qmake -r CONFIG-=release ../qtwebengine/
qtwebengine.pro


In Fedora Rawhide I have to invoke qmake with an explicit STRIP=`which
strip` call. The full call is

/usr/lib64/qt5/bin/qmake -r CONFIG-=release STRIP=/usr/bin/strip

The errors I see in this environment are akin to the following:

/usr/bin/ld: warning: libQt0WebEngineCore.so.0, needed by
/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so, not found
(try using -rpath or

 -rpath-link)

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::stop()'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::navigateToIndex(int)'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `JavaScriptDialogController::dialogCloseRequested()'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::getNavigationEntryTitle(int)'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::wasHidden()'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::WebContentsAdapter(content::WebContents*)'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebEngineError::UserAbortedError'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::grantMediaAccessPermission(QUrl const&,
QFlags<WebContentsAdapterClient::MediaRequestFlag>)'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::isLoading() const'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::initialize(WebContentsAdapterClient*)'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::wasShown()'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::dpiScaleChanged()'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `JavaScriptDialogController::defaultPrompt() const'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::enableInspector(bool)'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::navigateToOffset(int)'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::activeUrl() const'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::load(QUrl const&)'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::canGoBack() const'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `JavaScriptDialogController::title() const'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `JavaScriptDialogController::message() const'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::canGoForward() const'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::reload()'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::filesSelectedInChooser(QStringList
const&, WebContentsAdapterClient::FileChooserMode)'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::navigationEntryCount()'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `JavaScriptDialogController::staticMetaObject'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::pageTitle() const'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::setContent(QByteArray const&, QString
const&, QUrl const&)'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::currentNavigationEntryIndex()'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::runJavaScript(QString const&)'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebEngineError::toQtErrorDomain(int)'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::getNavigationEntryUrl(int)'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::~WebContentsAdapter()'

/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `WebContentsAdapter::Makefile:100: recipe for target
'quicknanobrowser' failed

make[2]: Leaving directory
'/builddir/build/BUILD/qt5-qtwebengine/examples/webengine/quicknanobrowser'



/builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined
reference to `JavaScriptDialogController::type() const'


etc.


Are there any hints beyond the ones in the readme file for what I might be
missing or what build process I'm doing wrong? I'd love to get this
building in both environments but thus far I have not been able to do so.


--Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20140625/38f514c7/attachment.html>


More information about the QtWebEngine mailing list