1
0
mirror of https://github.com/jaredtao/TaoQuick.git synced 2025-01-19 20:22:56 +08:00
TaoQuick/Install-en.md
2019-08-17 11:17:07 +08:00

2.4 KiB
Raw Permalink Blame History

catalogue

Code Struct

'src' folder contains 4 sub-project

  1. TaoQuick

    main library.

    support use ' make install ' install into QTDIR。

  2. TaoQuickApp

    Demoshow how use TaoQuick。

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

  3. TaoQuickPlugin

    one plugin, show Basic Component in TaoQuick.

  4. TaoEffectPlugin

    one plugin, show Effect Component in TaoQuick.

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

  2. import in you qml

import TaoQuick 1.0
import "qrc:/Tao/Qml/"

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

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.