/deepin-qml-widgets

mirrored from https://cr.deepin.io/#/admin/projects/deepin-qml-widgets

Primary LanguageQMLGNU General Public License v3.0GPL-3.0

Deepin QML Widgets

Description: This project extends QML by providing widgets that is used by Deepin applications.

Dependencies

Build dependencies

  • Qt5.3 or above
  • Qt modules
    • gui
    • widgets
    • qml
    • quick
    • webkit
    • x11extras
  • pkgconfig
  • xcb
  • xcomposite
  • xcb-damage
  • gtk+-2.0
  • deepin-gettext-tools

Runtime dependencies

  • DBus

Installation

mkdir build; cd build
qmake ..
make; make install

Usage

Example

import QtQuick 2.0
import Deepin.Widgets 1.0

DDialog {
   width: 300
   height: 300
   title: "Deepin QML Widgets"

   DssH2 {
        text: "Hello World!"
        anchors.centerIn: parent
   }
}

To see all the widgets that are provided, please refer to qmldir and examples;

Getting help

Any usage issues can ask for help via

Getting involved

We encourage you to report issues and contribute changes

License

Deepin QML Widgets is licensed under GPLv3.