1
0
mirror of https://github.com/jaredtao/TaoQuick.git synced 2025-01-19 20:22:56 +08:00
TaoQuick/Install-en.md
2020-10-14 13:33:27 +08:00

2.0 KiB
Raw Blame History

catalogue

Code Struct

  1. 'src' folder contains core library TaoQuick

    core library contains basic component, animation effect ans so and.

    main code is qml, cpp only warp qmls to resource plugin. (support Qt5.12 and Qt5.15)

    support use ' make install ' install into QTDIR

    support Drag & Drop in QtDesigner.

  2. 'exmaples' folder contains demo

    TaoQuickShowshow how to use TaoQuick。

    It's a content loader, provide basic window and menu, dynamic load content .

TaoQuick Build

Commond line, just use qmake make after build, library will be auto copied in "bin/debug/TaoQuick" or "bin/release/TaoQuick"

TaoQuick Install

also you can use

` make install

` library will be installed in "{QTDIR}/qml/TaoQuick"

QtCreator also can use build argument.

TaoQuick Use

  1. copy "bin/debug/TaoQuick" or "bin/release/TaoQuick" to you binary folder

or you can install TaoQuick to QTDIR.

  1. import in you qml
import TaoQuick 1.0

import TaoQuick 1.0 is import library. import "qrc:/TaoQuick/ is import Resource by qmldir file in "qrc:/TaoQuick/"

this use method not support QtCreator HighLight.

TaoQuick Designer-mode

TaoQuick support Designer-mode in QtCreator.

  1. make sure TaoQuick is installed to {QTDIR}/qml/TaoQuick/

  2. Restart QtCreatoropen you project and change to Designer-modein Importer ComboBoxselect TaoQuick,

    press Ctrl + S to save, then QtCreator will load TaoQuick.

Now, you can create component by drag , change propery easily.