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

0
votes
1answer
24 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
21 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
31 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
55 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
22 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
83 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 ...
0
votes
1answer
93 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 ...
0
votes
1answer
51 views

Exporting LD_LIBRARY_PATH that contains spaces and special characters

Trying to deploy a Qt application on Ubuntu Directions from Qt site show how to allow the library dependencies to be loaded, by changing the LD_LIBRARY_PATH variable: #!/bin/sh appname=`basename $0 ...
14
votes
2answers
6k views

How to read dbus-monitor output?

i'm playing around with dbus-monitor to try and understand how dbus is working in Ubuntu environment. I have several questions in this regard: Could you please let me know how to read the following ...
0
votes
0answers
10 views

Page Stack Component Depth to always remain visible?

Is this possible? Say you have a depth of 5 tabs, They appear and disappear as you click the header. I want them to always remain visible.
1
vote
1answer
70 views

Can you do dictionaries in qml?

So for example: Item { id: sylvainLikesAnsweringMyQuestions property var myDict: {[key,value],[anotherKey,anotherValue]} }
1
vote
0answers
25 views

Qt-creator publish tab missing click part

I am trying step by step to write some simple tutorial Ubuntu apps using qt-creator. First I've chosen HTML5 App then after writing some hello code or even after doing nothing I've tried to create a ...
15
votes
3answers
867 views

Testing Ubuntu mobile applications

I'm currently reading a lot about the new Ubuntu mobile (phone) OS, and now I'm wondering if there is the possibility to test applications. I know that QtCreator is the recommended IDE and an emulator ...
4
votes
1answer
123 views

Can't Run Ubuntu SDK Apps in Emulator

Ubuntu 14.04.1Qt Creator 3.1.1Ubuntu Touch: Image version 189 & 179 I recently upgraded from 12.04 to 14.04 LTS (with Ubuntu SDK installed, and I did re-enable the ubuntu-sdk repository) and ...
12
votes
4answers
3k views

Writing indicators with Python, GIR and GTK3

I'm writing an application that needs to use an indicator. I've done this in the past using PyGTK and GTK2, using as reference this document: ...
2
votes
1answer
39 views

How to make sure a Row {} or Column {} does not contract when an item's visible: property is set to false?

This is a question about good coding practice with QML: How can I make sure that a Row {} or Column {} does not contract when one of its Item's visible: property is set to false? The current work ...
0
votes
0answers
15 views

How to contain the webapp to the correct website (ie UrlPatterns)

I'm making a few webapps but I can't contain the app in the correct website. The exec line is the following one : Exec=webapp-container --store-session-cookies \ ...
0
votes
0answers
104 views

Android Development in Eclipse

I am using ubuntu 14.04 . I have been trying to develop Android apps on it using Eclipse Juno which has inbuilt Android SDK in it. After setting up a new Virtual Device when I create a new project ...
1
vote
1answer
88 views

How do you use Q_INVOKABLE to access c++ functions in QML?

I am looking for the most simple and straightforward example. For my part; .h public: KTerminalDisplay(QQuickItem *parent = 0); ~KTerminalDisplay(); Q_INVOKABLE void setFontStyle(QString & s); ...
3
votes
1answer
235 views

What in the world is wrong with my Ubuntu Touch app?

I'm working on an Ubuntu Touch app that works flawlessly with qmlscene. However, when I attempt to run it on an actual device, I get a bunch of dots all over the portion of the screen dedicated to the ...
2
votes
1answer
22 views

What is the difference between bzr lp-propose and bzr lp-propose-merge?

What is the difference between bzr lp-propose and bzr lp-propose-merge? Do I have to provide the branch I wish to propose a merge to, or does it assume it for me?
1
vote
1answer
27 views

How to get filename from FileChooserButton in PyGTK?

I'm using Glade and PyGtk to develop an application. Currently I'm using a button under a toolbar to open files using this code: def on_openVideo_clicked(self, widget): dialog = ...
1
vote
1answer
71 views

Should we be upgrading away from ubuntu.components 0.1?

Should we be upgrading away from ubuntu.components 0.1 in our ubuntu applications? I am working on one of the core apps, and many were unsure as to whether the current library (1.1 I think) offers ...
7
votes
2answers
314 views

Can I run bash commands from an Ubuntu HTML5 App?

I want to convert some bash scripts into GUI apps using the Ubuntu SDK to create an HTML5 app. Is this possible? Are there any tutorials besides the 'Meanings' one that demonstrate this?
2
votes
4answers
2k views

Is there any way to make a windows version of my python/gtk3 apps?

I've recently been doing quite a bit of coding using quickly and GTK 3. Its great and i'm happy with some of the results, but now i'd like to share my apps with people running windows or mac. Is there ...
1
vote
1answer
43 views

In Ubuntu SDK, I can't test apps on my Nexus phone (Server Rejected Key)

I just made my first webapp for Ubuntu Touch with the Ubuntu SDK. If I test using deploy locally, it works fine. If I test on my device, it returns me : "-1: error: Could not connect to host: Server ...
1
vote
1answer
30 views

How can I take a textbox text entry and make it a variable?

I am having trouble with Python and would like to have some help. I am making a apt GUI 'front-end' with a nice UI. def on_textbox_changed(self): self.instvar = ...
4
votes
1answer
143 views

python GUI frameworks that support touch devices

Hello everyone I want to know what is the best GUI framework for python that supports touch I've been searching couple of hours and this are results which I found: PyQt5 I heard for Qt and I know ...
11
votes
1answer
2k views

Where can I get the source code for “Ubuntu for phones”?

It says in your website that Ubuntu is a free operating system. How can I get the source code for "Ubuntu for phones"?
0
votes
2answers
124 views

How to Integrate of Python 2.7.4 in Qt 5.0

I have Python 2.7.4 installed,Qt 5.0 installed,PyQt 4.10.4.tar.gz and sip 4.15.5.tar.gz. How can I integrate Python with my Qt?
0
votes
1answer
25 views

Is there a benchmarking/monitoring tool that can be targetted towards running applications?

I am trying to fix a performance issue bug on one of the core apps, and I would like to know if there is any benchmarking or monitoring tool that I can use to compare my different branches use of CPU. ...
0
votes
1answer
51 views

“Ubuntu.Connectivity” is not installed

who can I install Ubuntu.Connectivity 1.0 on Ubuntu 14.04 to use it in my application on nexus4 I have used the example: ...
0
votes
0answers
25 views

How do I use the “QML Extension Library + Tabbed UI” option in the Ubuntu SDK?

Is there a tutorial for using the Extension Library project type? I haven't touched C++ in a long time, and I'm completely new to QT. I'm not looking for anything complex, just something like ...
0
votes
0answers
28 views

How to add command-lines to PyGTK application to run after executing .deb file?

I've just made a small application written in PyGTK using Quickly. Inside the application there are some functions which needs some other packages to be installed. For example I need "mencoder" to ...
0
votes
0answers
55 views

Why I can't open qml file?

I try to develop a very simple application in QML for ubuntu-touch ! On desktop, when I press the button "add debpt" it's open a form : When I lunch it into a emulator, I have nothing : This is ...
0
votes
0answers
31 views

building problem with boost after upgrading ubuntu

I have a code that i can build and everything was working until I decide to upgrade my version of ubuntu for the 14.04 one. Now I have this kind of error messages : ...
1
vote
1answer
36 views
2
votes
0answers
32 views

How do I delete files that my app owns from QML?

My app imports files from ContentHub and saves them into ~/.local/share/applications/${myappid}/Pictures/ and I would like to be able to delete them when the user no longer wants them.
0
votes
0answers
38 views

Anybody know how to delete a file from QML without resorting to a C++ plugin?

Anybody know how to delete a file from QML without resorting to a C++ plugin? It should be possible to do in the folder that my app uses for data storage.
0
votes
0answers
18 views

How to export a tomcat project to Ubuntu

I implemented a tomcat project on Mac OS. Then I would like to export the project to Ubuntu 12.04 and deploy it. apache2, tomcat6 and other related packages have been installed to Ubuntu. How can ...
1
vote
0answers
17 views

In the Ubuntu SDK, is there a way to view all global variables in current project?

In the Ubuntu SDK, is there a way to view all global variables in current project? Working on one of the core apps, and I want to figure out if any global variables have been defined for the current ...
3
votes
1answer
103 views

How to detect if GPS sources are enabled using QtPositioning in Ubuntu Touch?

I am using PositionSource to get the latitude and longitude of the user's location from the GPS data provided by Ubuntu Touch. However I need to detect if GPS has been enabled by the user. On reading ...
1
vote
0answers
31 views

Installation of Meanings failed on Nexus 4

I'm doing a simple test with the tutorial app 'Meanings'. It's running fine in the emulator but fails if I try to install the 'click' package on the physical device. Executing: ...
2
votes
0answers
117 views

How does one run QML tests on a Ubuntu Touch Phone?

My application has QML tests using QtTests that I run locally on the desktop via qmltestrunner. I am interested in running these tests on the device to simulate real conditions like the on-screen ...
0
votes
0answers
20 views

(QML) Which components do I want to invoke for notifcations and dialogues on Ubuntu Touch?

Now of course I can make any sort of notification or dialogue I want. However, I want to know what the Ubuntu Style guide recommends for notifications and dialogues. A notifcation could be: Song ...
0
votes
0answers
206 views

Installing Ubuntu touch on Samsung Note 10.1 and sony xperia z ultra

I intend to Install Ubuntu touch on Samsung Note 10.1 and sony xperia z ultra. I have seen few forums and haven't got a clear picture of what is working and what is not. I saw for note 10.1 there is ...
3
votes
1answer
235 views

How to access geolocation information on Ubuntu Touch?

It's strangely hard to find any documentation on accessing geolocation information for Ubuntu Touch specifically and even Qt5 more generally. The Qt Mobility APIs provided this in Qt4, and they seem ...
3
votes
1answer
143 views

How to collapse and expand a ListItem.Standard?

For the app I am developing I would like to have a list with sections that I can collapse or expand. The item in the sections can be clicked and open a DefaultSheet. So, for example in the "Ubuntu UI ...
2
votes
1answer
24 views

How to show the numpad automatically when the textfield is loaded?

I'm making an app with the Ubuntu SDK where a user has to enter a number as fast as possible. I have a textfield in a page, where he has to enter the number: TextField { id: inputQuestion ...