Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

What do I need to do to get a package that I can submit to the Ubuntu Software Center?

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

It's very hard to tell from your question what you already know, so I assume that you:

  1. can program
  2. in C++
  3. with Qt widgets / the QT framework.

As far as I know, the QT Creator is not able to create debian packages to submit to the Ubuntu Software Center.

QT Creator is able to create debian packages for Maemo5 (see here). Looking through the discussions on Maemo, it seemes that this process is not easily changeable, but maybe you can start from there.

If you are not fixated on QT Creator, you can simply use it to create you code and then follow the Ubuntu Packaging Guide to create your debian package.

The actual submission to the Software Center is described here.

For future questions I would suggest you write in more detail what your actual problem is.

share|improve this answer
    
Would it also be possible to submit a package to the software center if it's written in Python? –  Joren Aug 23 '13 at 23:37
add comment

You can do this with an additional rule in the makefile generated by qmake:

  1. Write a shell script my_package_script.sh that creates the package.

  2. In your .pro file, add this:

    mypackagerule.target = mypackagerule
    mypackagerule.command = exec my_package_script.sh
    QMAKE_EXTRA_TARGETS += mypackagerule
    

Now you can create your package calling make mypackagerule. In Qt Creator, you can do that by adding a new (Make) compilation step in the Project tab.

share|improve this answer
add comment

Your Answer

 
discard

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.