Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Error in building Qt 5.11



  • Hi Everyone,

    I am unable to build Qt 5.11 for Ubuntu 16.04 (32 bit).

    As 32 bit binaries are not available, I am trying to build it myself. But I am receiving the following error.

    cd qwebengineview/ && ( test -e Makefile || /home/user/qt-build/qt-everywhere-src-5.11.2/qtbase/bin/qmake -o Makefile /home/user/qt-build/qt-everywhere-src-5.11.2/qtwebengine/src/plugins/qwebengineview/qwebengineview.pro ) && make -f Makefile
    make[4]: Entering directory '/home/user/qt-build/qt-everywhere-src-5.11.2/qtwebengine/src/plugins/qwebengineview'
    /home/user/qt-build/qt-everywhere-src-5.11.2/qtbase/bin/qmake -o Makefile qwebengineview.pro
    rm -f libqwebengineview.so
    g++ -Wl,--no-undefined -Wl,-O1 -fuse-ld=gold -Wl,--enable-new-dtags -Wl,-z,origin -Wl,-rpath,$ORIGIN/../../lib -Wl,-rpath-link,/home/user/qt-build/qt-everywhere-src-5.11.2/qtbase/lib -Wl,-rpath-link,/home/user/qt-build/qt-everywhere-src-5.11.2/qtdeclarative/lib -Wl,-rpath-link,/home/user/qt-build/qt-everywhere-src-5.11.2/qtwebengine/lib -shared -o libqwebengineview.so .obj/qwebengineview_plugin.o .obj/qrc_qwebengineview_plugin.o .obj/moc_qwebengineview_plugin.o -L/home/user/qt-build/qt-everywhere-src-5.11.2/qttools/lib -lQt5Designer -L/home/user/qt-build/qt-everywhere-src-5.11.2/qtbase/lib -L/home/user/qt-build/qt-everywhere-src-5.11.2/qtwebengine/lib -lQt5WebEngineWidgets -L/home/user/qt-build/qt-everywhere-src-5.11.2/qtdeclarative/lib -L/home/user/qt-build/qt-everywhere-src-5.11.2/qtwebchannel/lib -L/home/user/qt-build/qt-everywhere-src-5.11.2/qtlocation/lib -lQt5PrintSupport -lQt5Widgets -lQt5WebEngineCore -lQt5Quick -lQt5Gui -lQt5Xml -lQt5WebChannel -lQt5Qml -lQt5Network -lQt5Positioning -lQt5Core -lGL -lpthread
    /usr/bin/ld.gold: error: cannot find -lQt5Designer
    collect2: error: ld returned 1 exit status
    Makefile:86: recipe for target '../../../plugins/designer/libqwebengineview.so' failed
    make[4]: *** [../../../plugins/designer/libqwebengineview.so] Error 1
    make[4]: Leaving directory '/home/user/qt-build/qt-everywhere-src-5.11.2/qtwebengine/src/plugins/qwebengineview'
    Makefile:44: recipe for target 'sub-qwebengineview-make_first' failed
    make[3]: *** [sub-qwebengineview-make_first] Error 2
    make[3]: Leaving directory '/home/user/qt-build/qt-everywhere-src-5.11.2/qtwebengine/src/plugins'
    Makefile:178: recipe for target 'sub-plugins-make_first' failed
    make[2]: *** [sub-plugins-make_first] Error 2
    make[2]: Leaving directory '/home/user/qt-build/qt-everywhere-src-5.11.2/qtwebengine/src'
    Makefile:46: recipe for target 'sub-src-make_first' failed
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory '/home/user/qt-build/qt-everywhere-src-5.11.2/qtwebengine'
    Makefile:1027: recipe for target 'module-qtwebengine-make_first' failed
    make: *** [module-qtwebengine-make_first] Error 2


  • Moderators

    Please give us more info:

    • what is your configure call
    • your compiler & version
    • how did you get Qt source code (tarball, zip, git)?

Log in to reply