开发者

How to rpm from Qt project that is build by qmake?

开发者 https://www.devze.com 2023-04-05 15:54 出处:网络
I have developed some project by Qt and now I want to distribute the binary of the projects with rpm?

I have developed some project by Qt and now I want to distribute the binary of the projects with rpm?

These project have dependency to Qt(Qt so files) that must be checked before install and if is not existed then copy them to ld search path(e.g. /usr/lib) and some other so file like this.

Now:

  1. rpm is capable for doing this?
  2. if is capable, how can I 开发者_JAVA百科do this?

    Of course, If you see when you want to install qt sdk there is a GUI installer will be run for you on all distribution of Linux.

  3. how can I use this kind of Installer?


rpm just like most package managers can manage package dependencies. It is such a basic feature commented on most rpm tutorials that you might very well start here:

http://ftp.rpm.org/max-rpm/s1-rpm-depend-manual-dependencies.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号