Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to configure qmake project to have a `make install` rule ?
Forum Updated to NodeBB v4.3 + New Features

How to configure qmake project to have a `make install` rule ?

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 3 Posters 1.0k Views 2 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.
  • B Offline
    B Offline
    bionade24
    wrote on last edited by bionade24
    #1

    Hello, I'm trying to package a Qt Application built with qmake as an Archlinux package. But there is no install rule for make or even some FHS compliant layout. I read this, but letting make all copying binaries somewhere isn't an option. What things need to be written in the .pro file to get a install rule and fhs compliant output like when working with a cmake Qt project?

    Edit: Should be buildable and installable like this:

    qmake
    make
    make install
    

    But the install rule does not get generated.

    Edit2: Tell more specifically what package format you need.

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

      See the Installing Files part of the advanced qmake documentation.

      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
      2
      • M Offline
        M Offline
        Malaluigi
        wrote on last edited by
        #2

        Thats no even possibel in QT without a damn code! But you can try FortuneClient to make a Installer with IGKW Data preference or LMBT Installer for the BRP Data secure system. Thats the way how I would do it!
        Your welcome!

        1 Reply Last reply
        -3
        • B bionade24

          Hello, I'm trying to package a Qt Application built with qmake as an Archlinux package. But there is no install rule for make or even some FHS compliant layout. I read this, but letting make all copying binaries somewhere isn't an option. What things need to be written in the .pro file to get a install rule and fhs compliant output like when working with a cmake Qt project?

          Edit: Should be buildable and installable like this:

          qmake
          make
          make install
          

          But the install rule does not get generated.

          Edit2: Tell more specifically what package format you need.

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #3

          @bionade24 Hi and welcome to devnet,

          If you are on Linux and want to provide an independent package then take a look at the linuxdeployqt project.

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

          B 1 Reply Last reply
          2
          • SGaistS SGaist

            @bionade24 Hi and welcome to devnet,

            If you are on Linux and want to provide an independent package then take a look at the linuxdeployqt project.

            B Offline
            B Offline
            bionade24
            wrote on last edited by
            #4

            @SGaist I only want to package it for Archlinux, and to have a convenient build routine the possibility of make install would be nice, nothing advanced what needs an old glib in the end.

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

              See the Installing Files part of the advanced qmake documentation.

              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
              2

              • Login

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