1
vote
1answer
86 views

emit signal with custom type objects array parameter from c++ and receive in qml

I would like to emit a signal from a Qt C++ class which includes a parameter that is an array of custom objects (inherited from QObject) and receive the parameter in its qml slot, but i'm afraid it is ...
2
votes
2answers
201 views

QML Qt 5.2 problem with mp4 video

I have qt 5.2(ubuntu sdk) installed on Ubuntu 14.04 When I try to run QML code: MediaPlayer { id: mediaPlayer source: "../path/test.mp4" autoPlay: true } VideoOutput { id: video ...
3
votes
2answers
563 views

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.
1
vote
0answers
40 views

Cannot import directory path to qmlscene

I am trying to import directory in QML as explained, here: http://qt-project.org/doc/qt-5.0/qtqml/qtqml-syntax-directoryimports.html. I have the following ubuntu-app | - extras1 | - extras2 | - ...
2
votes
1answer
110 views

Why wouldn't sound be heard on the phone when it works on the desktop with an Ubuntu Touch app?

I have an Ubuntu Touch application in the works. The application needs to playback sound. I've used QtMultimedia from C++ for sound playback. The sound plays fine on PC but not on the phone. The odd ...
2
votes
1answer
167 views

How do I add a qrc file to my Ubuntu Touch qml project?

My UT QML project makes use of a set of images, and I was planning use them via "qrc:///pathtoimages/myimage.png" style of url. In Ubuntu SDK, I can "add new... Qt / Qt Resource File". The file is ...
1
vote
0answers
63 views

Is signal handling in QtQuick asynchronous? [closed]

I have the following QML document: Item { id: item MouseArea { onClicked: { /* emit signal */ item.someSignal(); } } ... } When I click the item, ...
2
votes
0answers
165 views

Puzzle Game QML GridView Animation Problems

I've been working on a puzzle game for Ubuntu Touch and I'm facing some issues with animations. The problem seems to occurs when GridView animations (add, move, remove...) play too fast. Something ...
2
votes
0answers
230 views

Develop in C/C++ for Qt Ubuntu Touch projects

as said in the question I want to develop the code in C or C++ for my Ubuntu apps. I don't feel confortable in Javascript at all, and when I try to create a C or C++ file the IDE returns me Failed ...
1
vote
2answers
215 views

Where are Tutorials and is it QML or QT

Hi there my question is that where can i find any good QML tutorials for Ubuntu phone app developing (I've seen the developer.ubuntu.com site but still thats not enough) and witch of the 2 languages ...
0
votes
1answer
95 views

Can someone help me port a gameboy emulator to ubuntu touch?

How can I translate a Qt (c++) gameboy emulator to a qml ubuntu touch emulator? Any suggestions would be much appreciated...
2
votes
2answers
236 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 ...
0
votes
1answer
79 views

Qt Creator reverted back to some previous version

I've had Qt Creator on my machine for quite a while, and after adding the necessary PPAs, I could use it for Ubuntu Touch, the Ubuntu SDK being installed and all. Yesterday, i noticed that Qt had been ...
0
votes
0answers
105 views

Qt Creator has disabled Build -> Run command

Today I've installed Ubuntu SDK by following installation step on Ubuntu developer site. After that I created a new Ubuntu > Simple Touch UI project. Project creation was successful, but when I tried ...
0
votes
2answers
877 views

QT code for U Touch returns `qmlscene: cannot find qt installation of ''`

I'm trying to start developing for Ubuntu and Ubuntu phone, but I get an error: qmlscene: cannot find qt installation of '' when I attempt to run my application in Ubuntu from the command line. I'm ...
1
vote
0answers
54 views

Behavior on listView

I need to scroll an element of a ListView to bottom when user clicks on it, with an animation. I want to use Behavior for the animation, but I do something wrong. I have no problem with the scroll ...
0
votes
1answer
222 views

no ubuntu touch templates in qt 5.0.2

I have been using qt for some time now (lastly Qt 4.8), writing some desktop apps. Now I wanted to try doing something on ubuntu touch and so I installed the Ubuntu SDK. What I did was uninstall my ...
2
votes
1answer
93 views

db.changeVersion doesn't work as expected

I'm trying to upgrade a DB in an app. I use QtQuick.LocalStorage 2.0. When I call db.changeVersion it works, but db.version doesn't change until app restarts. db.changeVersion(db.version, "2", ...
2
votes
1answer
806 views

Problem with QtCreator after update

I installed the ubuntu-sdk 2 days back on my machine (12.04) and the Qt version that is installed is 5.0.2. Everything was working perfectly, but today there were some updates from the ...
3
votes
1answer
375 views

Does Ubuntu Phone APIs include Qt Mobility?

I'm currently developping an application for Meego/Harmattan. This app uses Qt Mobility API, and can easily be ported to SailfishOS. I would like to know if this API is also supported in Ubuntu Phone ...
6
votes
2answers
1k views

How to pass the image preview from the QML Camera component to a C++ plugin

I'm writing an Ubuntu Touch QML app that captures and processes images from a camera device. The processing is done by a C++ plugin to which I'm passing the URL of the image. I can successfully save ...
0
votes
1answer
239 views

Ubuntu Touch SDK problems

I have installed the Ubuntu touch SDK the way it is advised on the Ubuntu dev website (with sudo apt-get install ubuntu). I'm using Ubuntu 13.04. The problems/symptoms are the following : When I ...
0
votes
2answers
269 views

Grid view at Ubuntu touch - How to use it?

In article about content views is a part about a Grid view. But I didn't found anywhere how to use it. Do you knew something about it? Tahnks for answer!
1
vote
2answers
77 views

ListView doesn't appear

I'm working at app for ubuntu touch. I have a code with listView in it. But when I run it the page is simply empty (tehre is a title and a tabs switcher). Where is the mistake? import QtQuick 2.0 ...
1
vote
1answer
431 views

Ubuntu touch tools

I'm doing a porting exercise to port an application from Ubuntu to Ubuntu Touch. The application uses gcc 4.1.2, CMake 2.6.4, binutils 2.22. Q1. What tools are needed for setting up a Ubuntu Touch ...
18
votes
3answers
11k views

Why is canonical choosing QT over GTK for Unity's next generation?

So much has been written that I'm kinf of confused, but if I'm not mistaken Canonical is building the next generation of Unity for mobile devices with Qt, and in the near future the desktop will also ...
2
votes
2answers
1k views

Ubuntu Touch app with c++ core and QML interface. How to create?

How to create Ubuntu Touch application with c++ core? In examples I see only pure QML apps.
2
votes
1answer
295 views

How to parse text messages on Ubuntu Touch

Hi I want to be able to parse text messages on Ubuntu Touch for a specific key word. I understand how to do it on Android, but it is looking like this is very different than on Ubuntu Touch. ...
3
votes
1answer
196 views

What is the fundamental GUI library for Ubuntu starting with 12.04?

I have started exploring deeply into doing development for the Ubuntu phone. In the past, and having used stock Ubuntu, I always found that GTK was the standard GUI library. But now, with the phone ...
5
votes
2answers
2k views

QtCreator plugins and templates missing

I just downloaded the Ubuntu phone SDK and QT creator according to the instructions. When I fire up QTCreator, I get a screen as shown If I ignore this message and hit continue, there are no ...
6
votes
3answers
2k views

Problems with QML Tool Kit Installation: “unmet dependencies: qt-components-ubuntu: … ”

I am following the directions on the page for Ubuntu App Development: http://developer.ubuntu.com/get-started/gomobile/ Command 1: sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-beta1 ...
-1
votes
1answer
125 views

Is there any plan to merge `qt-components-ubuntu` into official QT/QML?

Is there any plan to merge qt-components-ubuntu into official QT/QML? Is it ongoing already? It's quite sad that ubuntu forked qt. I want to use qml to build a desktop app, and widgets introduced in ...
8
votes
4answers
6k views

“QtQuick version 2.0 is not installed” while trying to run CurrencyConverter Example for Ubuntu Phone

I was following the step-by-step guide on how to develop an Ubuntu Phone application but Qt Creator throughs the error message (module "QtQuick" version 2.0 is not installed) when I run it with ...