All questions related to the QML programming language. QML (Qt Markup Language) is a declarative, JavaScript-like language to create intuitive and responsive user interfaces for applications that can run in multiple devices, platforms and form factors. Learn more about it ...

learn more… | top users | synonyms

1
vote
2answers
157 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 ...
5
votes
1answer
264 views

How to use Arguments in QML without getting qmlscene arguments

I'm trying to write a QML application to be launched by qmlscene. I want this to accept arguments, so I'm using the Arguments object. However, this gets the arguments passed to qmlscene as well as ...
3
votes
1answer
220 views

How to get QML syntax highlighting in gedit?

QML files opened with gedit don't have syntax highlighting. Is there a package providing a gtksourceview lang.spec file for QML? If not, has anyone written a lang.spec than can be installed locally?
2
votes
1answer
265 views

(QML) Scroll multiple listviews

Is possible to scroll multiple Listviews together in qml?? this was my attempt: Flickable { id: scoreflick anchors.top: namesrow.bottom anchors.left: ...
2
votes
1answer
281 views

Update grayed out (Xorg X server — QXL display driver)

I've been ignoring this issue for a while since it didn't effect anything on my system. But its annoying to watch this one little update graded out while the rest of the updates get installed. Any ...
1
vote
1answer
29 views

QML PageStack , communication between Pages - return values

I defined PageStack only on master page (a.qml) : import QtQuick 2.0 import Ubuntu.Components 0.1 MainView { width: units.gu(48) height: units.gu(60) PageStack { id: pageStack ...
1
vote
1answer
41 views

Internationalization of QML application using i18n

Does someone know all the steps needed to have the apps translated in multiple languages? I am using in my QML files i18n.tr() , and such words I need to translate I performed below steps ( ...
1
vote
1answer
281 views

Extend existing QML Component from C++ plugin

First of all, I would like to say that I'm not very experienced in Qt, but I would like to include a new feature in existing QML WebView component to set a list of header values, included User Agent ...
1
vote
1answer
91 views

How do I install QtTest for the Ubuntu SDK?

When I select "Build -> Ubuntu Touch -> Create Application Package" in the Ubuntu SDK, the build fails with the error "FAIL! : qmltestrunner::tst_hellocomponent::compile() module "QtTest" is not ...
0
votes
1answer
56 views

Ubuntu SDK open file dialog

I've started playing with the SDK to start developing an application. The application will be something that will allow me to filter records in an CSV file by a search term. But does a file dialog ...
0
votes
1answer
109 views

Qt sdk for ubuntu development creating 3 Qml2puppet upon design mode

When I create a project in Qt Creator 2.7.1 on Ubuntu 13.04 64bit the project is all fine. But when I enter the design mode on the left side menu, then there are 3 instances of Qml2puppet appearing on ...
0
votes
1answer
175 views

Receiving drag events in a WebView in a QML application

I'm working on an app using QML and the Ubuntu SDK. One of the Pages contains a WebView. While the WebView receives click events just fine, it doesn't receive drag events, as I would like it to. I ...
0
votes
1answer
93 views

How can I get user/system information in a QML mobile app?

In this specific case, I'd like to use the full name of the currently logged-in user in a QML app (not the logname). As far as I found out, system calls can not yet be used (and would not be an ...
0
votes
1answer
190 views

How to use Ubuntu QML Dialog or other Popup without any buttons?

I am trying to make a modal popup where all there is is a progress bar, and when the progress bar is full it automatically closes, Dialog and the other popups don't seem to even show unless you set ...
0
votes
1answer
36 views

Clickable emails in Label

In my app (ite-missa-est) and in the sudoku-app we are wondering how to make an email clickable as a URL link is. In a label the code for a link is: Label { //TRANSLATORS: here is the ...
3
votes
0answers
156 views

How to access geolocation information on Ubuntu Touch?

It's strangely hard to find any documentation on accessing geolocation information for Ubuntu Touch specifically and even Qt5 more generally. The Qt Mobility APIs provided this in Qt4, and they seem ...
3
votes
0answers
153 views

QML app icon not effective when called from app.setWindowIcon()

I've a Qt5/QML hybrid app built with Ubuntu Touch SDK. I'm trying to set the app icon for it, but without success. Code looks like this: int main(int argc, char *argv[]) { QApplication app(argc, ...
3
votes
0answers
160 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 ...
2
votes
0answers
32 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. Here is a starter: import QtQuick 2.0 import Ubuntu.Components 0.1 import ...
2
votes
0answers
121 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
28 views

How does the Ubuntu SDK handle accessibility?

How do I design an application in the Ubuntu SDK so that it integrates with assistive technology such as screen readers?
2
votes
0answers
55 views

Design standard for “About” and “Options”

I have seen that in many Ubuntu Touch projects that the way to do "options" (or "settings") and "about" is done with a Tab. Is that good for the design guideline of Ubuntu Touch? Is there a standard? ...
2
votes
0answers
123 views

How to collapse and expand a ListItem.Standard

For the app I am developing I would like to have a list with sections that I can collapse or expand. The item in the sections can be clicked and open a DefaultSheet. So, for example in the "Ubuntu UI ...
1
vote
0answers
16 views

Publish a QML/C++ application as a click package

I've written an application which I would like to publish as click package. All the guides and prepared projects mention plain QML applications only. My application furthermore depends on a shared ...
1
vote
0answers
18 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 | - ...
1
vote
0answers
65 views

How can I populate ListItem.ValueSelector with values from model

could you tell me How can I populate ListItem.ValueSelector with values from a ListModel? I can populate a list with fixed values ("X 1", "X 2", "X 3"), like this: ListModel { id: contactmodel ...
1
vote
0answers
261 views

Not getting output for CurrencyConverter standard app

I am running the Ubuntu 12.04.2 LTS version on my system and have also installed the Ubuntu SDK as instructed in: http://developer.ubuntu.com/get-started/gomobile/#step-get-toolkit Also, I have ...
0
votes
0answers
17 views

Import libraries in Ubuntu SDK

I am very new to QML, Qt and the like. I want to add a library (e.g. http://sourceforge.net/p/qzxing/wiki/Home/) for a "Ubuntu -> Simple UI" project. However, I cannot figure out how. The instructions ...
0
votes
0answers
32 views

How to get audio input from Ubuntu touch device?

How can I get the audio input in a simple touch ui app in ubuntu touch? Thanks in advance, Boaz
0
votes
0answers
144 views

QML: TextArea within the listItem elemtn on listview does not have scroll bar and text area contents are lost

I am having a TextArea within the listItem element and I have fixed the TextArea height. When the listview is displayed, TextArea within each row, does not have a scroll. Hence TextArea shows ...
0
votes
0answers
140 views

Access microphone/record sound from QML?

I'm afraid that the answer is to write a plugin in C++, but I'm wondering if there is a way to access the microphone from QML. There is a way to take pictures, record video, and play media all using ...
0
votes
0answers
64 views

How do I detect the presence of a mouse or touchpad?

How can the presence of a mouse or touchpad (pointer device in general) be detected using the Ubuntu SDK? This would be useful for presenting a more suitable interface for use with a pointer device. ...
0
votes
0answers
121 views

Ubuntu SDK: Set webview to an mobil-header

I just begun to lean the beta-Ubuntu-SDK. I has an WebView. I need to show the mobil version of the site in this webview. But how can I changes the browser-header? WebView { id: ...
0
votes
0answers
199 views

Can't find QtCreator's Examples

I'm trying to integrate c++ into Qml app, But i can't find the example's in the IDE. When i choose example from the welcome screen , I get empty list , I've installed the IDE as explained in ubuntu ...
0
votes
0answers
53 views

Change tab from code using ubuntu SDK

How to change tab using code in QML in Ubuntu SDK? The answer is: If tabs are defined as follows: Tabs { id: tabs ..... } then using this: tabs.selectedTabIndex = 0 will get ...
0
votes
0answers
211 views

QML Page: Binding loop detected for property “flickable”

On my app (ite-missa-est) I have few tabs. In my ite-missa-est.qml, I call a *.qml file to do my tab like that: Tab { objectName: "Tab3" //TRANSLATORS: Title of a Tab ...
0
votes
0answers
70 views

Building Application Package for Ubuntu Touch -> Error

I've written a simple Ubuntu Touch App with the official Ubuntu SDK (Qt Creator). After testing it i wanted to create a Application Package from the menu (Build -> Ubuntu Touch -> Ubuntu Touch ...
0
votes
0answers
100 views

Error: Cannot assign QObject* to QQuickItem*

I'm trying to show a dialog in a tab but it just won't go. I don't understand why it isn't working. Same kind of dialog in another app I'm writing is showing it. Only difference is that the working ...