Qt5 Wayland how to embed widget ?



  • Is there any widgets like: QX11EmbedContainer with QX11EmbedWidget for Wayland in Qt5 ?
    How can I embed child window ?


  • Moderators



  • [quote author="raven-worx" date="1421998902"]did you take a look at the "QtWayland examples":https://qt.gitorious.org/qt/qtwayland/source/498946d6e9c20d4e8af28ee942de5bf4cf5eaf78:examples/wayland?[/quote]

    I have project errors while trying to compile examples:
    [quote]Project ERROR: Unknown module(s) in QT: compositor[/quote]
    and
    [quote]Project ERROR: Unknown module(s) in QT: compositor-private[/quote]
    I have Manjaro ( Arch based ) with Qt5 and qt5-wayland package already installed.
    How can I solve this ?


  • Moderators



  • [quote author="raven-worx" date="1422257451"]probably same as "this":http://qt-project.org/forums/viewthread/52384/[/quote]

    In the thread, which you placed the link, the problem was with the Qt libraries that are installed locally. But my Qt libraries are installed only globally.
    [quote]
    pacman -Qs qt5

    local/phonon-qt5-gstreamer 4.8.2-1

    Phonon GStreamer backend for Qt5

    local/pyqt5-common 5.4.0-2

    Common PyQt files shared between python-pyqt5 and python2-pyqt5

    local/qt5-base 5.4.0-1 (qt qt5)

    A cross-platform application and UI framework

    local/qt5-declarative 5.4.0-1 (qt qt5)

    Classes for QML and JavaScript languages

    local/qt5-doc 5.4.0-1

    A cross-platform application and UI framework (Documentation)

    local/qt5-graphicaleffects 5.4.0-1 (qt qt5)

    Graphical effects for use with Qt Quick 2

    local/qt5-location 5.4.0-1 (qt qt5)

    Provides access to position, satellite and area monitoring classes

    local/qt5-multimedia 5.4.0-1 (qt qt5)

    Classes for audio, video, radio and camera functionality

    local/qt5-quick1 5.4.0-1 (qt qt5)

    Qt Declarative is provided for Qt 4 compatibility

    local/qt5-quickcontrols 5.4.0-1 (qt qt5)

    Reusable Qt Quick based UI controls to create classic desktop-style user interfaces

    local/qt5-script 5.4.0-1 (qt qt5)

    Classes for making Qt applications scriptable. Provided for Qt 4.x compatibility

    local/qt5-sensors 5.4.0-1 (qt qt5)

    Provides access to sensor hardware and motion gesture recognition

    local/qt5-svg 5.4.0-1 (qt qt5)

    Classes for displaying the contents of SVG files

    local/qt5-tools 5.4.0-1 (qt qt5)

    A cross-platform application and UI framework (Development Tools, QtHelp)

    local/qt5-translations 5.4.0-1 (qt qt5)

    A cross-platform application and UI framework (Translations)

    local/qt5-wayland 5.4.0-1 (qt qt5)

    Provides APIs for Wayland

    local/qt5-webchannel 5.4.0-1 (qt qt5)

    Provides access to QObject or QML objects from HTML clients for
    seamless integration of Qt applications with HTML/JavaScript clients

    local/qt5-webkit 5.4.0-1 (qt qt5)

    Classes for a WebKit2 based implementation and a new QML API

    local/qt5-x11extras 5.4.0-1 (qt qt5)

    Provides platform-specific APIs for X11

    local/qt5-xmlpatterns 5.4.0-1 (qt qt5)

    Support for XPath, XQuery, XSLT and XML schema validation
    [/quote]


Log in to reply
 

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