Writing applications for Ubuntu (including Ubuntu Touch) and questions about the application submission process to the Ubuntu Software Center. This covers both open source and commercial applications.

learn more… | top users | synonyms

3
votes
2answers
465 views

QML - How to create QML Components properties so they can be set from JavaScript?

I am trying to create a component with certain properties I've set. The sounds location and name are given by a C++ function that is actually working because the console.log() shows so: qml: Adding ...
2
votes
1answer
479 views

How to get data from REST API with QML (for ubuntu touch app)?

I am trying to use firebase REST API and to get some data into my ubuntu touch app. Can you give me some pointers on how could I go about doing that?
1
vote
1answer
111 views

get QML default value of a widget

How to receive the default value of e.g. TextEdit font.pointerSize? I would like to create a custom widget that uses some default values but allows to set some values from outside. Therefore it is ...
2
votes
1answer
50 views

Add external library to Ubuntu App in Ubuntu SDK

I am trying to add the QuaZip library to my project (https://launchpad.net/vadetux). I have tried setting the EXEC variable in the CMakeLists.txt to: set(EXEC "qmlscene -I /usr/include/quazip $@ ...
0
votes
2answers
488 views

How to call Qt or local function from Ubuntu HTML5 App?

I have create a HTML5 App from Ubuntu SDK. It contains a index.html and js directory. Next I add "X" label on the html file like this: <head> ... <style type="text/css"> ...
1
vote
0answers
65 views

Pack Ubuntu HTML5 click application for desktop

I would like to pack an Ubuntu HTML5 click application for the Ubuntu Software Center. The application is a game that uses Apache Cordova. It is already published in the click store, I would like to ...
0
votes
1answer
35 views

Why ubuntu SDK do not Highlight HTM code?

I just sterted with the ubuntu SDK, but, hell, the Highlight not even works! How can I make the Highlight to work like it should do, in the settings, the mimetype handler use a simple text file style ...
0
votes
0answers
83 views

Use ubuntu-html5-app-launcher, canvas.addEventListener(“mousedown” … Triggered when up the mouse button

I use ubuntu-html5-app-launcher My code: ... ... canvas.removeEventListener("mousedown", newGame, false); canvas.addEventListener("mousedown", onCanvasDown, false); ...
0
votes
0answers
21 views

Phonegap plugin development

I'm developing Ubuntu WEB application using Phonegap. From http://docs.phonegap.com/en/2.7.0/guide_plugin-development_index.md.html I can see there is no explanation about plugin development in Ubuntu ...
3
votes
2answers
691 views

Difference between Qt Creator and Ubuntu SDK?

Having downloaded them both when I installed the Ubuntu SDK, I wonder if there is any tangible difference between the two, such as the libraries being employed.
2
votes
1answer
318 views

Ubuntu SDK: How do I implement a “onClick” for an image in QML?

I have a background image for my page, and I want to implement a sort of page refresh when the background is clicked. However, I didn't find any actions for the image element in QT quick. What's the ...
0
votes
0answers
10 views

In Ubuntu SDK, how do you search for text which include linebreaks?

If you ctrl+f in Ubuntu SDK to browse through your code, and you paste within the search box a multi-line piece of text, it will fail to find any results. Is there a way to get around this ...
0
votes
2answers
101 views

Qt Creator - auto code generation

I have Ubuntu-Sdk IDE and I am doing HTML5 Programming in Qt Creator IDE, it is working absolutely fine, but when i click on Ctrl + Space, Auto Code is not generating, Please let me know what can i do ...
3
votes
1answer
194 views

Error while deploying HTML5 app with Ubuntu SDK

I got this error message while deploying a HTML5 app with UbuntuSDK. Can anyone help me? :-1: warning: desktop_Exec (vp99): found unexpected Exec with architecture 'all': ./qtc_device_debughelper.py ...
1
vote
1answer
72 views

Ubuntu SDK: Error with First App

I am just starting to develop with the ubuntu sdk. I created a default html5 project, and I havent changed anything. This is the error: Starting ubuntu-html5-app-launcher ...
1
vote
1answer
64 views

Launchpad Qt/C++ and external tools

I'm new to Ubuntu developpement and searching for information regarding building apps through launchpad (using recipes). I have a project of building a Qt5/c++ webkit app and wanted to ask: how to ...
0
votes
0answers
25 views

Error while trying to import pictures with ContentHub

I followed the Content Hub tutorial and I used the code about importing single pictures I found here: http://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Content.index/ Anyway, when trying to import ...
1
vote
1answer
44 views

Testing existing Ubuntu scopes without a supported device

I'm interested in participating in the Ubuntu app Showdown in which you have to make a scope. But before I begin developing I'd like to see how scopes work and what scopes are available. I don't ...
1
vote
1answer
188 views

Will I be able to develop apps for ubuntu touch with python?

I want to learn to develop apps for ubuntu touch, and I want to do that with python. So far SDK doesn't seem to support it. Will it support python in the future? Can I start developing apps with ...
4
votes
1answer
110 views

What does the head: property do on Page{} in qml?

I have an app that I am trying to get the toolbar in the header to work. In the documentation I've noticed a property called head that seems to create and add items to the header toolbar. What is the ...
1
vote
1answer
256 views

Cannot build unity scope from qt creator

I am trying to do the unity scope tutorial from ubuntu developer's site. I follow the following steps Create new project (unity scope) Set name and directory parameters As kit i choose i386 ubuntu ...
2
votes
1answer
85 views

Ubuntu SDK, how do I create a tree view in QML?

I have json data that defines comments that have children. I am trying to display nested comments(like in hackernews or reddit) in my app. What is the best way to go about doing it?
1
vote
1answer
372 views

In QML, is there a Conditional Layout that corresponds to the phones orientation?

So instead of guessing it with something like this: ConditionalLayout { name: "column" when: layouts.width > units.gu(50) Column {... It would be something like this: ...
6
votes
1answer
77 views

What's the difference between OptionSelector and ItemSelector?

When writing an app for Ubuntu, it seems I can interchangeably use the ItemSelector or OptionSelector components. In which situation should I use each one of those? What's their main difference that ...
0
votes
1answer
29 views

Combine a falling animation with a going up animation on click

I am trying to make a moving sprite fall down from the upper left corner to the left down corner. That function is working properly with the SequentialAnimation component. Apart from that, when you ...
0
votes
0answers
23 views

Ubuntu SDK - how to use the new header? [duplicate]

I want to use the new header features that are described here, but I can not find any documentation. Where can I find a QML example of using it?
0
votes
0answers
11 views

Best resources(books/articles/videos) for a new Ubuntu Touch app developer? [duplicate]

I am new to Ubuntu Touch and Qt, and I want to master developing applications for it. I want to start quickly, and then learn it in depth. What are the best books for me to read? Can you outline the ...
0
votes
2answers
156 views

How do you get the website title to show up in the menu area / webpage title are in python / quickly created web browser?

hi there im creating a web browser using a mix of quickly and Python, im wanting to get a websites title to show up in the very top of the page. im not sure of what code that i need adding to the ...
1
vote
1answer
26 views

How can I create an application for Ubuntu 14.04 using Java? [closed]

I was looking for some links/instruction which gives a clear conception about building an application using Java, or C++.
0
votes
0answers
11 views

Distribute completely new package over ppa

Say my application is installed over software center by somebody in version 2.0 build with python and 12.04 support. When I make a completely new application with same name say version 3.0 in C and ...
5
votes
1answer
202 views

How do I get my QML program to utilize Unity7 notifications? Is there an API I can use?

I am developing a screenshot application in QML, and I wish to utilize Unity 7 notifications, similar to what Rhythmbox uses when notifying a user that a new song has started, or when the volume is ...
2
votes
3answers
1k views

Mobile app development issues with qmlviewer not being found?

I am trying to follow the Mobile app development tutorial found here. When I try to run the currency converter in QT Creator I get this error: Starting external tool '/usr/bin/qmlviewer' '' ...
2
votes
0answers
96 views

How can I detect screen rotation with QML

I've been trying to create a Ubuntu QML application, but when I rotate my screen while it is running on my tablet, the header is semitransparent and the content below is exceeding the screen's height ...
1
vote
2answers
44 views

Is there a forum or community for Ubuntu Application developers?

Is there a forum or community for Ubuntu Application developers? Chat rooms count.
1
vote
0answers
45 views

How do I Resolve a dependency issue with Ubuntu SDK, chroot, CMakelists, and the Emulator?

I am trying to build lp:ubuntu-filemanager-app on the ubuntu sdk for running on the emulator. The libraries I need are installed on my system, and in the phablet-shell. I can run the application in ...
2
votes
0answers
29 views

Is there a Bool or Flag you can use in QML to determine whether a phone is running the application?

For example: Text { text: isPhone ? "this application is running on a phone" : "this application is not running on a phone" }
1
vote
2answers
540 views

What is the objectName: property in QML, why is it needed, and how is it different than the id: property?

What is the objectName: property in QML? Which components have this property? Why is it needed? How is it different than the id: property? Why can't I just use the id: property instead?
2
votes
1answer
22 views

What is Tree and Merge Source?

I did a bzr merge, and I always forget what the merge source represents, and what the tree represents. Which one is my code, and which one comes from the branch I merged with?
0
votes
0answers
27 views

Quickly version numbering

I have been experimenting with quickly, and more specifically, packaging. I have been using this command: quickly create I am quickly (heh heh get it, 'quickly') getting frustrated that the version ...
1
vote
1answer
652 views

Ubuntu App Development. Unable to install Ubuntu SDK and buggy Ubuntu emulator

Hello I have installed Ubuntu 14.04.1 and I have no more patience to struggle with my problem. I can't install ubuntu-sdk package: Some packages could not be installed. This may mean that you have ...
0
votes
1answer
204 views

Debian installer does not create desktop/launcher link

I have a Qt application that I want to deploy as a deb package. I have been reading so many sources, all slightly different - most of what I did follows this How To: preparing an application for ...
4
votes
2answers
564 views

How do I develop software for Ubuntu that one could still use in future versions [closed]

Like many of you, I am sometimes annoyed by the fact that some developers just stop working on software they created (see examples below). As we try to cope with the loss, we sometimes will not accept ...
0
votes
1answer
50 views

A required package was not found - Ubuntu SDK default template has this error

I want to do some Unity Scope development and I'm getting this error: CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:283 (message): A required package was not found Here's a quick ...
0
votes
1answer
30 views

How to change the font style of a ListItem?

In my Ubuntu Touch application, I have a list of items and I would like to highlight some of them by making the text appear in bold (think of unread messages in a mail client). Looking at the ...
1
vote
1answer
37 views

How do you determine the combined width of the components in a Row {}?

How do you determine the combined width of the components in a Row {}? The width of the row itself will not work, as I need to set its spacing:, and using this property will create a loop error. It ...
0
votes
0answers
87 views

If I want to test apps on the phone emulator, what kind of emulator do I have to build?

It recomends either i386, but there is an arm version as well; what is the difference? I tried running my app on the i386, but I got this error: 20:31:27: Running steps for project ...
2
votes
1answer
28 views

How do open a link with a button

I would like to click a button in my QML app and have it open a link in the browser on the device.
1
vote
1answer
493 views

How do you round numbers in qml to two decimal places?

I have these ridiculously long real numbers such as 33.088117576394794, and I am trying to convert them to doubles (Two decimal places). So in this case, I want 33.09. How do you do this in QML?
19
votes
1answer
1k views

How to add support for new services to Friends?

With the new friends-app landing in Ubuntu, it occurred to me that adding support for Instagram in the timeline would be cool. I also thought I might take a stab at it myself, but I'm having a hard ...
2
votes
1answer
392 views

Error when modifying rules file in debian packaging

Trying to get my debian packaging to work as I want, I modified the debian/rules file (showing line numbers) 12 %: 13 dh $@ 14 15 override_dh_install: 16 dh_install 17 install -m 644 "My ...