Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Adding Qt dependencies to rpmbuild spec file
Forum Update on Monday, May 27th 2025

Adding Qt dependencies to rpmbuild spec file

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 558 Views
  • 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.
  • A Offline
    A Offline
    anshah
    wrote on 3 Jun 2019, 18:26 last edited by anshah 6 Mar 2019, 18:28
    #1

    I'm using Ubuntu 14.04 and I am updating the rpmbuild spec file of an application that now uses Qt.

    The apt-get modules I need are the following:

    sudo apt-get build-essential
    sudo apt-get install mesa-common-dev -y
    sudo apt-get install libglu1-mesa-dev -y
    sudo apt-get qt5-default
    sudo apt-get qtwebengine5-dev
    

    I know the spec file has "BuildRequires" and "Requires" dependency tags...any help in writing this as well as some examples would be helpful. I have a working spec file I just need to add the dependencies.

    I'm a bit new to RPM so forgive me...how would this work exactly? Does the RPM automatically install dependencies that aren't installed when performing the check or does it just report it to the user and let the user install it.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 3 Jun 2019, 20:02 last edited by
      #2

      Hi,

      Might be a silly question but why are you using a debian based system to build rpm packages ?

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

      A 1 Reply Last reply 3 Jun 2019, 21:43
      0
      • S SGaist
        3 Jun 2019, 20:02

        Hi,

        Might be a silly question but why are you using a debian based system to build rpm packages ?

        A Offline
        A Offline
        anshah
        wrote on 3 Jun 2019, 21:43 last edited by anshah 6 Mar 2019, 21:45
        #3

        @SGaist We generate a tar file, a deb file, and an RPM file as part of our build. I need to also make it compatible with RHEL.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 3 Jun 2019, 21:46 last edited by
          #4

          Ok, I would recommend taking that question to a RedHat forum, they will be able to help you get your packaging up and running.

          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

          1/4

          3 Jun 2019, 18:26

          • Login

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