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

32
votes
3answers
83k 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 ...
28
votes
1answer
29k views

How can I uninstall Qt5 that I installed from .run?

I installed Qt from qt-linux-opensource-5.0.1-x86_64-offline.run file. It works fine, but I am unable to use KDE libs in it. So can anyone please say how to uninstall it?? I could also not find any ...
25
votes
3answers
31k 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 ...
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
17k 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 *...
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 ...
8
votes
2answers
16k 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 ...
8
votes
1answer
9k 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 ...
7
votes
8answers
13k views

How do I install Sigil?

Is there a ppa I can use to install Sigil in Ubuntu? The old ppa:rgibert/ebook doesn't work for me any more.
7
votes
1answer
1k views

How will Qt 5.0 be packaged for Raring?

Note: as per the FAQ, "Issues with the next version of Ubuntu" may not be asked as questions here but in my opinion, this is not an issue but merely a question asking about policy. If you feel this ...
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 ...
6
votes
3answers
6k views

Missing documentation for Qt5 on Ubuntu 13.04

I use Qt Creator for building applications and recently I decided to upgrade my Ubuntu from 12.10 to 13.04 and upgrade my current project from Qt4 to Qt5. The problem is that the Help section provides ...
6
votes
1answer
11k views

Ubuntu 14.04 Qt5 development libraries?

I want to build applications requiring Qt5 via CMake. Which libraries do I have to install to achieve that? What I have tried so far is searching for anything containing qt 5 core and dev, but have ...
5
votes
2answers
12k 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
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 ...
5
votes
1answer
884 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: ...
5
votes
2answers
2k views

Error: PyQt5 requires Qt v5.0 or later

I want to install PyQt5 on Ubuntu 14.04.2. Once downloaded and uncompressed, I run python configure.py as it is mentioned on the previous link. However, it asks me to install QT 5 or later. Which ...
4
votes
1answer
5k views

qtchoose doesn't run due to “'/usr/lib/x86_64-linux-gnu/qt5/bin/qtchooser': No such file or directory” error

When I try to start qtchooser i get this notification: qtchooser: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/qtchooser': No such file or directory I've installed Qt5 from ppa:canonical-qt5-...
4
votes
1answer
3k views

Problem building a Qt5 project with QWebKit

I'm trying to port a simple project from Qt4 to Qt5. The project uses QWebKit. I installed the qt5-default and libqt5webkit5-dev packages. I then changed the qmake project file to contain this: QT += ...
4
votes
0answers
136 views

How to integrate Qt software like FocusWriter, Telegram, Toggl Desktop or RStudio?

What is required to integrate Qt applications such as FocusWriter, RStudio, Toggl Desktop or Telegram Desktop into the design of Ubuntu? By default, these applications look as follows on Ubuntu 16.04:...
4
votes
0answers
303 views

How can I get menu items in a Qt Quick application?

I'm using Qt Creator 3.1.1 on Ubuntu 14.10 (the version installed when you install Ubuntu SDK - the two seem to be the same application). I'm running the default Unity 7 desktop. When I create a new "...
4
votes
0answers
971 views

Ubuntu and Qt creator keyboard layout change problem

When I run Qt Creator on my Ubuntu 14.04 with English layout, it always types in English and it won't change if I change my layout to other language. In front, when I run Qt Creator with Persian ...
3
votes
4answers
7k views

How to Update Qt 5.4.1 to Qt 5.5?

I want to update qt 5.4.1 to Qt 5.5 or 5.4.2 because I want to test KDE Plasma on WayLand. Note: Please provide solution that consume least network resources as I have limited bandwidth. KUbuntu 15....
3
votes
1answer
309 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 ...
3
votes
2answers
5k views

How to install libqtwebkit5?

How can I install libqtwebkit5 library? I need it for a Qt project. I tried with: $ sudo apt-get install libqtwebkit5 Reading package lists... Done Building dependency tree Reading state ...
3
votes
2answers
3k views

Qt 5 configuration

I have a problem setting Qt5 apps correctly on my computer. I'm running Ubuntu 14.04 with KDE4, I have configured the look in the KDE system settings and that look is used in every qt4 apps and gtk ...
3
votes
1answer
221 views

Install newly developed app on Ubuntu Touch device

Host OS: Ubuntu 12.04.4 LTS Ubuntu Touch Device: Nexus4 Running Ubuntu 13.10 My dev environment is QtCreator with the ubuntu-sdk plugin I'm trying to deploy the QML / C++ sample app (the one ...
3
votes
1answer
527 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
1answer
2k views

Ubuntu SDK and QtCreator will not start

I have tried sudo apt-get purge ubuntu-sdk qtcreator qtcreator-plugin-ubuntu qtcreator-plugin-cordovaqt and then sudo apt-get install ubuntu-sdk but QtCreator will still not start. It does not show up ...
3
votes
0answers
2k views

Installing QT 5.5 On Ubuntu 14.04 LTS with error : QSslSocket: cannot resolve SSLv2_server_method [duplicate]

I've Downloaded qt-opensource-linux-x64-5.5.0-2.run file and tryed to install it using terminal, so I added execute permission and run it: ./qt-opensource-linux-x64-5.5.0-2.run But it shows: qt....
3
votes
0answers
624 views

Simple OpenCV program crashes

I am currently having a problem. I am following the instructions given in this book "OpenCV 2 Computer Vison Application Programming Cookbook" for creating a simple image display program in OpenCV (2....
3
votes
0answers
229 views

Unable to build QtQuick 2 projects

I'm running Xubuntu 14.04, and I have the following packages installed: qt5-default (5.2.1) qtcreator (3.0.1-0ubuntu4) qml (5.2.1-3ubuntu15.1) They were installed from the official repos and are ...
2
votes
1answer
3k 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 ...
2
votes
2answers
78 views

Permissions for thumbnailer on device

I'm developing an application for U-Touch that gets a thumbnail from a video in C++ code using libthumbnailer system library. The app does the thumbnailing perfectly in my computer, but when i try to ...
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
1answer
4k views

Compiling code that depends on QT4 with QT5 installed

I have QT5 installed on 12.10 I believe because it is a dependency for the Ubuntu SDK and the Ubuntu touch tools which I have been using. I have QT4 installed as well, infact I had it installed first....
2
votes
1answer
6k 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
2
votes
2answers
3k views

where is qt5 designer

I updated an Ubuntu 12.04 machine to 14.04. The 12.04 install just had qt4, and had /usr/lib/x86_64-linux-gnu/qt4/bin/designer The 14.04 install has qt5, but I cannot get a /usr/lib/x86_64-...
2
votes
2answers
687 views

Zeal from the PPA has unmet dependences

I'm trying to install Zeal through ppa in Ubuntu 13.04, but is giving the error: The following packages have unmet dependencies: zeal : Depends: libqt5core5 (>= 5.0.2) but 5.0.1+dfsg-0ubuntu4.1 ...
2
votes
1answer
273 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?
2
votes
2answers
987 views

Qt5 with Qt 4.7 on Ubuntu 13.04. How to install it both without conflicts?

I'm using Qt5 and need Qt 4.7 now (for embedded device). Is it possible to install it additionally on Ubuntu 13.04?
2
votes
1answer
4k views

QtQuick not found (Lubuntu)

On a fresh Lubuntu 13.04 installation, I installed Qt5 from the official ubuntu repositories. But this installation of Qt5 can't find the QtQuick module. What am I missing? qmlscene test.qml test....
2
votes
1answer
264 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 ...
2
votes
1answer
281 views

Change QT5 theme

I am using i3wm on Ubuntu 15.10. I was wondering on how to change the QT5 theme? With old QT4 it was possible to change it with qt4-config. There is however no qt5-config as of yet. I have tried using ...
2
votes
1answer
255 views

Getting QT5 to work with the “Create a currency converter phone app”-tutorial [closed]

I'm trying to get into developing for the ubuntu phone, and I'm following the Create a currency converter phone app tutorial by the letter. Problem is that when I try to preview the app, I get a ...
2
votes
1answer
35 views

kdevelop not finding qt libs

Currently I am trying to create a brand new project using KDevelop 4.7.3. I am also targeting Qt5. When I attempt to create a new project using the template for a Qt Gui project it creates a Qt4 ...
2
votes
0answers
59 views

How to make an online, offline app with cache

I just wanted to know how I can do this. For example, I want to have an app that's linked to a WordPress site and when I'm connected to the internet, I want see everything normally, but when I'm not ...
2
votes
2answers
893 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/...
2
votes
0answers
331 views

Broken QT5 packages are in release 14

Fresh Ubuntu 14.04 install. Tried this on two different machines. Same problem: tstimac@promel:~$ sudo apt-get install build-essential qmlscene qt5-qmake qt5-default qtdeclarative5-dev ...
2
votes
1answer
889 views

How build against qt 5.3.1?

Trying to build qt-creator v3.2.2 from source on Ubuntu 14.10. Fails. Qmake can't find qt5.3.1 $ qmake -r ... Project WARNING: QmlDesigner plugin has been disabled. Project WARNING: This plugin ...