Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
RPM package for limited features of Qt-5.2.1
Narottam last edited by
We are using QT 5.2.1 and i need to use rpm packages that needed to build and run the project for Centos 6.5.
Could someone please help me to find out which rpm package required to use to build the project using MakeFile and run binary. I have mentioned configuration details below:
we created a project using QT creator IDE, that have .pro file and a makefile to create build.
we used only limited features of QT and needs to include only these QT headers in our code
in .pro file configuration is
QT -= gui
CONFIG += debug
and in MakeFile it have
INCPATH = -I/usr/local/Qt-5.2.1/mkspecs/linux-g++ -I. -I/usr/local/Qt-5.2.1/include -I/usr/local/Qt-5.2.1/include/QtCore -I.
LINK = g++
LFLAGS = -Wl,-rpath,/usr/local/Qt-5.2.1/lib
LIBS = $(SUBLIBS) -L/usr/local/Qt-5.2.1/lib -lQt5Core -lpthread
AR = ar cqs
QMAKE = /usr/local/Qt-5.2.1/bin/qmake
I would appreciate your help. Hope i get reply soon.
Haven't used a rpm based distro for while but it looks like you need the libQt5Core-devel package. It should pull in the required dependencies.
Hope it helps