views:

540

answers:

2

Is there some sort of an automated way of creating .deb packages from a project.pro file? I tried ubucompilator without much luck. Thanks!

+3  A: 

Your best bet is to get one of these packages already using qmake with apt-get source and apt-get build-dep, preferably the simplest, copy its debian/ directory, and tweak it to your needs. Here is an overview of what the files under debian/ are for.

Tobu
apt-get source <package> returns an error for all of the packages in the list. It says 'unable to find a source package'
Honza Pokorny
Enable the source repos? You can edit /etc/apt/sources.list to add `deb-src` lines to match the `deb` lines, or use `sudo software-properties-gtk` .
Tobu
(followed by `sudo apt-get update`)
Tobu
A: 

You could also use CPack which allows you to produce .deb files. If you are willing to switch to using CMake this process becomes easier. I believe there are tools that can convert a .pro project to a CMake project.

Adam W