How to compile Qt 5.6 in release mode on ubuntu 32 bit system along with Qt Webengine



  • Hi Everyone,

    Seems like the people are great technically in this forum.

    Thanks for this forum for help to intaract with such a great people.

    Iam new to Qt,

    Iam trying to build Qt 5.6 in release mode on Ubuntu 32 bit system on 14.04 Operating system.

    i want to build it along with Qtwebengine module.

    iam using following configure procedure

    export QT5PREFIX=/opt/qt5.6.0

    ./configure -prefix $QT5PREFIX -opensource -confirm-license -no-compile-examples -nomake tests -nomake examples

    But iam facing the following error in Qtwebengine module when i try to make It.

    [592/11795] CXX obj/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/compiler/java/protobuf_full_do_not_use.java_doc_com[625/11795] CC obj/src/3rdparty/chromium/net/third_party/nss/ssl/libssl.ssl3con.o
    FAILED: /usr/bin/gcc -MMD -MF obj/src/3rdparty/chromium/net/third_party/nss/ssl/libssl.ssl3con.o.d -DV8_DEPRECATION_WARNINGS -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DCHROMIUM_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DSAFE_BROWSING_SERVICE -DNO_PKCS11_BYPASS -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY -DUSE_LIBPCI=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I/opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/bodge -I/usr/include/libdrm -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -I/usr/include/nss -I/usr/include/nspr -Wno-format -Wno-unused-result -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -msse2 -mfpmath=sse -mmmx -m32 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -c /opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c -o obj/src/3rdparty/chromium/net/third_party/nss/ssl/libssl.ssl3con.o
    /opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c: In function ‘ssl3_ChaCha20Poly1305’:
    /opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c:2118:15: error: ‘CK_NSS_AEAD_PARAMS’ has no member named ‘pIv’
    aeadParams.pIv = (unsigned char *) additionalData;
    ^
    /opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c:2119:15: error: ‘CK_NSS_AEAD_PARAMS’ has no member named ‘ulIvLen’
    aeadParams.ulIvLen = 8;
    ^
    [625/11795] CC obj/src/3rdparty/chromium/net/third_party/nss/ssl/libssl.ssl3ext.ocompiling ../../src/3rdparty/assimp/code/IFCProfile.cpp
    [625/11795] CXX obj/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/protobuf_full_do_not_use.extension_set.ocompiling ../shared/xliff.cpp
    compiling merge.cpp
    [625/11795] CXX obj/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/protobuf_full_do_not_use.descriptor.pb.olinking ../../../bin/lconvert
    compiling ../../src/3rdparty/assimp/code/IFCReaderGen1.cpp
    compiling ../shared/simtexth.cpp
    make[4]: Leaving directory /opt/qt-everywhere-opensource-src-5.6.0/qttools/src/linguist/lconvert' compiling cpp.cpp [625/11795] CXX obj/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/protobuf_full_do_not_use.descriptor.o ninja: build stopped: subcommand failed. make[4]: *** [invoke_ninja] Error 1 make[4]: Leaving directory/opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/core'
    make[3]: *** [sub-gyp_run-pro-make_first] Error 2
    make[3]: Leaving directory /opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/core' make[2]: *** [sub-core-make_first] Error 2 make[2]: Leaving directory/opt/qt-everywhere-opensource-src-5.6.0/qtwebengine/src'
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory /opt/qt-everywhere-opensource-src-5.6.0/qtwebengine' make: *** [module-qtwebengine-make_first] Error 2 make: *** Waiting for unfinished jobs.... compiling java.cpp cd linguist/ && ( test -e Makefile || /opt/qt-everywhere-opensource-src-5.6.0/qtbase/bin/qmake /opt/qt-everywhere-opensource-src-5.6.0/qttools/src/linguist/linguist/linguist.pro -o Makefile ) && make -f Makefile make[4]: Entering directory/opt/qt-everywhere-opensource-src-5.6.0/qttools/src/linguist/linguist'
    uic statistics.ui
    uic phrasebookbox.u

    Please help me to build it in release mode.

    Thanks in advance


  • Lifetime Qt Champion

    Hi,

    Seems that this post is a longer version of this one which has already received answers.

    Please don't post the same question multiple times. If you have new information you can edit the original question.

    Closing this one since it's a duplicate.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.