Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an application that uses qmake that I'd like to upload to my PPA.

How can I set up the package so that the project builds properly?

share|improve this question
There is no direct relation between building and PPAs, you mean you want to know how to create package building rules for a source which builds using qmake ? – João Pinto Dec 28 '10 at 21:44
@João: Yes, that's it. – Nathan Osman Dec 28 '10 at 22:23
up vote 1 down vote accepted

After a bit of searching: (okay, a lot of searching)

This page seems to contain some information on setting up a Debian package that uses qmake.

share|improve this answer

The tutorial linked to is a bit old, but will still work. Though things should be much simpler now. debhelper's simplified rules files have supported qmake since version 7.4.12. Depending on any additional requirements of your package, a minimal rules file could be a small as:

#!/usr/bin/make -f
    dh $@
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.