Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. RPM package for limited features of Qt-5.2.1
Qt 6.11 is out! See what's new in the release blog

RPM package for limited features of Qt-5.2.1

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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
    #include <QJsonArray>
    #include <QJsonDocument>
    #include <QJsonObject>
    #include <QDebug>
    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
    RANLIB =
    QMAKE = /usr/local/Qt-5.2.1/bin/qmake

    I would appreciate your help. Hope i get reply soon.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved