You are not logged in.
when I try build a QT app to an arch package, how do I know what's the dependencies of a qt application ?
such as VLC, https://archlinux.org/packages/extra-st … 86_64/vlc/ , it shows that this app needs qt5-base \ qt5-svg \ qt5-x11extras,
how do I know that my app needs which dependencies ?
I know that I can let my app link to its own standalone libs, but reuse is good.
any one who have the experience ?
Offline
pacman -Si <package>
Pacman/Rosetta for a list of common pacman commands.
Offline
He's trying to write a pkgbuild for a given binary, not query the stats of an existing package.
"Knowledge", "Experience", looking closely at the binary.
https://wiki.archlinux.org/title/PKGBUILD#Dependencies
Mainly looks at the makefile (qmake .pro or cmakelist etc) for the build requirements and also "ldd /path/to/binary" to see the linked objects and query their paths w/ "pacman -Qo"
You can use fine-libdeps for that, https://wiki.archlinux.org/title/Arch_p … pendencies
Ps: "Qt" - "QT" is "QuickTime"
Offline
I resort to building it in a clean chroot and adding dependencies as they are found to the PKGBUILD until it works.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline