Creating RPMs for Qt apps

I’m learning how to create RPMs. A tutorial on the openSUSE wiki has served me well, but now I’m trying to package Qt apps. rpmbuild automatically detected these dependencies:

rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1  
rpmlib(PayloadIsLzma) <= 4.4.6-1

How do I find out which other dependencies should be added?


The compiler seems to have noted all that you are missing in your list. To be sure, you have to check the doc of the Qt apps.

I’ll try installing those and check afterward if it passes.

I found these documents…

Qt Library Cross Dependencies | Qt Wiki | Qt Developer Network
Show library dependencies | Qt Wiki | Qt Developer Network

Is there a way to know the minimum version of the Qt libraries required to run my code?

It surely depends on the version of Qt programming language you are using and the libraries associated.