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 am a software developer that usually deals with Windows products (C#) and Android products (Java) and they both have a relatively easy was to write and use libraries across projects, C# having .dll's and Java having .jar's.

I have background in all sorts of languages, C++, python, Java, C#, web development (which includes JavaScript) so developing for Ubuntu Touch shouldn't be to much of a challenge for me.

And then I started...

What I want to do is write a library in C++ (Are there any other languages I could use?) that I can use across my applications (For Ubuntu Touch). I know what I need to do programming wise. But when it comes to using the library what do I need to do? That part of it is what is getting me.

My question really is, how do I write a library and then import it into my application?

I see that there is a dependencies tab in the project manager in QtCreator, but not to sure what else I need to do.

share|improve this question
up vote 1 down vote accepted

Here's some documentation from QtCreator about how to do this:

share|improve this answer
This appears to be what I want, shall try it put tonight. – FabianCook Oct 22 '13 at 0:13
Try it out I meant** – FabianCook Oct 22 '13 at 2:14

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.