Qt 5 is the 5th major version of the popular GUI toolkit for implementing graphical applications. This version contains major changes, and Qt Quick is central to it.

learn more… | top users | synonyms

5
votes
1answer
4k views

Embedding C++ Objects into QML with Context Properties

According to Qt5 documentation: exposing methods including qt slots all public slots of C++ classes that inherit from QObject, are accessible from QML Here what I did: C++ class MyClass : public ...
33
votes
3answers
85k 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 ...
8
votes
2answers
17k views

Qt5 installation and path configuration

I have installed Qt5 from the Qt5 project site, to the following directory /opt/Qt5 I would also like to mention that I had Qt4 installed previously, I have removed all instances of Qt4 through ...
9
votes
2answers
2k views

Playing Sound with Ubuntu QML Toolkit preview

I've installed the Ubuntu QML Toolkit Preview as per the instructions on http://developer.ubuntu.com/get-started/gomobile/ (with a minor fiddle to get it working on 12.04). I'm trying to write an app ...
2
votes
1answer
4k views

Installing Qt 5.5.1 on Ubuntu 14.04 - throws qt.network.ssl error on terminal

I am planning to install qt 5.5.1 on my ubuntu 14.04 running on virtual machine. I have downloaded the installer from qt-io and when I try to install the setup, I notice the below warning on my ...
1
vote
0answers
2k views

How to configure debian/rules file for packaging with CDBS and Cmake, Qt5 on Ubuntu 12.04

this is the first time I ask here. Recently I played packaging --a new thing for me-- in Launchpad. I tried compiling Sigil 0.7.4 for Ubuntu Precise. The source code had to be compiled with Qt5, while ...
3
votes
1answer
310 views

Why does Software Center report qt4 as unmet dependency, when I already have qt5 installed?

I installed qtspim which requires qt4 to be installed. As I already have qt5 installed on my system, qtspim is working fine. However, Software Center reports dependency error. When I run apt-get ...
26
votes
3answers
34k views

What's the development package for Qt5 in 14.04

I want to build a Qt5 example on my desktop machine. I installed qt5-default and qtdeclarative5-dev, but I'm still getting this error: Project ERROR: Unknown module(s) in QT: quick qml Which ...
5
votes
2answers
13k views

Ubuntu 14.04 QtCreator Qt5 examples missing

After upgrading to Ubuntu 14.04 I removed the official qtcreator in order to install the modified version from the software center because I'd like to try the SDK. Fortunately, the docs are now ...
5
votes
1answer
886 views

Qt5 Qtcreator using a c++function in main.qml to create a file /tmp/

I want to write an app for Ubuntu Touch based on the QtQuick2ApplicationViewer template and the app needs to write to a file (e.g. '/tmp/test.log'). I tested with using a function/macro Q_INVOKABLE: ...
13
votes
1answer
647 views

How will the Ubuntu Phone SDK impact desktop development [closed]

If I was to develop an application for Ubuntu after the Ubuntu Phone announcement, I would be concerned with several issues. I know that these things will not change immediately, but I'm thinking ...
10
votes
2answers
18k views

What package do I need to build a Qt 5 & CMake application?

I'm trying to build sdrangelove, which wants Qt 5 and uses CMake for its build system, on Ubuntu 13.10. What package do I need to install to give it the file it's asking for here? There are a lot of *...
7
votes
1answer
3k 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 ...
2
votes
2answers
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 ...
2
votes
2answers
924 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/...
1
vote
0answers
253 views

Ubuntu web browser not loading in 14.04

I am on Ubuntu 14.04.2 32 bit platform. When I launch ubuntu web browser GUI window opens but it's white empty. I launched it in terminal /usr/bin/webbrowser-app it's the same, it only prints: /...
0
votes
2answers
7k views

Ubuntu Qmake is not an executable

I have the latest versions of qtcreator, qt5-qmake build-essential and g++ installed. In option of Build & Run and choose qmake in /usr/bin/qmake I get this error: The qmake executable /usr/lib/...
2
votes
1answer
285 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?
1
vote
1answer
315 views

Ubuntu 14.04.3 qtbase5 dependencies problem, is this a bug?

I want to install qtbase5-dev, but this will delete many *-vivid packages. sudo apt-get install qtbase5-dev Reading package lists... Done Building dependency tree Reading state information... ...