Qt is an application framework originally created by Trolltech and currently managed by Digia. The KDE desktop uses the Qt framework for its applications.

learn more… | top users | synonyms

47
votes
1answer
25k views

Should I use PyQt or PySide for a new Qt project?

Recently I've been involved in conversations about creating a Quickly template for a Qt and QtQuick Ubuntu app. The idea is to make it as easy to develop Qt apps from concept to package as it is right ...
35
votes
4answers
45k views

How do I install and switch to the Unity 2D desktop?

I read that there is now a 2D version of Unity built on Qt. How do I install it, and once it's installed, how do I switch to it?
24
votes
4answers
7k views

What's the difference between GTK and QT?

Please bear with me as I'm a newcomer to Linux. I've been writing GUI programs in REALbasic on a Mac for several years. I'm trying to learn Python and I want to write GUI apps for Linux (primarily ...
21
votes
1answer
45k 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 ...
18
votes
3answers
12k 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 ...
17
votes
2answers
3k views

Differences between Qt and GTK programs?

Refering to this question, there are two different versions of the Autokey program: Autokey (Qt-based) and Autokey-GTK. What are the differences between a Qt-based program and the GTK one and are ...
15
votes
4answers
28k 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 ...
14
votes
5answers
11k views

How to change the binding of Windows key which runs Unity's Dash?

Currently, I am using the Unity Qt panel in my Gnome desktop, and when I press the Windows key, the Unity's dash launches, and I can't use any compiz based shortcuts. Same behaviour is exhibited ...
13
votes
2answers
662 views

What are the conceptual and technical differences between “Apps” and packages?

I'm a bit confused by the recent announcement (http://developer.ubuntu.com/2011/09/announcing-the-ubuntu-app-developer-site/) of the new "App" developer site. I've fallen out of Ubuntu development and ...
12
votes
2answers
9k views

what is KDE, GTK, GTK+, QT, and/or GNOME?

I'm new to Ubuntu (and linux in general). Some times when looking at programs in the Ubuntu Software Center, I see things about the programs being 'for the GTK+ environment', or 'for GNOME', or a ...
12
votes
3answers
4k views

How can I theme my Qt app to resemble one written in Gtk?

Mark Shuttleworth recently blogged about the decision to include the Qt libraries in the 11.10 release, with a followup from Jono Bacon. The thing that puts me off Qt apps is that they don't blend in ...
11
votes
3answers
3k views

Will the new Unity desktop be programmed in Qt?

Will the desktop version of Unity, scheduled to appear in 11.04, be programmed using Qt? I ask this in relation to Matt Zimmerman's blog posting of several days ago, where he intimated that Qt was ...
11
votes
2answers
818 views

Quickly template for PyQt?

Because I like Qt and Python, is there a Quickly template for PyQt similar to the PyGTK one?
11
votes
3answers
724 views

What are the accessibility problems of Qt?

Jonathan Ridell said in a blog post that there were accessibility problems with Qt. I would just like to know what those problems are. Thank you very much and keep up the excelent work. Ubuntu Rocks!
10
votes
6answers
11k views

GTK+ in Kubuntu apps look bad

I have installed Evolution email client on Kubuntu 11.10 and it's not so cute as expected. Eclipse also looks bad. I have the GTK+ Appearance plugin in KDE System Settings and already tried QTCurve ...
10
votes
1answer
1k views

How to create a new Quickly application template?

Cannot find the answer elsewhere, I'm asking for a documentation of the process to create a new template for quickly. I'm interested in writing a pyside (python + qt4) template like the pygtk one. ...
10
votes
4answers
721 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. ...
10
votes
2answers
1k views

How do I get QSystemTrayIcon to show up in Gnome 3?

I can get a QSystemTrayIcon to show up in Unity by installing the sni-qt package which acts as a broker between the application and an application indicator for the program. However, running the ...
9
votes
1answer
716 views

What does the takeover of Nokia mean for the Ubuntu SDK?

Well, the title says it all: What does the takeover of Nokia by Microsoft mean for the Ubuntu SDK, as the Ubuntu SDK relies on Qt which is (was?) a Nokia project?
9
votes
4answers
6k views

make qt programs look good under XFCE?

I use xfce. My problem is - some programs look nice and some sort of ugly. AFAIK this is because XFCE is gtk and most programs use gtk theme, but some programs use qt and thus don't use gtk themes ...
9
votes
2answers
585 views

How to use gettext to make QML files translatable

I'd like to write a QtQuick app based on Python (PySide) and QML. I know Qt apps have got their own translation technology, but I would like to stick to gettext for this one. I'd like to know if it's ...
9
votes
2answers
692 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 ...
8
votes
1answer
38k views

How to install Qt4 in Ubuntu 12.10

I tried to use Qt5 but I have some problems while making Debian packaging process with Qt5 so I would like to have Qt4 on Ubuntu 12.10. How can I install Qt4.
8
votes
2answers
2k views

Unity Launcher API for C++

I am trying to develop some program in QT with QT SDK. Yesterday I was reading about Unity Launcher API on official ubuntu website. But there is example only for Vala and python. Is possible to use ...
8
votes
3answers
5k views

Receiving error while trying to debug in QtProject

I installed the latest version of the QtProject so now I can debug C++ code. While trying to debug for the first time I got this error: ptrace: Operation not permitted. Could not attach to the ...
8
votes
4answers
7k 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 ...
8
votes
1answer
1k views

Icon theme doesn't affect some Qt-applications [duplicate]

I changed the icon theme in Ubuntu 12.04, but it doesn't affect Qt-applications. They have the default theme. For KDE applications the icon theme can be changed with the systemsettings package. This, ...
8
votes
3answers
6k views

Making python 3.3 default python 3 interpreter instead of 3.2

So, to keep it simple. Ubuntu 12.10 has python 3.2 pre installed and it is linked to "python3". I downloaded python 3.3 and it's command is "python3.3". However, I downloaded pySide for python3 from ...
8
votes
1answer
208 views

apt-get install <package> equivalent using C++ apt-pkg library

I am building a small QT (C++) application where I ask user the software he want to install. Once he selected some packages a, b, c from the list all I have to do is run sudo apt-get install a b c ...
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
3answers
3k views

How to run Java application in KDE with Qt-like UI?

Continuing my question in Install Ubuntu or Kubuntu? I have tried Kubuntu (KDE), and it was very cool as cool as Ubuntu (GNOME). but there is little problem with its user interface when we start Java ...
7
votes
1answer
532 views

Can't change keyboard layout in some Qt programs

The problem after a recent update in my Ubuntu 13.10 with Unity. When typing something in Qt Creator 3.0.1 or in my own program compiled with Qt 5.2.1 (from qt-project.org), I can't change keyboard ...
7
votes
1answer
6k 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
1answer
1k views

How do I enable global menu for Qt applications?

Is there a way to enable the global menu for Qt applications on Unity? By default they do not use it.
7
votes
0answers
304 views

Howto create a new C++ based Ubuntu touch project in Ubuntu SDK?

There is no option to start a C++ and QML based project in Ubuntu SDK. It only offers to create a QML project with no C++ codes. If I try to add C++ classes to the QML project, I get this error: ...
6
votes
4answers
325 views

Switching from ubuntu to kubuntu. What applications to use?

I am a longtime user of Ubuntu. However, I am disillusioned by the way the ubuntu is going and would like to move to KDE. Can you suggest some good KDE applications for basic tasks like chatting, ...
6
votes
1answer
9k views

How do I install Qt5, which comes as a .run file? [duplicate]

I downloaded http://qt-project.org/downloads Qt5 Libary for Linux 64bit The library format is .run But if I try to open it, I'll get the following error sh ./qt.run ./qt.run: 1: ./qt.run: cannot ...
6
votes
1answer
2k 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
1answer
2k views

Make a Debian Package (.deb) from a Qt Project

I did several projects on Qt Creator and I would like to distribute them in an installable format (in this case, Debian Packages). More info about my Qt installation (and my system): Qt version ...
6
votes
1answer
578 views

Can I make ReText use a different font type for displaying code?

I'm using ReText 3.1.4 (Lubuntu 12.10) to make notes for myself. I want to know if it's possible to use a different font for displaying text that is marked as code in preview mode: In the image, ...
6
votes
1answer
2k views

How to change QT (KDE) application icons for gnome?

I'm running gnome3 on Ubuntu 12.04 and my dolphin looks like this: I really don't like these oxygen themed icons and want to use the Faenza icons. I tried backing up the oxygen icons and ...
6
votes
2answers
2k 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 ...
6
votes
2answers
4k views

How to add shortcut to unity launcher programmatically?

I'm developing a program in Qt that will help users to manage (create, edit and delete) their quicklists in Unity launcher. I got to a point where I created .desktop file and I don't know how to ...
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 ...
6
votes
1answer
1k views

What is the correct way to use g_signal_connect() in C++ for dynamic unity quicklists?

I want to make my application use dynamic unity quicklists. For building my application I am using C++ and the QtCreator IDE. When a menu action is triggered I want to be able to have access to a ...
6
votes
1answer
1k views

Installation of capybara-webkit ruby gem

I have following errors when I try to install capybara-webkit ruby gem Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. ...
5
votes
1answer
271 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): ...
5
votes
2answers
2k views

Why don't Qt4 apps in Lubuntu pick up the GTK theme? [duplicate]

I've installed Lubuntu and replaced the default players with Clementine for audio and VLC for video. The problem I have is that neither pick up the GTK theme, the way they usually do in Gnome/Xfce. ...
5
votes
2answers
1k views

Google Earth and Skype theme

I use Google Earth and Skype since version Jaunty, and so far emulation Qt theme for GNOME runs perfectly, but when I use the default theme Ambiance and Radiance in Maverick, both applications look ...
5
votes
2answers
1k 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.