Il 18/05/20 01:32, Hongyi Zhao ha scritto:
# The following step failed for Ubuntu 20.04:
$ make -j4
../../include/QtCore/../../src/corelib/tools/qpair.h:62:20: note:
because ‘QPair<int, int>’ has user-provided ‘QPair<T1, T2>& QPair<T1,
T2>::operator=(const QPair<T1, T2>&) [with T1 = int; T2 = int]’
    62 |     QPair<T1, T2> &operator=(const QPair<T1, T2> &other)
       |                    ^~~~~~~~
make[1]: *** [Makefile:18175: .obj/release-shared/qsslsocket_openssl.o] Error 1
make[1]: Leaving directory
'/home/werner/Downloads/qt-everywhere-opensource-src-4.8.7/src/network'
make: *** [Makefile:278: sub-network-make_default-ordered] Error 2


This is missing the actual error messages, please run make -j1 and paste everything. From the text, it looks like a deprecation warning for a custom declared operator=, but that should be just a warning and not an error. If some -Werror is in place, find the way to remove it.

The actual error seems to be related to OpenSSL, which you should just disable via the respective configure switch (Qt 4 does not support OpenSSL 1.1).

HTH,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

Attachment: smime.p7s
Description: Firma crittografica S/MIME

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to