Questions tagged [ubuntu-sdk]

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

Filter by
Sorted by
Tagged with
23 votes
3 answers
6k views

Is it possible to use Python with the Ubuntu SDK?

David Planella wrote in his answer to a question I posted that: ...the recommended way to develop apps for Ubuntu is the Ubuntu SDK. So I installed it, but looks like the supported programming ...
Zignd's user avatar
  • 10.8k
32 votes
1 answer
12k views

What are Click packages?

I noticed that Ubuntu SDK recently had some updates and it installed a program named "Click". I would like to know what they are and how to use them. Also, would they make Debian packaging easier?
Archisman Panigrahi's user avatar
3 votes
2 answers
1k views

How do I simply run an ubuntu touch app from the terminal?

I've got a qml file and I just want to ssh to the phone and do qmlscene myfile.qml Is it possible without doing all that stuff with SDK and packages? Just vim and some simple commands that can fit ...
Velkan's user avatar
  • 3,616
5 votes
2 answers
4k views

Saving user settings in QML/JS

I'm working on a small game and i'd like to know how can i write/read a user settings file in ubuntu touch?
Hairo's user avatar
  • 327
8 votes
2 answers
2k views

QtCreator error; can't load library; ProjectExplorer(2.6.82)

I try to install the new Ubuntu Phone SDK using the instructions here: http://developer.ubuntu.com/resources/app-developer-cookbook/mobile/currency-converter-phone-app/ Unfortunately when I run Qt-...
NoBugs's user avatar
  • 1,400
8 votes
1 answer
7k views

Can I develop a hybrid native/HTML5 app for the Ubuntu Phone?

Can I develop a hybrid app that was used in conjunction with the native API and HTML5 in Ubuntu phone? I know that it is possible to develop either native app or HTML5 app. However, I want to know ...
user1793335's user avatar
7 votes
2 answers
693 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 ...
lumenwrites's user avatar
3 votes
1 answer
2k views

Ubuntu SDK: Having difficulty getting images to work in 'QML only app' when deploying to armhf device

When I deploy my QML only program to the desktop using the Ubuntu SDK, images that I have placed in the same folder as Main.qml can be accessed and displayed correctly in the application using source: ...
pHeLiOn's user avatar
  • 1,778
1 vote
1 answer
1k 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 ...
Timur Fayzrakhmanov's user avatar
16 votes
2 answers
63k views

How to set app icon in the .desktop file of an Ubuntu Touch application?

I am learning the Ubuntu SDK, and I have make an new HTML5 Touch UI project with Qt Creator. The project folder has an .desktop file. I then added an launcher.png to my project's folder. Here is my ....
Voidcode's user avatar
  • 733
6 votes
1 answer
768 views

How to insert Video element in my Ubuntu application?

I saw on some sites that you can insert videos with the Video element by importing Qt 4.7 and QtMultimediaKit 1.1 . But I have an error by compiling the project (it's a tabbed touch UI project): (...
tuxtoriel's user avatar
  • 317
5 votes
0 answers
278 views

Ubuntu SDK: Newbie with security policy problem. Policy group 'debug': not for production use

I have just started with Ubuntu SDK. My first small app is a sound recorder. I got the app to work in Desktop Mode. When I switch to Ubuntu SDK for arm64 (gcc ubuntu-sdk 15.04-vivid) then the IDE ...
Osmo Antero's user avatar
5 votes
2 answers
1k 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 ...
David Planella's user avatar
5 votes
1 answer
2k 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?
lumenwrites's user avatar
5 votes
1 answer
1k 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 ...
50cent2513's user avatar
5 votes
1 answer
322 views

Ubuntu Touch Emulator on 16.10

What sort of dire sorcery is required to make the Ubuntu Touch emulator work? I enabled Hardware Visualization in my BIOS, followed various tutorials, reinstalled everything a couple of times and ...
NeoTheThird's user avatar
5 votes
2 answers
793 views

How To Use i18n.tr in Ubuntu Touch Projects

I have been using i18n.tr for a while in my Ubuntu-Touch projects. I know what this function is about but I don't know how to add a translation to my project. Where do I have to place my translation ...
George Sofianos's user avatar
4 votes
2 answers
671 views

How to install Ubuntu sdk on ubuntu touch?

I bought a BQ M10 Ubuntu Edition. I want to use that device also as notebook and i want to develop ubuntu apps with the device. The problem is, that there is not ubuntu sdk IDE program installed on ...
JOnathanJOnes's user avatar
4 votes
1 answer
2k 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 ...
Randy_O's user avatar
  • 430
4 votes
1 answer
697 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?
lumenwrites's user avatar
3 votes
2 answers
304 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 ...
David Planella's user avatar
3 votes
0 answers
183 views

FreshBooks Online Account

I'm developing an application that connects to FreshBook's API. I can either integrate the account authentication process within my application, or I can develop an Online Account that could be used ...
Jonah's user avatar
  • 563
3 votes
1 answer
1k views

Add image files in Ubuntu QML app with C++ plugins (qrc)

I'm writing an Ubuntu QML (phone) App with C++ plugins using ubuntu-sdk. My app includes a png image and in order to include the image in the binary (so it shows on the phone) I have created a qrc ...
koukouviou's user avatar
3 votes
1 answer
454 views

Problems creating click chroot for 14.10 [closed]

I'm running 15.04 - trying to create a click chroot for 14.10 armhf: works with 14.04, 15.04 but fails with 14.10. Is 14.10 removed? outpout as follows: rp@rp-XPS:~$ click framework list ubuntu-sdk-...
rene paulokat's user avatar
3 votes
1 answer
3k 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 ...
Diogo Figueira's user avatar
2 votes
1 answer
234 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 ...
lumenwrites's user avatar
2 votes
1 answer
2k views

unable to run ubuntu sdk cannot access lxd server

I have installed ubuntu-sdk and i am trying to run it but it says "The current user can not access the LXD server which is required for the Ubuntu SDK. Make sure the user is part of the lxd group and ...
Jeevansai Jinne's user avatar
2 votes
1 answer
392 views

Ubuntu Touch App with Simple UI (QMake) - how to connect C++ to QML

I've noticed that the Ubuntu SDK now has a template for an 'App with Simple UI (QMake)'. This creates a C++ Ubuntu application project with a sample UI containing a Label and a Button (Needs a 15.04 ...
RudderDuck's user avatar
2 votes
1 answer
756 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?
Sylvain Pineau's user avatar
2 votes
2 answers
1k views

unmet dependencies, I can't install ubuntu-sdk [duplicate]

I have been trying to install the ubuntu developer environment so that I may begin gaining practice in app development. But once I try to install ubuntu-sdk I get the following error: The following ...
HaveYouMetRandy's user avatar
2 votes
1 answer
173 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 ...
user1173805's user avatar
2 votes
2 answers
2k views

QML app with C++ plugin (cmake) adding resource file

How to add qrc file to "QML app with C++ plugin (cmake)" project ? I can't find a working instruction. I found only one thing, add this to CMakeLists.txt: qt5_add_resources(RESOURCES modules/...
leouss4dev's user avatar
2 votes
2 answers
4k views

Qt5 font rendering in Ubuntu 13.04

My fonts in general within QtCreator inside Ubuntu 13.04 looks 'ugly' when compared to how they looked in 12.10. 12.10 still used Qt4, so did something regarding the font rendering in Qt5 and the ...
Letholdrus's user avatar
1 vote
1 answer
7k 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 ...
Diogo Figueira's user avatar
1 vote
1 answer
2k 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 non-...
Debaru's user avatar
  • 23
1 vote
1 answer
1k 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 ...
user2544014's user avatar
1 vote
1 answer
2k views

Get Qt WebKit HTML Content in QML

My application is built with QML (Ubuntu SDK), and I need to get the HTML content from a page loaded with a Qt WebView after the page is loaded. Based on some initial research, it would appear that ...
Jonah's user avatar
  • 563
1 vote
2 answers
877 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"> #...
Jonaszhang's user avatar
1 vote
0 answers
355 views

ubuntu-sdk mkspec

I followed instructions in Ubuntu SDK to install the IDE. No problem. I can write an app and run it in the desktop, but not in my Ubuntu BQ 4.5. The kit is wrong and several errors appear: "Mkspec not ...
aimar's user avatar
  • 151
1 vote
1 answer
23k views

How to solve [Errno 30] Read-only file system

I'm new to this forum, and this is my first question: I bought the meizu MX4 ubuntu edition today. I would like to install Ubuntu SDK. I tried to follow this walkthrough: https://developer.ubuntu....
Erik Groningen's user avatar
1 vote
1 answer
61 views

How can I pin the toolbar so that it remains revealed?

An always-revealed toolbar would be more suitable for a pointer-driven interface. How, using the Ubuntu SDK, can I set the toolbar to be (and remain) revealed?
lazyteq's user avatar
  • 137
0 votes
2 answers
1k views

While installing Android Emulator (SDK) I am having an issue with the /opt directory

While installing the Android Emulator (SDK) by following this tutorial and applying these commands: $ cd /opt $ wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz $ sudo tar -zxvf ...
Inigo Montoya's user avatar
0 votes
1 answer
151 views

Why are the Ubuntu SDK Publish and Devices tab blank?

I have a clean install of Ubuntu 14.04, installed the Ubuntu SDK, and created an app from the "HTML5 App" template. Publish tab: Devices tab:
Mark Raymond's user avatar
0 votes
1 answer
1k views

File storage location for ubuntu application

In my application I plan to store files locally ( exported files ) and import files which user copy via USB to the disk. Where to locate such application files ? Is there some recomendation ?
user262898's user avatar
  • 2,031
0 votes
2 answers
468 views

There was some errors creating kit(armhf)

Ubuntu SDK has been installed successfully. but when I try to create a device kit for the armhf architecture (with framework-15.04) some errors occur during the Run Click, Screenshots of errors I ...
Deactivated's user avatar