In Qt Creator, examples are missed



  • Installed Qt Creator 2.8 in ArchLinux
    Installed qt5-* (* as every related package) using pacman

    examples were not available in the repositories so I used the one in the AUR, qt5-examples

    examples are installed under /usr/share/doc/qt/examples

    qmake-qt5 -query says:

    @ QT_SYSROOT:
    QT_INSTALL_PREFIX:/usr
    QT_INSTALL_ARCHDATA:/usr/lib/qt
    QT_INSTALL_DATA:/usr/share/qt
    QT_INSTALL_DOCS:/usr/share/doc/qt
    QT_INSTALL_HEADERS:/usr/include/qt
    QT_INSTALL_LIBS:/usr/lib
    QT_INSTALL_LIBEXECS:/usr/lib/qt/libexec
    QT_INSTALL_BINS:/usr/lib/qt/bin
    QT_INSTALL_TESTS:/usr/tests
    QT_INSTALL_PLUGINS:/usr/lib/qt/plugins
    QT_INSTALL_IMPORTS:/usr/lib/qt/imports
    QT_INSTALL_QML:/usr/lib/qt/qml
    QT_INSTALL_TRANSLATIONS:/usr/share/qt/translations
    QT_INSTALL_CONFIGURATION:/etc/xdg
    QT_INSTALL_EXAMPLES:/usr/share/doc/qt/examples
    QT_INSTALL_DEMOS:/usr/share/doc/qt/examples
    QT_HOST_PREFIX:/usr
    QT_HOST_DATA:/usr/lib/qt
    QT_HOST_BINS:/usr/lib/qt/bin
    QT_HOST_LIBS:/usr/lib
    QMAKE_SPEC:linux-g++
    QMAKE_XSPEC:linux-g++
    QMAKE_VERSION:3.0
    QT_VERSION:5.1.0@

    which means examples are in the right place

    But they are not shown in Qt Creator!

    How can I bring them in qtcreator?

    PS: I really can't install the SDK,


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.