From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Tue, 8 Oct 2013 10:48:58 +0200 Subject: [Buildroot] Qt 5.0.2 with OpenSSL In-Reply-To: References: Message-ID: <20131008104858.69c60676@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Espen Frimann Koren, On Tue, 8 Oct 2013 10:43:17 +0200, Espen Frimann Koren wrote: > When both BR2_PACKAGE_QT5BASE_NETWORK and BR2_PACKAGE_OPENSSL are set, > something fails in the linking of libQt5Network.so that is related to > OpenSSL. Do you have the exact error message? > I do not have time to figure out why, but suggest the > following change so that you do not have to compile Qt with OpenSSL > support even if you include OpenSSL in your build: > > In package/qt5/qt5base/Config.in: > > if BR2_PACKAGE_QT5BASE_NETWORK > config BR2_PACKAGE_QT5BASE_OPENSSL > bool "use openssl" > depends on BR2_PACKAGE_OPENSSL > default BR2_PACKAGE_OPENSSL > help > This option toggles use of OpenSSL in Qt5 > > And in package/qt5/qt5base/qt5base.mk: > Change BR2_PACKAGE_OPENSSL to BR2_PACKAGE_QT5BASE_OPENSSL (around > lines 113 and 114) Right, but for OpenSSL support, we generally want it to be enabled automatically when the OpenSSL package is selected. The current implementation is in fact a "feature", and the real fix is to understand what build failure you're getting and make sure Qt5 can link properly against OpenSSL. Thanks! Thomas -- Thomas Petazzoni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com