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

2
votes
1answer
48 views

How to transfer money from my Developer Account?

I have $22 in my developer account. I want to transfer this money to my paypal account. How can I do it? Is there any limit for the transfer or any time we should wait.
2
votes
1answer
301 views

Unable to start a QML app using qmlviewer/qmlscene

I'd like to start writing QML applications. I followed this tutorial: http://qt-project.org/doc/qt-4.8/qml-tutorial1.html my code is: import QtQuick 1.0 Rectangle { id: page width: 500; ...
2
votes
1answer
46 views

QML WebView.back does not work

In QML I want to use WebView , but the WebView.back does not work. Is there some way how to navigate, or do I have to store all the previous paths and navigate between them manualy using javascript ...
2
votes
1answer
64 views

QML: QtQuick Extension Plugin - What is URI?

When starting a new Qt Quick Extension Plugin, it asks me to specify Object Class Name (Easy enough), but also something called URI. What does URI stand for? What does this project need URI for? ...
0
votes
0answers
43 views

Is it possible to send a return code with the Qt.quit() signal from QML?

I'd like to know if it's possible to send a return code from a pure QML application using the Qt.quit() signal so that qmlscene can exit with the same error code. I don't need a solution using C++, I ...
1
vote
0answers
30 views

What are the steps needed to implement a Qt class or member function into a QML project for Ubuntu-Touch? [duplicate]

Qt contains many classes and functions that are useful for a QML project, but not readily available. The existing solutions do not employ a method that is platform independent, thus it is unclear ...
0
votes
1answer
49 views

Can't get buttons to work wx.python (ubuntu 12.04 LTS )

try: import wx except ImportError: print 'Module not found' class Frame(wx.Frame): def __init__(parent,id ): wx.Frame.__init__(self,parent,id,) panel = wx.Panel(self) ...
0
votes
0answers
20 views

Is there an option to tell Ubuntu to install all dev packages? [duplicate]

I have more than enough disk space and I am constantly annoyed by code I am compiling saying "you don't have foo" and then having to figure out which package foo is in, install that package and retry ...
0
votes
1answer
59 views

HUD and menu integration for Ubuntu Touch apps

Is there a way to move the Tabs into a menu, or the toolbar options into a menu? It would be nice enough to have the toolbar options display in the menu when on the desktop.. Is there any work to add ...
2
votes
0answers
201 views

Multitouch in Qt

I've got a fresh install of Kubuntu 14.04 and Qt Creator/5.2.1, and I'm trying to get multi-touch working for the example applications like photosurface. My input device is an Acer T272HL 10 point ...
1
vote
0answers
349 views

Can't create Unity lens with Ubuntu 14.04

I want create a Unity lens, I follow this exemple : http://developer.ubuntu.com/2012/04/how-to-create-a-wikipedia-unity-lens-for-ubuntu/ I use : quickly create unity-lens wikipedia When I try : ...
3
votes
1answer
42 views

What is the difference between Ubuntu.Components and QtQuick?

QtQuick 2.0 Ubuntu.Components 0.1 Are two common imports when developing applications for Ubuntu. Are these classes? Can you import member functions this way? If yes, how can tell what member ...
5
votes
1answer
147 views

QML: What is the difference between a Component, Element, Property, Attribute, and Object?

The reason why I ask, is that often languages define the same terms differently, and QML is fairly unique in some regards. A brief explanation or analogy is preferred, where as more extensive and ...
4
votes
1answer
114 views

Correct handling of application URIs from Unity Dash

At some point, Unity changed the Uri type it returned when a drag-n-drop operation occurred of applications from the Unity Dash to a Gtk window in an app I wrote. In 13.04 (Unity 7.0), the data call ...
0
votes
1answer
33 views

QML: QChar Booleans are undefined

function myFunction(x) { console.log(x.isLetter) } myFunction("s") When I run this in a .qml file, it tells me that "isLetter" is undefined. Why? ...
2
votes
1answer
26 views

ActionSelectionPopover - populate dynamically

I am trying to populate dynamically an ActionSelectionPopover... Does any one ever got it working? this is the static way to get it work: ActionSelectionPopover { id: popMeUp data: bitrates ...
1
vote
1answer
32 views

QML: How to display a “<” character in a richTextBox?

The code in question: description.insert(0,"<tr><td><H1> ---Less-Than-Sign-Here--- </H1></td><td><font face='Ubuntu'size='3'color='#f37420'> ...
4
votes
1answer
49 views

QML: Will the Ubuntu Phone be theme-able, and do I need to develop with that in mind?

Take a simple example in formatting richtext: The Manual Way someTextBox.insert(0,"<font face='Ubuntu Mono'size='3'color='#f37420'> Blah Blah Blah </font>") The hypothetical Way ...
1
vote
0answers
95 views

Deploy app on OpenStack deployed locally on single machine

I have deployed OpenStack using DevStack on single Ubuntu 12.04 machine running all services. I actually have to develop a Private Cloud Document Management System Now, I want to know that how do I ...
1
vote
1answer
42 views

How to use QAudioOutput in Ubuntu Touch

When I run QAudioOutput on Ubuntu Touch in confinement, It reports permission error. Basically it is trying to create a directory in /run/user/*/pulse which is rejected by the confinement. How to ...
0
votes
0answers
26 views

Imports for executing system commands? [duplicate]

QML at the moment lacks the ability to execute basic system commands. What libraries or functions can be imported to add this functionality to a .qml file?
1
vote
1answer
122 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: ...
1
vote
1answer
13 views

Allow OptionSelector to Scroll While Expanded

My QML app uses an OptionSelector to allow users to choose from a list of items. On tablet size, I have it set to keep it expanded. However, I limit the container height, and while it's expanded, it ...
3
votes
1answer
120 views

It is not supported to create click packages for a non UbuntuSDK target

I've just finished a first version of my app port to QML and tried to create a click package but Ubuntu SDK said Wrong kit type It is not supported to create click packages for a non UbuntuSDK ...
1
vote
2answers
127 views

How to set default time for QML DatePicker?

According to the API I should use date property, but with mode: "Hours|Minutes" the picker stays at 00:00. Is it possible somehow?
1
vote
1answer
371 views

Scrolling of ListView within a Column in QML

Below code is working fine ( thanks to Sylvain ), only when scroling, the top row from the ListView overwrite the buttonRow. Any idea ? – import QtQuick 2.0 import Ubuntu.Components 0.1 MainView { ...
2
votes
1answer
111 views

How to get pixel length of a Button text string in QML?

I need to know Button text length in pixels. How to do that ?
4
votes
1answer
111 views

What does .gu stand for?

What does .gu stand for? For example: ConditionalLayout { name: "row" when: layouts.width > units.gu(50) //right here Row { anchors.fill: parent etc....
4
votes
2answers
707 views

QML: Simplest way to write to a text file?

QML at the moment lacks basic system commands, so I am looking for the most simple template to write to /tmp/text.txt.
2
votes
1answer
81 views

Ubuntu Touch how to detect If the application is closed

on ubuntu touch. I run an application in terminal and close the application in the Application scope. The application isn't killed. And no event is caught in QQuickView. How do I detect this close ...
1
vote
0answers
56 views

How to package QML Extension Library + Tabbed Touch UI?

I have followed the method described [here] (https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1215913) for creating QML Extension Library + Tabbed Touch UI project and generate click package. ...
3
votes
1answer
34 views

Finding Mouse click position in IconView in GTK

I am building a file browser using Gtk.IconView in python. I am trying to find the path of an icon selected using " selection-changed" signal using gtk.IconView.get_path_at_pos(x,y). The docs are mum ...
0
votes
0answers
15 views

Installation failed for API

I'm developing an app for sending OSC messages working through the outlet port 4444 and I am using a C API call Liblo. Project page: http://liblo.sourceforge.net Normal install it by running the ...
0
votes
0answers
10 views

Microsoft VM installing Openemr on Ubuntu

I am installing OpenEMR on MS Cloud VM using Ubuntu. There are different versions of openEMR such as: 1 Windows 2.Ubuntu/debian 3 Linux Which download should I use? Is Umbutu/debian same as Umbutu? ...
-1
votes
1answer
83 views

How to set up an environment to develop Android apps in Ubuntu that doesn't have internet Connectivity?

I have an Ubuntu laptop in which I need to develop Android apps. I know that all that software could be downloaded from the software center but the problem is that I don't have internet connectivity ...
-2
votes
1answer
25 views

File permissions and applications

How does ubuntu protect against executable files which become executable through another installed app changing the permissions? I mean it is possible to check applications do not change file ...
1
vote
1answer
115 views

QML PageStack , communication between Pages - return values

I defined PageStack only on master page (a.qml) : import QtQuick 2.0 import Ubuntu.Components 0.1 MainView { width: units.gu(48) height: units.gu(60) PageStack { id: pageStack ...
2
votes
1answer
57 views

how to start developing more cleaner editor's gui interface?

I'm using Ubuntu since one year and it got everything I need daily. I've written couple of applications like gps tracking and live video streaming in C++ with netbeans on Ubuntu. The only drawback ...
0
votes
0answers
69 views

Ubuntu touch HTML5 app tab navigation not working

I am new in ubuntu touch app development, I am using HTML5 instead of QML. below is my code. <div data-role="mainview"> <header data-role="header"> <ul data-role="tabs"> ...
0
votes
0answers
80 views

graphical presentation of codes

Is there any tools which understand programming languages in Ubuntu and make a graphical shapes or diagram of the code. I think it is better to describe my case I have a C++ code with more than 10 ...
1
vote
0answers
44 views

Cannot import directory path to qmlscene

I am trying to import directory in QML as explained, here: http://qt-project.org/doc/qt-5.0/qtqml/qtqml-syntax-directoryimports.html. I have the following ubuntu-app | - extras1 | - extras2 | - ...
3
votes
0answers
24 views

Publishing my first application on PPA (Launchpad) [duplicate]

Let's say that I have a little script that outputs "Hello world!" in terminal: echo "Hello World!" How can I publish it to Launchpad PPA so I can type: sudo add-apt-repository ...
2
votes
0answers
32 views

Ubuntu keyboard shortcut guidelines?

Is there an authoritative specification of keyboard shortcut guidelines for Ubuntu? I am looking for something like the OS X guidelines that result in unified application behaviour for common things ...
1
vote
1answer
29 views

what cd burn lib for app development libburn

Hi I am developing a GTK front end for playing audio files, encoding them then burning audio cd's. I have playing and encoding implemented but have run into a wall with burning. I would rather not ...
0
votes
0answers
37 views

MySQLdb on Brython?

Hi there I'm working on a server-based point of sale for a sports club, and downloaded Mysqldb lib so that I can access and modify it through python scripts, they work great!, so I decided to use ...
1
vote
1answer
46 views

does ubuntu-sdk all programming language supports all mobile devices?

ive installed ubuntu-sdk , and the main goal for this installation is to develop mobile apps, for all devices iphone/galaxy...etc saw the project programming language select, html5....python. can i ...
1
vote
1answer
70 views

Internationalization of QML application using i18n

Does someone know all the steps needed to have the apps translated in multiple languages? I am using in my QML files i18n.tr() , and such words I need to translate I performed below steps ( ...
2
votes
1answer
314 views

QML ListView is not scrollable ( if included within a row )

Below code is using ListView within a Column and Row. But the ListView is not scrolable. Any idea why ? import QtQuick 2.0 import Ubuntu.Components 0.1 MainView { width: units.gu(60) height: ...
1
vote
1answer
56 views

How do you launch system applications from within a Ubuntu Touch app?

Android had a concept of Intents by which you can launch the system apps using your own apps. Does Ubuntu touch have any options like that? If so how can one do it?
1
vote
1answer
86 views

QML ListView overwriten with buttons - but should be in different rows

In below code I have 2 rows . In first I have buttons and in second a ListView. Why are they overwriten in the display, what's wrong ? import QtQuick 2.0 import Ubuntu.Components 0.1 Page { id: ...