Tagged Questions

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
0answers
19 views

Ubuntu QML Alarm not working properly

I've been trying to create a simple app capable of setting system alarm. But although I can see the set alarm at correct time in the event list under my clock indicator (on desktop), it doesn't notify ...
2
votes
0answers
16 views

Unity 8 scopes: changing the card color has no effect

The example scope that comes with the ubuntu-sdk implements a client for the OpenWeatherMap API. If I specify "card-background" in the category renderer template (because I want to have background ...
3
votes
0answers
33 views

Documentation / guides for offline ubuntu phone scopes

I've been working on an Ubuntu phone scope that is NOT connecting to the internet, it is retrieving local results. I am having difficulty, which is mostly due to not having a guide for how to write a ...
1
vote
1answer
14 views

Error in Ubuntu SDK while writing an app for 14.10

On my PC I run Ubuntu 14.04 and I try to write an app for my Nexus 4 with Ubuntu 14.10. So i created a kit for 14.10 with i386-architecture. When I create a new Project there is a red line under the ...
0
votes
1answer
20 views

Ubuntu Touch: How can I debug ubuntu touch apps on the device? [duplicate]

My app works well on desktop but I can't figure out why does it crash on my nexus 7. How can I debug it while it runs on the device?
1
vote
1answer
29 views

Ubuntu Touch: How do I run an ubuntu touch app from the terminal?

How do I run an ubuntu touch app from the terminal? Where are they stored?
0
votes
0answers
12 views

Ubuntu SDK, Ubuntu Touch: Disable automaticOrientation for one element?

I am building an Ubuntu Touch app. Option "automaticOrientation: true" rotates the whole interface, but I need one element to stay in place and ignore it. Is this possible?
0
votes
0answers
12 views

Ubuntu sdk-cannot create click package and cannot create emulator

I have been trying to create a click package in the Ubuntu sdk however I am unable to do so.The reason is because the "click" column in the publish tab is missing.I only have the validate column... ...
1
vote
1answer
17 views

Ubuntu SDK, Ubuntu touch app: “Error: Error opening shm.”

I am building an app for Ubuntu Touch. It works well on desktop, but when I try to open it on nexus it starts opening a splash screen but immediately crashes. Here's the logs: t_shm() at ...
3
votes
2answers
30 views

Ubuntu SDK: How can I see error logs for my ubuntu touch app?

I've built an ubuntu touch app, it works well on desktop, but when I install it on the device and try to launch, it crashes. Where can I find error logs or any other output that the app can give me to ...
1
vote
0answers
12 views

Ubuntu SDK, QML: how do I create a vertical slider?

I am trying to create a vertical slider: http://developer.ubuntu.com/api/qml/current/Ubuntu.Components.Slider/ How can I do that? Just rotating it doesn't seem like a good idea, it messes up anchors ...
0
votes
0answers
16 views

Cannot launch app in Ubuntu Device

I have just installed the Ubuntu SDK on an Ubuntu 14.10 system (a virtual 32-bit install). I have also installed Ubuntu Touch on a 2013 Nexus 7. The device is seen by the host and the device is ...
0
votes
0answers
26 views

Unable to install `ubuntu-sdk` because of unmet dependencies

I've just upgraded to Ubuntu 14.10 from 14.04 because I wanted to be able to use the newest version of the ubuntu-sdk packages. However when I try to install it after adding the ppa with sudo ...
1
vote
0answers
10 views

Ubuntu-sdk apps on other distros

So I have just made my first Ubuntu sdk application in QML. I wonder,on a scale from 1-10 how friendly is the Ubuntu SDK to other Linux distributions? How much possible is it to run the apps I create ...
2
votes
1answer
28 views

Ubuntu SDK, how do I create a tree view in QML?

I have json data that defines comments that have children. I am trying to display nested comments(like in hackernews or reddit) in my app. What is the best way to go about doing it?
0
votes
0answers
22 views

Ubuntu SDK - how to use the new header? [duplicate]

I want to use the new header features that are described here, but I can not find any documentation. Where can I find a QML example of using it?
6
votes
1answer
64 views

What's the difference between OptionSelector and ItemSelector?

When writing an app for Ubuntu, it seems I can interchangeably use the ItemSelector or OptionSelector components. In which situation should I use each one of those? What's their main difference that ...
1
vote
1answer
69 views

Cannot build unity scope from qt creator

I am trying to do the unity scope tutorial from ubuntu developer's site. I follow the following steps Create new project (unity scope) Set name and directory parameters As kit i choose i386 ubuntu ...
3
votes
0answers
19 views

How can I use emacs instead of Ubuntu SDK to write Ubuntu Touch Apps?

I want to use emacs and console tools instead of Ubuntu SDK to edit and debug my projects. Where can I learn about doing that?
0
votes
0answers
10 views

Best resources(books/articles/videos) for a new Ubuntu Touch app developer? [duplicate]

I am new to Ubuntu Touch and Qt, and I want to master developing applications for it. I want to start quickly, and then learn it in depth. What are the best books for me to read? Can you outline the ...
2
votes
1answer
60 views

How to get data from REST API with QML (for ubuntu touch app)?

I am trying to use firebase REST API and to get some data into my ubuntu touch app. Can you give me some pointers on how could I go about doing that?
2
votes
1answer
17 views

Ubuntu SDK. error: “Kit autocreation for error is not supported”

I am using ubuntu sdk, and I am trying to create Kit for my device. I'm opening the tab "Devices" and clicking "Autocreate", and I'm getting an error: "Kit autocreation for error is not supported". Do ...
1
vote
1answer
57 views

Will I be able to develop apps for ubuntu touch with python?

I want to learn to develop apps for ubuntu touch, and I want to do that with python. So far SDK doesn't seem to support it. Will it support python in the future? Can I start developing apps with ...
0
votes
1answer
31 views

Deploy Webapp Locally with Ubuntu SDK

I'm not much of a developer, but I was looking to create my own webapps for a couple websites I use. I installed the Ubuntu SDK (14.04) and created a webapp project for the site I want to use. I can ...
0
votes
0answers
29 views

Ubuntu Touch Qt3D 2.0 crashes on start

I've been trying to develop something in QML3D and while my app is running well on desktop, I can't get it working on my tablet (even thought for example Qt3D cylinder from the software center - ...
2
votes
0answers
45 views

How can I detect screen rotation with QML

I've been trying to create a Ubuntu QML application, but when I rotate my screen while it is running on my tablet, the header is semitransparent and the content below is exceeding the screen's height ...
-1
votes
0answers
20 views

Preparing the ambient for ubuntu touch developing [duplicate]

What are happening? I can not compile to test my application. And I don't find the solution in web ;^; warning: lint_maintainer_domain: email=[email protected] matches special ...
5
votes
1answer
76 views

How do I get my QML program to utilize Unity7 notifications? Is there an API I can use?

I am developing a screenshot application in QML, and I wish to utilize Unity 7 notifications, similar to what Rhythmbox uses when notifying a user that a new song has started, or when the volume is ...
0
votes
0answers
12 views

How do I Resolve a dependency issue with Ubuntu SDK, chroot, CMakelists, and the Emulator?

I am trying to build lp:ubuntu-filemanager-app on the ubuntu sdk for running on the emulator. The libraries I need are installed on my system, and in the phablet-shell. I can run the application in ...
2
votes
0answers
23 views

Is there a Bool or Flag you can use in QML to determine whether a phone is running the application?

For example: Text { text: isPhone ? "this application is running on a phone" : "this application is not running on a phone" }
1
vote
2answers
42 views

What is the objectName: property in QML, why is it needed, and how is it different than the id: property?

What is the objectName: property in QML? Which components have this property? Why is it needed? How is it different than the id: property? Why can't I just use the id: property instead?
0
votes
0answers
28 views

Ubuntu SDK content window always on top

Just getting started with the Ubuntu SDK, trying to get everything set up, and I'm running into a graphics bug that I can't find a resolution to, or even anyone else who seems to have the same ...
0
votes
0answers
127 views

Incorrect display of Ubuntu Emulator (SDK)

I've installed ubuntu-sdk and created i386 instance of Ubuntu Touch image (ubuntu-emulator create myname --arch=i386). After I run it by ubuntu-emulator run myname and everytime I get the following: ...
0
votes
1answer
21 views

Is the Ubuntu SDK suitable for desktop applications?

I'm interested in writing me first application for Ubuntu. I think using the Ubuntu SDK maybe the correct way. However, I'd like to confirm that the assumption to use the Ubuntu SDK is the best ...
0
votes
1answer
21 views

How to change the font style of a ListItem?

In my Ubuntu Touch application, I have a list of items and I would like to highlight some of them by making the text appear in bold (think of unread messages in a mail client). Looking at the ...
0
votes
0answers
14 views

Does it matter if the emulator is arm or i386 if I want to run apps on it from the sdk?

Does it matter if the emulator is arm or i386 if I want to run apps on it from the sdk? I am having troubles getting apps to run on the emulator.
2
votes
1answer
88 views

Ubuntu 14.04.1 and unmet dependencies for ubuntu sdk. Use Qt Creator instead [duplicate]

I'm trying to install Ubuntu SDK, but get the same problem like here (first, second). The promoted solution like this doesn't help me either ( The following packages have unmet dependencies: ...
0
votes
0answers
46 views

If I want to test apps on the phone emulator, what kind of emulator do I have to build?

It recomends either i386, but there is an arm version as well; what is the difference? I tried running my app on the i386, but I got this error: 20:31:27: Running steps for project ...
2
votes
1answer
65 views

Error while deploying HTML5 app with Ubuntu SDK

I got this error message while deploying a HTML5 app with UbuntuSDK. Can anyone help me? :-1: warning: desktop_Exec (vp99): found unexpected Exec with architecture 'all': ./qtc_device_debughelper.py ...
1
vote
1answer
165 views

Ubuntu App Development. Unable to install Ubuntu SDK and buggy Ubuntu emulator

Hello I have installed Ubuntu 14.04.1 and I have no more patience to struggle with my problem. I can't install ubuntu-sdk package: Some packages could not be installed. This may mean that you have ...
2
votes
1answer
21 views

How do open a link with a button

I would like to click a button in my QML app and have it open a link in the browser on the device.
1
vote
1answer
30 views

How do you determine the combined width of the components in a Row {}?

How do you determine the combined width of the components in a Row {}? The width of the row itself will not work, as I need to set its spacing:, and using this property will create a loop error. It ...
1
vote
1answer
59 views

How do you round numbers in qml to two decimal places?

I have these ridiculously long real numbers such as 33.088117576394794, and I am trying to convert them to doubles (Two decimal places). So in this case, I want 33.09. How do you do this in QML?
3
votes
1answer
437 views

How to create charts in QML?

I'd like to add to my application a page with not only raw figures but also eye friendly charts to display data. Is there a native component or a third-party plugin I could use to create such ...
0
votes
1answer
38 views

Can't run Ubuntu core app from IDE on the device

I have installed Ubuntu-SDK and added my Nexus 4 with flashed Ubuntu as a device. The device is shown as online and I can run a "Hello world" app created by clicking "File" -> "New file or project". ...
2
votes
1answer
48 views

Ubuntu emulator passphrase

I started Ubuntu emulator from Ubuntu SDK for the first time and it's asking me about passphrase. What am I supposed to enter?
0
votes
0answers
9 views

Page Stack Component Depth to always remain visible?

Is this possible? Say you have a depth of 5 tabs, They appear and disappear as you click the header. I want them to always remain visible.
1
vote
1answer
41 views

Can you do dictionaries in qml?

So for example: Item { id: sylvainLikesAnsweringMyQuestions property var myDict: {[key,value],[anotherKey,anotherValue]} }
4
votes
2answers
113 views

How do you check if a property is undefined in qml?

How do you check if a property is undefined in qml? This is what I am trying to do: Button { id: myButton text: if (text === "undefined"){"default text"} }
2
votes
1answer
36 views

How to make sure a Row {} or Column {} does not contract when an item's visible: property is set to false?

This is a question about good coding practice with QML: How can I make sure that a Row {} or Column {} does not contract when one of its Item's visible: property is set to false? The current work ...