From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 12906] qt PrefixPath is wrong on 2020.05-rc1
Date: Sat, 16 May 2020 20:41:08 +0000 [thread overview]
Message-ID: <bug-12906-163-zYDZGwjiNs@https.bugs.busybox.net/> (raw)
In-Reply-To: <bug-12906-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=12906
--- Comment #4 from jharjuma at gmail.com ---
I don't have any dynamic linker configuration files, eg. /etc/ld.so.conf,
/etc/ld.so.cache. In system search path /lib is before /usr/lib. libQt5Core.so
is installed in /lib/libQt5Core.so and /usr/lib/libQt5Core.so. Relocatable Qt
determines PrefixPath by going up towards root from the directory of the loaded
libQt5Core and chooses directory that contains 'lib' as PrefixPath
(https://github.com/qt/qtbase/blob/3a6d8df5219653b043bd642668cee193f563ec84/src/corelib/global/qlibraryinfo.cpp#L623).
If Qt is non-relocatable, value of -prefix config switch is used as PrefixPath.
qtdiag reports correct PrefixPath if it is forced to use
/usr/lib/libQt5Core.so. Should buildroot configure qt as non-relocatable?
LD_LIBRARY_PATH=/usr/lib qtdiag --no-gl
Qt 5.14.2 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) release
build; by GCC 7.5.0) on "eglfs"
OS: Buildroot 2020.02 [linux version 5.4.3]
Architecture: arm; features:
Environment:
Features: QT_NO_EXCEPTIONS
Library info:
PrefixPath: /usr
DocumentationPath: /usr/doc
HeadersPath: /usr/include/qt5
LibrariesPath: /usr/lib
LibraryExecutablesPath: /usr/libexec
BinariesPath: /usr/bin
PluginsPath: /usr/lib/qt/plugins
ImportsPath: /usr/imports
Qml2ImportsPath: /usr/qml
ArchDataPath: /usr
DataPath: /usr
TranslationsPath: /usr/translations
ExamplesPath: /usr/lib/qt/examples
TestsPath: /usr/tests
SettingsPath: /usr/etc/xdg
--
You are receiving this mail because:
You are on the CC list for the bug.
next prev parent reply other threads:[~2020-05-16 20:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-16 10:39 [Buildroot] [Bug 12906] New: qt PrefixPath is wrong on 2020.05-rc1 bugzilla at busybox.net
2020-05-16 12:07 ` [Buildroot] [Bug 12906] " bugzilla at busybox.net
2020-05-16 15:50 ` bugzilla at busybox.net
2020-05-16 16:12 ` bugzilla at busybox.net
2020-05-16 16:38 ` bugzilla at busybox.net
2020-05-16 20:41 ` bugzilla at busybox.net [this message]
2020-05-17 7:25 ` bugzilla at busybox.net
2020-05-17 7:41 ` bugzilla at busybox.net
2020-05-17 10:36 ` bugzilla at busybox.net
2020-05-17 19:27 ` bugzilla at busybox.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-12906-163-zYDZGwjiNs@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox