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

1
vote
2answers
214 views

Right package for JSON-GLib development headers

During configuration of one project, I got the error: checking for JSON... no no configure: error: You must have JSON-GLib >= 0.14.0 development headers installed to build. make: *** ...
0
votes
0answers
33 views

QML: How do I set my icon in the Ubuntu SDK with a CMakeLists based project?

How do I set my icon in the Ubuntu SDK with a CMakeLists based project? Do I need a specific type of image file, or can I use just a png?
0
votes
0answers
15 views

revkit installation [duplicate]

so i need to install this software called revkit on ubuntu 12.10. below are the instructions as per the manual: Requirements RevKit needs a couple of packages which can easily be installed with the ...
1
vote
1answer
48 views

develop or contribute to ubuntu community

I'm a newbie to ubuntu development. I have developed many apps for windows. My college and school uses only windows. So, I'm very familiar with developing in windows. But, when i wanted to switch over ...
4
votes
1answer
120 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 ...
3
votes
2answers
45 views

How to go back from a PageStack's Page to the parent tab in the UI Toolkit

So in a previous question I tried to use the Ubuntu UI Toolkit to nest a PageStack within the Tabs component. It seemed to work, but it had its quirks, so I'm now trying another option, which in ...
4
votes
2answers
104 views

How to hide the header of the Tabs component

I'm writing an app using the Ubuntu SDK, and I've got a PageStack component inside aTabs component. When I load one of the pages inside the PageStack, it all works well, and in the header the name of ...
5
votes
1answer
137 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....
1
vote
1answer
42 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'> ...
2
votes
1answer
27 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 ...
3
votes
1answer
50 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 ...
0
votes
0answers
85 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 ...
2
votes
1answer
556 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; ...
4
votes
1answer
234 views

Ubuntu SDK QML how to change the background color of TextField

I have a situation where the background color of my QML app MainView causes the textfield entry to have grey lettering on equally dark brown background. This makes it almost impossible to read what ...
1
vote
1answer
39 views

How can I access an attribute of the selected option in an OptionSelector?

I have an OptionSelector that delegates to an OptionSelectorDelegate, and has a ListModel for the model. How should I access the "sometext" attribute of the ListElements? OptionSelector { id: ...
22
votes
3answers
8k views

Why no library files installed for google test?

The libgtest-dev package seems only install header files to the system, but not the static and dynamic libraries which should be installed under /usr/lib. Is it a bug?
1
vote
0answers
98 views

How can I deploy 32 and 64 bit versions of my application in the Ubuntu's Software Center under a single entry?

I don't know how or don't see the option to have 32-bit and a 64-bit version of my application under the same entry in the Ubuntu's Software Center, and .deb packages cannot contain multiple ...
0
votes
0answers
81 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 ...
15
votes
4answers
5k views

How to create Unity indicators?

I'm interested in Unity indicators, and wonder if there is any tutorial about how to program them. I can use the sources of the existing ones as last resort, but I'd prefer a more friendly approach ...
2
votes
1answer
73 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 ...
3
votes
2answers
517 views

Appmenu with QML App

I'm developing an Ubuntu SDK meant to be used on both the desktop and touch interfaces. Obviously the menu that slides up from the bottom of the window is not a great interface for the desktop. ...
0
votes
1answer
37 views

To run a dialog box as a result of clicking a button in quickly using python

I am developing an application that has various buttons such as addition, multiplication and so on.. now when I click on addition button I want a dialog box to be displayed that has labels n text ...
1
vote
0answers
9 views

Redirecting to error page while submitting ubuntu touch app

I'm writing an application for Ubuntu for Phones and I submitted my .click package to ubuntu store 'myapp' portal, after uploading it goes for scanning, but after scanning automatically it is ...
0
votes
1answer
69 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
3answers
93 views

Ubuntu Quickly: How do I set a button to launch a specific Ubuntu Application

I'm very new to linux and I don't know very much. I was creating my own application with Quickly, and I wanted to have a button which launches the Hardware Information application "Hardinfo". I'm very ...
2
votes
1answer
126 views

How to integrate jFrame Menu Bar into Unity top bar?

I'm developing a Java application using jFrames, and the Menu bar object doesn't integrate with Unity's top bar (Window Title & Application Menus) as any native Unity application does. Is there a ...
2
votes
1answer
51 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.
5
votes
2answers
1k 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
303 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
7k 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
804 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
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 ...
2
votes
1answer
94 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
256 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
364 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
108 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
436 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: ...
5
votes
1answer
493 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
39 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? ...
12
votes
4answers
3k 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
27 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
56 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
132 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 ...
3
votes
1answer
146 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
229 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 ...
2
votes
1answer
17 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
719 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 { ...