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

1
vote
1answer
21 views

In Ubuntu SDK, I can't test apps on my Nexus phone (Server Rejected Key)

I just made my first webapp for Ubuntu Touch with the Ubuntu SDK. If I test using deploy locally, it works fine. If I test on my device, it returns me : "-1: error: Could not connect to host: Server ...
2
votes
1answer
34 views

What does the head: property do on Page{} in qml?

I have an app that I am trying to get the toolbar in the header to work. In the documentation I've noticed a property called head that seems to create and add items to the header toolbar. What is the ...
0
votes
0answers
13 views

How do I use the “QML Extension Library + Tabbed UI” option in the Ubuntu SDK?

Is there a tutorial for using the Extension Library project type? I haven't touched C++ in a long time, and I'm completely new to QT. I'm not looking for anything complex, just something like ...
1
vote
1answer
30 views

(QML) What does the “?” do in defining properties?

Popey { working: visible ? 100 } What does that "?" indicate in this example?
0
votes
0answers
15 views

Anybody know how to delete a file from QML without resorting to a C++ plugin?

Anybody know how to delete a file from QML without resorting to a C++ plugin? It should be possible to do in the folder that my app uses for data storage.
1
vote
1answer
62 views

Should we be upgrading away from ubuntu.components 0.1?

Should we be upgrading away from ubuntu.components 0.1 in our ubuntu applications? I am working on one of the core apps, and many were unsure as to whether the current library (1.1 I think) offers ...
1
vote
0answers
13 views

In the Ubuntu SDK, is there a way to view all global variables in current project?

In the Ubuntu SDK, is there a way to view all global variables in current project? Working on one of the core apps, and I want to figure out if any global variables have been defined for the current ...
0
votes
0answers
13 views

(QML) Which components do I want to invoke for notifcations and dialogues on Ubuntu Touch?

Now of course I can make any sort of notification or dialogue I want. However, I want to know what the Ubuntu Style guide recommends for notifications and dialogues. A notifcation could be: Song ...
0
votes
1answer
22 views

unable to install ubuntu-sdk

qtcreator-plugin-ubuntu: Depends: libgcc1 (>= 1:4.1.1) but 1:4.9-20140406-0ubuntu1 is to be installed Depends: libqt5core5a (>= 5.2.0) but 5.2.1+dfsg-1ubuntu14.2 is to ...
7
votes
0answers
114 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
20 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
66 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
32 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
32 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
30 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
29 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 ...
3
votes
0answers
34 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
84 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
11 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
65 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
40 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
88 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
1answer
23 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
40 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
34 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
43 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
70 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
34 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
43 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
43 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
20 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
50 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
46 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
36 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
33 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
52 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
2answers
162 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
50 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
84 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
15 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
8 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
30 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
54 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
26 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
68 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
48 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
88 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 ...