Results 1 to 2 of 2

Thread: Qt 5 quick desktop components installation on linux ubuntu 12.10

  1. #1
    Join Date
    Oct 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Qt 5 quick desktop components installation on linux ubuntu 12.10

    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:
    Qt Code:
    1. load(qt_parts)
    2.  
    3. # We need accessibility
    4. !contains(QT_CONFIG, accessibility) {
    5. error("Building Qt without accessibility is not supported for desktop components.")
    6. }
    To copy to clipboard, switch view to plain text mode 

    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!

  2. #2
    Join Date
    Oct 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 5 quick desktop components installation on linux ubuntu 12.10

    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:
    Qt Code:
    1. import QtQuick 1.1
    2. import QtDesktop 0.1
    3.  
    4. Rectangle {
    5. width: 100
    6. height: 100
    7. Button {
    8. id: button
    9. text: "Push me"
    10. onClicked: button.text = "Pressed"
    11. }
    12. }
    To copy to clipboard, switch view to plain text mode 

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

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

Similar Threads

  1. Using QML Components for the Desktop with PySide
    By hansotronic in forum Qt Quick
    Replies: 2
    Last Post: 30th October 2012, 00:49
  2. Qt quick components installation fails
    By Sleeme in forum Qt Quick
    Replies: 1
    Last Post: 22nd October 2012, 13:08
  3. QtCreator and Desktop Components
    By Splashy in forum Qt Quick
    Replies: 6
    Last Post: 24th March 2012, 00:43
  4. Replies: 0
    Last Post: 9th February 2012, 03:05
  5. Qt Quick Components - layout of Dialog
    By finngruwier in forum Qt Quick
    Replies: 3
    Last Post: 13th September 2011, 15:28

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.