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
libc.so.6()(64bit)  
libc.so.6(GLIBC_2.2.5)(64bit)  
libgcc_s.so.1()(64bit)  
libgcc_s.so.1(GCC_3.0)(64bit)  
libm.so.6()(64bit)  
libpthread.so.0()(64bit)  
libpthread.so.0(GLIBC_2.2.5)(64bit)  
libQtCore.so.4()(64bit)  
libQtGui.so.4()(64bit)  
libstdc++.so.6()(64bit)  
libstdc++.so.6(CXXABI_1.3)(64bit)  
libstdc++.so.6(GLIBCXX_3.4)(64bit)  
libstdc++.so.6(GLIBCXX_3.4.9)(64bit)  
rpmlib(PayloadIsLzma) <= 4.4.6-1

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

Hi,

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.