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 Updated to NodeBB v4.3 + New Features

Adding Qt dependencies to rpmbuild spec file

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 561 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.
  • A Offline
    A Offline
    anshah
    wrote on last edited by anshah
    #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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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
      0
      • SGaistS SGaist

        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 last edited by anshah
        #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
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on 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

          • Login

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