Joined: 17 Aug 2005
Location: Switzerland (Romandie)
|Posted: Thu Jul 18, 2019 10:26 am Post subject: [workaround]A lot of #define QT_LINKED_OPENSSL warnings
|When compiling Qt software, I get a lot of the same warning related to openssl. They seam to point an inconsistency into my installation. As example:
|In file included from /usr/include/qt5/QtNetwork/qtnetworkglobal.h:44,
/usr/include/qt5/QtNetwork/qtnetwork-config.h:9: warning: "QT_LINKED_OPENSSL" redefined
#define QT_LINKED_OPENSSL true
In file included from /usr/include/qt5/QtCore/qconfig.h:1,
/usr/include/qt5/Gentoo/gentoo-qconfig.h:12: note: this is the location of the previous definition
The first definition is from qtnetwork, the second one in gentoo-qconfig.h is from QtCore. I don't see why it is necessary to have 2 times the same definition. I am also surprised than these 2 definitions are not the same, one is on true", the other is empty. Is it an issue into my installation that must be fixed? or is it a qt or gentoo specific issue? In short how can I fix it?
That's annoying because I am currently trying to compile radium, its build system use -Werror, which trigger an error and the build fail.
EDIT: I patched the Makefile to remove the -Werror flag. The compilation continue but that's another story.