View Full Version : Qt 5 quick desktop components installation on linux ubuntu 12.10

18th February 2013, 22:17
Hello all,

I have some trouble understanding the installation process for qt quick desktop components with qt5.
I have downloaded the repository, but when I run "qmake qtdesktopcomponents.pro" I receive the warning: "Building Qt without accessibility is not supported for desktop components."
Here is the pro file:


# We need accessibility
!contains(QT_CONFIG, accessibility) {
error("Building Qt without accessibility is not supported for desktop components.")

Please help me understand :
1. What is accessibility for ?
2. What is load(qt_parts) for ?

If i ignore the warning and continue with: make install - then i receive "make: *** No rule to make target `install'. Stop."

Thank you!

19th February 2013, 09:07
Ok, so I added in the pro file:
QT_CONFIG += accessiblity
and it seem to work now, the make install is copying the qml files to QT_ROOT/qtbase/qml/QtDesktop/ directory

But i still have the problem when compiliing this code:

import QtQuick 1.1
import QtDesktop 0.1

Rectangle {
width: 100
height: 100
Button {
id: button
text: "Push me"
onClicked: button.text = "Pressed"

It gives me the error: module "QtDesktop" is not installed

The documentation says only "qmake && make install " is needed, did i miss something ?