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
26 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
5k 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
7 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
7 views

Can you do dictionaries in qml?

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

Is there a open source sketchup project that is available on ubuntu that I can contribute code to? [on hold]

Blender != alternative to sketchup. Wine != alternative to sketchup. Sweethome 3d != alternative to sketchup. I am tired of trying to use these "Alternatives" which are aimed more towards complex ...
0
votes
0answers
7 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
808 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 ...
8
votes
0answers
138 views

How to lock ubuntu device orientation in portrait or landscape from user input?

I am working on a reader app to be used on Ubuntu-Touch. When reading books from the app it would be a helpful feature to lock the orientation in either portrait or landscape. This would be useful ...
4
votes
1answer
51 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 ...
10
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
33 views

How do you check if a property is undefined in qml?

How do you check if a property is undefined in qml? This is what I am trying to do: Button { id: myButton text: if (text === "undefined"){"default text"} }
2
votes
1answer
33 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
11 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
44 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
34 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
205 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
16 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
16 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
63 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
181 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?
-1
votes
0answers
18 views

App “Pending Review” for half a month - Proprietary licence, packaged properly

My desktop game app "Lost in Paradise" was submitted for publishing 16 days ago but it is still in "Pending Review" status with no sign of change or any contact: ...
2
votes
4answers
1k 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
25 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
25 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
67 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
79 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
20 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
25 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
16 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
11 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
41 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
15 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
31 views

(QML) What does the “?” do in defining properties?

Popey { working: visible ? 100 } What does that "?" indicate in this example?
2
votes
0answers
28 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
20 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
12 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
16 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
68 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
18 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
91 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
16 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
92 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
211 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
139 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
20 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 ...
2
votes
1answer
59 views

Ubuntu, gtk 3.10.8, not able to visualize a menubar made by Glade

My problem is that I've drawn a UI with Glade, but the menubar doesn't want to be drawn. Here is the xml, just a sample: please try to check out the properties. It is a very simple menubar but I ...
1
vote
1answer
34 views

How to you get a flickable to do a smooth scroll?

Flickable{ Button{ onClicked: parent.????????? } Or do I have to create a function for this?
2
votes
1answer
30 views

How do you prevent the 2nd page in a PageStack from running?

I may be missing something here but I'm not sure why the code is running before page 2 should be loaded. http://pastebin.ubuntu.com/8068379/ And is there any way to prevent the functions and code ...
2
votes
1answer
34 views

How do you equally space out elements in a Row?

Row{ width: parent.width spacing: ???? Checkbox{} Checkbox{} Checkbox{} Checkbox{} } So just to be clear, the checkboxes should be spaced in such a manner that however wide ...