Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[workaround]A lot of #define QT_LINKED_OPENSSL warnings
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1708
Location: Switzerland (Romandie)

PostPosted: Thu Jul 18, 2019 10:26 am    Post subject: [workaround]A lot of #define QT_LINKED_OPENSSL warnings Reply with quote

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:

Code:
In file included from /usr/include/qt5/QtNetwork/qtnetworkglobal.h:44,
                 from /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:43,
                 from /usr/include/qt5/QtNetwork/QNetworkAccessManager:1,
                 from /var/tmp/portage/media-sound/musescore-2.1.0-r1/work/musescore-2.1.0_build/all.h:143,
                 from <command-line>:
/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,
                 from /usr/include/qt5/QtCore/qglobal.h:66,
                 from /usr/include/qt5/QtCore/QtCore:4,
                 from /usr/include/qt5/QtGui/QtGuiDepends:3,
                 from /usr/include/qt5/QtGui/QtGui:3,
                 from /var/tmp/portage/media-sound/musescore-2.1.0-r1/work/musescore-2.1.0_build/all.h:34,
                 from <command-line>:
/usr/include/qt5/Gentoo/gentoo-qconfig.h:12: note: this is the location of the previous definition
 #define QT_LINKED_OPENSSL


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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum