The Ubuntu SDK is your full-featured integrated development environment (based on QtCreator) for writing Ubuntu/Ubuntu Touch apps (QML or HTML5)

learn more… | top users | synonyms

4
votes
0answers
18 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 ...
-1
votes
0answers
11 views

Convert Website to Webapps (HTML5 based) - Ubuntu-sdk

How are you today ?? I am working on ubuntu-sdk and found that Ubuntu--> Webapps , which we can use for converting websites into standalone application, does it mean that i can run the application on ...
0
votes
1answer
44 views

Not able to run Ubuntu touch in Ubuntu 14.04

I created a first project. And tried to run the application. But it showed following error. sent 960 bytes received 106 bytes 2.13K bytes/sec <br/> total size is 40.97K speedup is 38.44 ...
2
votes
1answer
23 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 ...
1
vote
1answer
27 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
26 views

Why does the Ubuntu SDK tell me, “do not use comma expression”, and what should I use instead?

So for example: onCurrentlyExpandedChanged: flickable.DragOverBounds, flickable.contentHeight += itemHeight,console.log(itemHeight) The commas will have a yellow underline, and the tooltip will ...
2
votes
1answer
24 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 ...
1
vote
0answers
17 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 ...
1
vote
1answer
59 views

Why am I getting the error “Cannot assign to non-existent property ”head"?

I'm actually on Trusty, and I want to try new "head" property which comes with API 14.10 of Ubuntu SDK. When I launch qmlscene to test my applicaton, I get this error : Cannot assign to ...
0
votes
0answers
9 views

How to connect a Button to FileDialog function in ubuntu sdk?

I've just started to deploy my first application for Ubuntu using QtCreator 3.1.1 based on Qt5.2.1 on Ubuntu 14.10.. I need to open some video files, so I'm going to put a Button to choose file ...
3
votes
0answers
55 views

(QML) Flickable not working as supposed

So, while building an Ubuntu app I needed to use Flickable for scrolling, so now I have code of the form Page{ ... Flickable { anchors.fill: parent content.height: element1.height + ...
1
vote
1answer
35 views

Prevent components from becoming transparent on a qml window

Here is the code for a transparent and frameless window in qml: import QtQuick 2.2 import QtQuick.Window 2.1 import Ubuntu.Components 0.1 Window { MouseArea { anchors.fill: parent ...
3
votes
1answer
79 views

Why can't I use the 14.10 development apis?

So I am developing an Ubuntu Touch app and I am running the devel (utopic) channel on my phone, but 14.04 on my PC. I've changed the manifest to use the 14.10 framework, but when I run it on my phone ...
1
vote
0answers
19 views

u1db index and query

Im writing a ubuntu touch app with u1db as db, but im getting troubles with query and index. Im saving a doc with sub-fields, but at retrieve point with index and query i wont get the expected ...
3
votes
0answers
37 views

Custom repository for “click” packages

For standard deb packages we can use reprepro. Is there any custom repository related solution for "click" packages?
2
votes
1answer
28 views

Get a rid of the header section in a qml app on Ubuntu SDK

It is possible to remove the header section in the MainView of an new qml app? Code: import QtQuick 2.0 import Ubuntu.Components 0.1 import "components" /*! \brief MainView with a Label and ...
1
vote
1answer
34 views

Where are the Build and Src locations for QtCreator?

In the QtCreator Plugin Creation Wizard, this http://doc.qt.digia.com/qtcreator-extending/images/firstplugin-pluginsetup.png window asks for Qt Creator Sources, and Qt Creator Build. I installed ...
2
votes
1answer
48 views

Ubuntu SDK: Provide your application identifier in $APP_ID environment variable

I'm getting familiar with Ubuntu SDK and QML. After creating sample project: 'App with Simple UI', I'm able to run it correctly. But, I'm getting warning: ...
1
vote
0answers
28 views

Simple voice chat over command line?

I will be using this for development. What I want is: No large proprietary blob overhead to accomplish this, like skype No account needed. So no skype account, no email, etc etc. Ability to run ...
1
vote
1answer
42 views

Pair Programming in Ubuntu SDK?

How do you do collaborative code editing, aka pair programming, in the Ubuntu SDK? I heard you can do this in Vim, and I wonder if the Vim functionality in QtCreator makes this possible.
1
vote
1answer
37 views

Cannot run the Unity 8 openclipart scope example

Following the instructions of this page, I have installed the Ubuntu SDK and downloaded the tutorials source code. The openclipart scope builds correctly, but I have a runtime error: $ ...
1
vote
1answer
19 views

Enable Ubuntu app for Cordova

I'm just trying to create Ubuntu cordova project. As I can see in the manual I should Import Cordova assets into your HTML5 app project source. Do this from the SDK with: Tools > Ubuntu > Add Cordova ...
1
vote
1answer
47 views

How can I store the value an user enters in a variable?

How can I store the value an user enters in a variable? For example I have this code TextField {width: 37; height: 19 var id: q1 ...
1
vote
1answer
32 views

QML what to use to store int numbers TextInput or TextField

What is good to use on a Ubuntu Phone app that needs 25 variables to get input that are int numbers. Text fields or text input. Right now I'm using text inputs to create the 25 ids that I'm going to ...
2
votes
0answers
30 views

Use Pictures for an Image object in QML for Ubuntu Touch

I'm trying to use an image file from the main Pictures directory (/home/phablet/Pictures) for an AnimatedIMage/Image object however it says error reading file. I've tried two paths already but neither ...
2
votes
1answer
32 views

QML can't insert text into TextInput

I have an TextInput box and I can't insert text into it, I have tried everything I knew but still I could not put text into it, or even delete a text I have put on it. Here is some of the code I ...
2
votes
1answer
46 views

How can I create in QML a table of TextInput boxes with background

How can I make a table with 6 rows 5 tables and 25 TextInput boxes, with background. I've tried almost everything to put an background to the TextInput boxes, but still I could not get it right. My ...
7
votes
1answer
123 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?
2
votes
1answer
34 views

how to resolve “TypeError: Cannot call method 'push' of null”

I'm a new qml programmer and I found my self in this problem that when I want to call a new page when clicked on a button it says: TypeError: Cannot call method 'push' of null I've tried everything ...
2
votes
1answer
40 views

how to change to next page when clicked on button

hi guys I'm new in qml programming and i was just wondering how can i switch to an other page when the user clicks on my button. by the way how can i make a new page in the ubuntu sdk so that when ...
0
votes
1answer
22 views

Why ubuntu SDK do not Highlight HTM code?

I just sterted with the ubuntu SDK, but, hell, the Highlight not even works! How can I make the Highlight to work like it should do, in the settings, the mimetype handler use a simple text file style ...
0
votes
0answers
6 views

In Ubuntu SDK, how do you search for text which include linebreaks?

If you ctrl+f in Ubuntu SDK to browse through your code, and you paste within the search box a multi-line piece of text, it will fail to find any results. Is there a way to get around this ...
0
votes
1answer
63 views

Ubuntu SDK: Template HTML5 app shows warning

I have created a new HTML5 app with the Ubuntu SDK, and whenever I click the Run button, I get the following output on the console: Setting import path to: ...
0
votes
0answers
14 views

Ubuntu Touch Tasks

I have installed the SDK for Ubuntu touch and the core-apps on my desktop. I love Tasks. However, the touch version on my tablet does not have the Trello capability. Can anyone tell me how I can get ...
0
votes
0answers
6 views

Porting App created using Ubuntu SDK onto an Embedded linux board

I have created an App using the Ubuntu SDK, which I want to port onto an embedded linux based device. The App uses QML and C++. How should I package the app for deployment taking into account the ...
0
votes
1answer
28 views

How to make a debian package from ubuntu SDK?

I have created an App using the Ubuntu SDK and now I can't find a way to package it. The documentation says the easiest way to do so is using the publish button located on the left bar in ubuntu SDK, ...
0
votes
2answers
46 views

how to publish c++ qt project in ubuntu app store

I doing a c++ qt5 commercial app for publishing in ubuntu app store, I installed ubuntu sdk to develop and publish it. My surprise was there is no button for publish it in ubuntu sdk, so I'm ask how ...
0
votes
0answers
23 views

How do I add C++ Source and Header Files to UbuntuSDK Project?

I am trying to add some C++ Code to an Ubuntu SDK Project which is (GUI) based in QML. Unfortunately I can't seem to understand how I am supposed to do this. Usually QTCreator allows me to right click ...
1
vote
1answer
54 views

Ubuntu SDK: QML with C++ recommended App Design Methodology

Are there documented general guidelines for mixing QML with C++ for ubuntu apps? "QML for UI design and C++ for logic" seems to be the trend. Is this the right way forward?
1
vote
1answer
43 views

Ubuntu SDK: How do I implement a “onClick” for an image in QML?

I have a background image for my page, and I want to implement a sort of page refresh when the background is clicked. However, I didn't find any actions for the image element in QT quick. What's the ...
1
vote
1answer
75 views

QML: Overriding a signal handler from other element

Is it possible to override an elements action (eg onTriggered() of a Timer) from within the onClick() of a button? Something like so-> Button { id: centerBtn ...
5
votes
0answers
185 views

Ubuntu volume control slider moves strangely

I have a really strange problem with the volume control of Ubuntu 14.04. When I move the slider it jumps from side to side and does not follow my mouse pointer. When I remove my mouse pointer from the ...
0
votes
1answer
33 views

How to manually download Ubuntu Touch Image for Ubuntu emulator?

When downloading Ubuntu images with the command below: ubuntu-emulator create instance_name The download process can be interrupted if you have a weak Internet connection. Therefore you will ...
2
votes
1answer
75 views

How to translate ListElement property with Ubuntu SDK

I have my fist Ubuntu Touch QML app running, and I am willing to translate it. Whenever I use a UI string in the qml files, I was careful to use i18n.tr("my text"). So now I need to generate the pot, ...
0
votes
1answer
32 views

Returning from Ubuntu SDK full screen mode [closed]

I have a little problem in switching back to normal mode with ubuntu-sdk IDE. esc doesn't work???
4
votes
1answer
55 views

How can I change the color of Ubuntu Touch ToolBar?

Here is my situation: Does anyone know how to change colour of the bottom toolbar?
1
vote
1answer
70 views

Qt Audio Engine not in Ubuntu SDK

I am using Ubuntu 14.04. I installed Ubuntu SDK with no problems using the instructions on Ubuntu website. I created a new QML project. I want to create an app that uses Qt Audio Engine. Here is my ...
3
votes
2answers
31 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
87 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 ...
0
votes
0answers
25 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?