2.0 KiB
catalogue
Code Struct
-
'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.
-
'exmaples' folder contains demo
TaoQuickShow,show 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
- copy "bin/debug/TaoQuick" or "bin/release/TaoQuick" to you binary folder
or you can install TaoQuick to QTDIR.
- 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.
-
make sure TaoQuick is installed to {QTDIR}/qml/TaoQuick/
-
Restart QtCreator,open you project and change to Designer-mode,in Importer ComboBox,select TaoQuick,
press Ctrl + S to save, then QtCreator will load TaoQuick.
Now, you can create component by drag , change propery easily.