1
vote
0answers
19 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 | - ...
3
votes
1answer
58 views

Appmenu with QML App

I'm developing an Ubuntu SDK meant to be used on both the desktop and touch interfaces. Obviously the menu that slides up from the bottom of the window is not a great interface for the desktop. ...
1
vote
0answers
39 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, ...
4
votes
1answer
124 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): ...
0
votes
0answers
31 views

QML Ubuntu SDK : How to insert Video element [duplicate]

Hello everybody! I am learning Qml and using the Ubuntu SDK tool in addition to QML elements. I saw on some sites that you can insert videos with the Video element by importing Qt 4.7 and ...
0
votes
2answers
51 views

qml file and app.js not found

I am a newbie in ubuntu app development. I am going through the tutorials in developer.ubuntu.com. The thing is when I created a sample ubuntu-htmui project, no .qml file is being created as explained ...
1
vote
0answers
149 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
0answers
18 views

How to add default icon in Qt widget application [duplicate]

I am trying to develop a simple qt app, I would like icon for the toolbar buttons, How can I standard icons for these toolbar buttons, new,open,close etc
5
votes
1answer
821 views

Are Qt Quick Controls available on Ubuntu 13.10?

I was looking to do UI development in QML, and I really want it to look native. I found the QtQuick.Controls (http://qt-project.org/doc/qt-5.1/qtquickcontrols/qtquickcontrols-index.html), but when I ...
1
vote
2answers
157 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
0answers
34 views

Some QLabel are not getting translated when app is run in other language ?

I am running kde app kstars on my kubuntu 13.04 system from terminal using following command KDE_LANG=fr ./kstars Some labels file from http://paste.kde.org/p6e42cd0d/ are not getting translated ...
0
votes
0answers
77 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
692 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 ...
0
votes
0answers
68 views

about Qt 5.1 App GUI for ubuntu unity

I don't know if here is the right way to ask this or i should ask it in the Qt forum.. I'm creating a Qt 5.1 Application and I wonder how to do some GUI tweaks. in my App I use a toolbar(QtoolBar), I ...
2
votes
2answers
1k views

Can I sell my PyQt4-app without having a PyQt license?

I would like to sell a Python application that uses PyQt4. The commercial licenses for Qt PyQt cost thousands of Euros together. Do I need to buy a commercial license? Consider this from a ...
1
vote
0answers
35 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 ...
2
votes
1answer
90 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
683 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 ...
0
votes
0answers
202 views

OpenGL doesn't work properly with QT when using OpenCV

I have installed OpenCV-2.3.1, and wanted to make the most of QT and openGL features when displaying images on windows. I have, as far as I know, all the mesa dependencies installed on my OS ubuntu ...
3
votes
1answer
328 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 ...
5
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 ...
3
votes
1answer
913 views

How to emit onDropped in QML drag n drop example?

In the qml documentation there is a drag'n'drop example: import QtQuick 2.0 Item { width: 200; height: 200 DropArea { x: 75; y: 75 width: 50; height: 50 onDropped: ...
0
votes
1answer
112 views

How to add Password encryption

I have an encryption app that just encrypts a string and then can decrypt also.. But how can I make it so the user sets a password and the other person has to put in that password to decrypt the ...
3
votes
1answer
135 views

Re-use toolbar code for each tab

I'm creating a music app using QML and it uses around five tabs, each using a toolbar. The toolbar should look the same, so instead of having the exact same code for each tab, I wanted to re-use the ...
0
votes
0answers
101 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 ...
0
votes
1answer
236 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
251 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!
0
votes
0answers
48 views

Ubuntu touch design as in example

How can I create a design like for ubuntu touch at this design pageStack contacts example? I'll use it as it is in that exmaple (in a pageStack).
1
vote
2answers
70 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
347 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 ...
0
votes
1answer
156 views

Should I choose KDE or Qt for an Ubuntu application?

I'm writing an application using QML and some C++ code. The main window will be all QML (possibly having a main menu bar provided KXmlGuiWindow), with the backend and some dialogs written in C++. I've ...
19
votes
1answer
27k views

How can I install Qt 5.x on 12.04 LTS?

If you want to develop with QML 2.0 and Qt5, the base packages don't seem to exist in repository for 12.04. What PPA should I add? Is it a binary installer? a compile the toolkit yourself? Those ...
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.
9
votes
4answers
577 views

What is the recommended widget toolkit for Ubuntu desktop?

As I understand it, Qt - C++ and QML - or HTML5 are recommended for writing Ubuntu for Phones applications. Also, correct me if I'm wrong, but Python is the preferred language for Ubuntu Desktop. ...
5
votes
1answer
593 views

QML/Qt Development path verses “Quickly” and Gtk

It seems like recently the path Ubuntu is moving towards is to have code developed with QML and Qt, and that appears to sync with their move to be able to target tablets, phones, TV devices and the ...
11
votes
4answers
16k views

How to use Qt Creator with Python?

I want to use Qt for developing Ubuntu desktop, phone and tablet applications but I don't want to learn a new programming language (C++, JavaScript). Is it possible to write Qt application in Python ...
2
votes
1answer
263 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. ...
2
votes
1answer
2k views

How do I install the QtWebKit 3.0 module for Qt Creator?

I'm trying to add a webview to my project, but the module isn't installed. I'm new to qml and qt and I'm not sure how to install the module. Thanks
1
vote
1answer
144 views

ListView Subtitled delegate, icon size and title word wrapping?

I'm working on an ubuntu mobile app and I have a few questions about customizing a listview. The listitem may contain an icon, but will have a title and subtitle. What I'm having trouble with is ...
1
vote
1answer
438 views

Where can I find a Simple Hello World example for Ubuntu SDK (QT)?

I've been trying to get a simple window with button. And i have no idea on how to "bind" a button from the QML thing to a C/C++ function for example. I followed the example from developer.ubuntu.com ...
1
vote
2answers
242 views

Does a company writing C++ apps have to share its source code if it calls unmodified QT or Ubuntu libraries?

What is the relationship between Ubuntu and QT and Canonical? The coming Ubuntu phone looks interesting. Ubuntu seems to be interwoven with QT. If my company wants to write commercial C++ apps ...
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
120 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
5k 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 ...
1
vote
1answer
173 views

What is the correct way to use the “scroll-event” signal (on an indicator) for Qt?

I am again at the same position, when I had the question What is the correct way to use g_signal_connect() in C++ for dynamic unity quicklists? There I was informed that the signature for my static ...
6
votes
1answer
4k views

How to add Qt5 to Qt Creator?

I've added the Qt5 Daily repository, installed the qt5-meta-full and added /opt/qt5/bin/qmake to Qt Versions. Now I get :-1: error: Unknown module(s) in QT: declarative Is it possible yet to use ...
9
votes
1answer
485 views

Make sniqt recognize all tray abilities (or create a working indicator in Qt)

There is this old thread of mine: How do I create a working indicator with Qt/C++? where I was suggested to use the QSystemTray library for making a tray icon in Ubuntu for my application. Sniqt is a ...
3
votes
1answer
175 views

How to create and submit package for Qt application

I have an application that I developed in Qt and Ubuntu. Its primary target is Windows but I prefer working in Ubuntu for all sorts of obvious reasons, so I rebuild it using Qt under XP and create an ...
1
vote
2answers
204 views

I wrote a Python/QT app that downloads files. How can I stop it from 'greying out' after few seconds?

Here's the gist. The application is still running and the progress bar will still move, but the window will grey out and if I click the X to close it, a popup shows up and says "The window X is not ...
1
vote
1answer
168 views

How to import Qt app into Quickly on 10.04?

How to import my Qt app into Quickly? The goal of this is to package my Qt app using Quickly.