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
45 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?
3
votes
2answers
395 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.
3
votes
1answer
47 views

QML: How to do variables?

In QML, I am just looking for a way to do fairly simple variables: Bool String Integer
5
votes
3answers
5k views

Find version of development library from command line?

I installed the c++ boost development libraries using Ubuntu software centre. The problem is that it was quite a long time ago and I cannot remember where they are installed nor what version they ...
14
votes
1answer
789 views

How can GIMP 2.8 have two different icons together?

In Unity dash GIMP 2.8.10 has a icon and uses a different one in launcher. GIMP in Dash GIMP in Launcher I searched for GIMP in "File System" and got this. How can this be done while ...
5
votes
2answers
1k views

Is QML the only way to create apps in Ubuntu for tablets?

As I've seen from the tutorials, QML seems the only way to create graphical apps in Ubuntu for tablets. Other languages seem to be only for using OpenGL, not Qt libraries. My question can be ...
4
votes
2answers
1k views

How can I make a HTML5 app for Ubuntu Mobile?

Is there any tutorial? I made some apps in HTML5 but I don't know how to "compile" or transform this code to obtain an Ubuntu Mobile App. Thanks for your help.
1
vote
0answers
29 views

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

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 ...
2
votes
1answer
45 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
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 ...
2
votes
0answers
158 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
323 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 : ...
2
votes
1answer
60 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
1answer
250 views

Get/emulate touch event in Cordova app

I have a HTML5 app, wich I want to port to Ubuntu as a Cordova app with Ubuntu SDK. It use touch events on a canvas and works fine in any browser, but no with Cordova. I bind the events like this: ...
4
votes
1answer
68 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 ...
0
votes
1answer
28 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? ...
11
votes
4answers
2k views

Run system commands from QML App

I want to run a system command from inside my application. It's suppose to run a command on a remote server using SSH. But that's not really the point. The point is that I don't know how to run any ...
0
votes
0answers
25 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?
4
votes
1answer
39 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
69 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
75 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 ...
3
votes
2answers
204 views

How do I daemonify my daemon?

As part of the Ubuntu Accomplishments system I have a daemon that runs as well as a client that connects to it. The daemon is written in Python (using Twisted) and provides a dbus service and a means ...
1
vote
1answer
10 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 ...
1
vote
1answer
186 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
3answers
165 views

Tab View HTML 5 App

I am trying to understand the basics of the Ubuntu HTML5 UI. I have used the following sample Code from developer.ubuntu.com <body> <div data-role="mainview"> <header ...
2
votes
2answers
826 views

Saving user settings in QML/JS

I'm working on a small game and i'd like to know how can i write/read a user settings file in ubuntu touch?
1
vote
2answers
87 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?
2
votes
2answers
66 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 ?
3
votes
1answer
31 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 ...
1
vote
0answers
39 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. ...
0
votes
0answers
13 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 ...
-1
votes
1answer
72 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 ...
0
votes
0answers
7 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? ...
2
votes
1answer
80 views

QML ListView display only 1 row ( if covered in Column and row )

I need to put a ListView ( coded in QML) into a Row, but in this case only first Row of the ListView is displayed . Some idea why ? Here is my example : import QtQuick 2.0 import Ubuntu.Components ...
-2
votes
1answer
21 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
93 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
51 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
54 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"> ...
1
vote
0answers
36 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
23 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 ...
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 ...
2
votes
0answers
30 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 ...
0
votes
0answers
30 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
53 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 ( ...
1
vote
1answer
37 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 ...
2
votes
1answer
164 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
50 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
51 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: ...
3
votes
1answer
67 views

What's a good way to mock a remote HTTPS API for unit testing my QML app?

I'm tinkering with a QML app that interacts with a remote REST API over HTTPS. The "client" part of the app is neatly packaged into a component and I'd like to unit test that, but I don't want to ...
2
votes
2answers
144 views

Ubuntu Studio for Ubuntu SDK

I have one of the strange question in my mind. I saw Ubuntu studio is good for multimedia related thing. I was wondering this thing for past few days. Is it possible to Install Ubuntu SDK in Ubuntu ...