Ubuntu SDK is an Ubuntu-specific software development kit, bringing together all the necessary software and tools for app development.

learn more… | top users | synonyms

0
votes
0answers
3 views

QML: What are the steps needed to impliment a Qt class or member function into a QML project?

Qt contains many classes and functions that are useful for a QML project, but not readily available. In order to add the functionality of a Qt class or one of its member functions, what steps need to ...
2
votes
1answer
21 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 ...
3
votes
1answer
18 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 ...
1
vote
0answers
9 views

Invisible Ubuntu-sdk menu

I am planning to develop mobile programs using ubuntu-sdk, but my window manager is awesome(http://awesome.naquadah.org/) and menu of ubuntu-sdk is not visible at all. All other programs work ...
0
votes
1answer
22 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? ...
0
votes
2answers
18 views

QML: How do you toggle boolean?

In QML, how do you toggle boolean non explicitly? For example: Whenever a button is pressed, a boolean property will simply switch to its other value. If false, it will be come true. If true, it ...
1
vote
0answers
11 views

Use SystemSettings 1.0?

I'm developing a new app that I need to use the SystemSettings module for (I need to get the device serial, IMEI and stuff). When looking for a way to get these numbers I came across Ubuntu System ...
0
votes
0answers
10 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
12 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'> ...
3
votes
1answer
17 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 ...
2
votes
1answer
18 views

QML: What is the difference between Row and TemplateRow?

TemplateRow is just an example out of several. There is also TemplateSection and I assume TemplateColumn as well as many others. When should I be using Row{} vs TemplateRow{}?
0
votes
2answers
38 views

QML: What does i18n.tr(“blah blah blah”) mean?

Specifically, what is i18n.tr short for?
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?
0
votes
1answer
51 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
49 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
30 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
2answers
33 views

Difference between Qt Creator and Ubuntu SDK?

Having downloaded them both when I installed the Ubuntu SDK, I wonder if there is any tangible difference between the two, such as the libraries being employed.
1
vote
1answer
24 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
2answers
27 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 ?
2
votes
1answer
87 views
+50

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. Here is a starter: import QtQuick 2.0 import Ubuntu.Components 0.1 import ...
0
votes
0answers
69 views

Problem with setting up path in Eclipse for sdk

I am currently working on Ubuntu 12.04 LTS and I have installed Eclipse from the Ubuntu Software Center and then according to the procedure suggested I dealt with the ADT. Next I had to install SDK ...
1
vote
1answer
34 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 ...
1
vote
1answer
21 views

Ubuntu SDK: Error with First App

I am just starting to develop with the ubuntu sdk. I created a default html5 project, and I havent changed anything. This is the error: Starting ubuntu-html5-app-launcher ...
0
votes
0answers
17 views

Import libraries in Ubuntu SDK

I am very new to QML, Qt and the like. I want to add a library (e.g. http://sourceforge.net/p/qzxing/wiki/Home/) for a "Ubuntu -> Simple UI" project. However, I cannot figure out how. The instructions ...
1
vote
1answer
24 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
34 views

Running apps from sdk on nexus 4

I wanted to play around with Ubuntu Touch, so I installed the Ubuntu SDK 2.8.1 and dual-booted my Nexus 4 with Ubuntu and Android. But when I connect my Nexus to the SDK, I can start an ssh session ...
1
vote
0answers
24 views

HTML5 app not running in Ubuntu SDK

Today I tried to run just test program in Ubuntu SDK. I create a new project and just pressed run button. But it is showing error. And emulator is also not opening. But when I try to open with QML it ...
2
votes
1answer
27 views

Having trouble installing Ubuntu Phone SDK

I've been trying to install Ubuntu Touch development software, and tried installing the packages by trying these two commands: sudo add-apt-repository ppa:ubuntu-sdk-team/ppa as well as ...
2
votes
1answer
36 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
24 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: ...
2
votes
1answer
44 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 ...
0
votes
0answers
62 views

“No executable specified.” Ubuntu SDK Unity8

Was working last night, but today when I started up again, I could not run unity8 out of QtCreator/UbuntuSDK. After building and running, it just states: "No executable specified." FYI; This is a ...
2
votes
2answers
125 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 ...
1
vote
1answer
33 views

How to open a browser when the TextEdit::onLinkActivated signal is received

I'd like to open a browser window to display the URL received by a TextEdit onLinkActivated signal. Is it possible to perform such call from the QML application?
1
vote
1answer
78 views

Ubuntu SDK open file dialog

I've started playing with the SDK to start developing an application. The application will be something that will allow me to filter records in an CSV file by a search term. But does a file dialog ...
4
votes
1answer
46 views

How do I make a WebView transparent?

Consider the following QML snippet: Page { WebView { id: webView anchors.fill: parent } } I then attempt to load some HTML in the WebView using the following JavaScript: ...
3
votes
1answer
49 views

How come the contents of Text elements aren't being properly justified?

Consider the following page in a QML application: Page { Text { anchors.fill: parent anchors.margins: units.gu(2) horizontalAlignment: Text.AlignJustify text: ...
0
votes
0answers
36 views

Service Notifications in Ubuntu Phone?

I'm thinking to create a messaging app for Ubuntu Touch. Android apps aren't using 3G every time because it'll drain the battery (Are they Push notifications?). Has Ubuntu Phone something like that? ...
1
vote
2answers
45 views

Ubuntu installation on Windows 7

Can anyone provide me with link of ubuntu setup(non .iso file) so that i can install it side-by-side on windows without writing on cd or usb flash drive?
2
votes
1answer
34 views

In the CurrencyConverter Ubuntu SDK QML example where does the index variable come from?

In Ubuntu SDK QML tutorial a simple currency converter is build. The complete QML source code can be found here. When working through the example I found the following snippet somewhat confusing, ...
1
vote
3answers
88 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 ...
1
vote
1answer
97 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: ...
0
votes
1answer
24 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{ model: ...
3
votes
2answers
48 views

How to change the color of *just* the header?

Is there a non-hacky way to change the color of just the header in an app using the Ubuntu SDK? MainView has a headerColor property, but that is used as the first step of gradient. Currently, I'm just ...
0
votes
2answers
112 views

How to call Qt or local function from Ubuntu HTML5 App?

I have create a HTML5 App from Ubuntu SDK. It contains a index.html and js directory. Next I add "X" label on the html file like this: <head> ... <style type="text/css"> ...
0
votes
1answer
59 views

ubuntu sdk html5 applicaitons miss some basic effcts of normal html in web browsers!

I download and install the newest ubuntu sdk (1.097~sdkppa~saucy1~test9) in Ubuntu 13.10. I just create a native app with Ubuntu HTML5 APIs, but find that it miss some basic effects/behaviors of ...
0
votes
0answers
27 views

ubuntu-sdk ppa out of date?

I'm currently wrestling with the ubuntu-sdk and after installing it I cannot get the "unity-webapps-qml" package to install because its dependent on a missing package ...
0
votes
0answers
44 views

ubuntu-html5-theme package does not install ubuntu-html5-app-launcher

The package ubuntu-html5-theme (which gets installed as part of the ubuntu-sdk) does not install ubuntu-html5-app-launcher. However if I download the source for this package and build and install it ...
1
vote
1answer
44 views

Set Application Icon

I'm building a QML application with the Ubuntu SDK. I've figured out how to add an application icon to the .desktop file, but I'm not sure where to add the window icon itself. I've seen code for ...
0
votes
1answer
26 views

is there code example or api reference for “convergence”?

I cannot find any code example for writing apps for “convergence”. Does anyone know it where I could find any? Or will anyone give some clue about how to write a convergence app for both phone and ...