I just made my package by following tutorial. I recommend running
qmake to create the
Makefile, so that you don't run into problems while executing
Assuming you have already setup the
debian directory in the source code,
- Copy the source directory (where the
.pro file is) to your Home directory and rename it to
- Open a terminal and execute
- Then, execute
dh_make -s -c gpl -e yourEmailAddress --createorig
- Finally, execute
dpkg-buildpackage. You may get something like
error exit status 255, if so, check that the
tar.xs file in you Home folder matches the file requested by
dpkg-buildpackage (check the last lines of the output of
dpkg-buildpackage to find out what file wants).
If you seek an easier and faster way, you can use Debreate (I did not test it, so I cannot assure you that it will work).
I hope this helps anyone who wants to distribute their Qt project.