M
M
Michael2015-07-28 14:07:00
Debian
Michael, 2015-07-28 14:07:00

Autoconf/automake how to configure an application for Qt4?

I wanted to submit my Qt4 program to the Ubuntu Software Center, I submitted a binary Debian package, but I got a message in response that I need to submit a Debian Source package with the following links to the tutorial: packaging-setup and packaging .
After reading the manual, I created a package, but there was no my binary inside it, only configuration files, I realized that I need to use Autoconf so that everything is assembled correctly according to this tutorial, I wrote a simple C ++ program, and voila, when building, now the binary is in the package, on the standard path /usr/share/app_name/app, double-checked with the usual Makefile'om (without autoconfiguration) and there is no binary, that is, autoconfiguration is a MANDATORY factor for building the package according to this totorial.
I started looking for how to create an AUTOCONF / Automake for a Qt program and found only a few examples of old macros that no longer work. I decided to see how the qBitTorrent developers did it and used part of their configure.ac, autoconfiguration works in principle, but in fact it just checks the path to qmake and creates a Makefile already for them, which is not good because. automake is not used, which creates everything necessary for the subsequent successful assembly of the package.
Now I have no idea how to create this Debian Source package (almost a regular tarball), I don't understand why I created such inconvenient rules in the Ubuntu Software Center, in principle, an auto-configuration tarball, which is installed via . /configure && make &&
I ask for help because I have been suffering with this for more than a week and have not received anything other than what was said above. I
really count on your help, they are already suffering from a week, if not more.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DancingOnWater, 2015-07-28
@DancingOnWater

We take some Qt-Creator thread and see how they did it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question