CatLearnQt Record your own learning Qt process.
CatLearnQt is released under the GPL v3 license. If you use CatLearnQt or its component libraries, you must abide by the relevant license terms.
Mirro Repo | Address |
---|---|
Github | |
Gitee | |
CodeChina |
BestPracticePlan | License | OnlineCommunity |
---|---|---|
Windows | Ubuntu | MacOS | Android | IOS |
---|---|---|---|---|
Qt5.12 and above
Support qt5.15
Directory | Explanation | Remark |
---|---|---|
doc | Document Directory | Save the documents required by the project, describe the configuration of each platform, and the project moduleExplanation, etc. |
GrayCatQt | GrayCatQt module | Provides a set of custom controls based on QWidget and QGraphicsView. |
GrayCatQtQuick | GrayCatQtQuickmodule | Provides a collection of custom controls based on Quick and Qml. |
GrayCatQtCore | GrayCatQtCoremodule | Provides modules such as serial port, network, Bluetooth, log, thread, etc. |
Examples | Module Integrated demo project | This project is developed on the basis of QWidget and demonstrates the projects of modules such as QWidget, QQuickWidget, QGraphicsView, etc. |
scripts | Script file path | Continuous integration related configuration, used to automate the construction and release of scripts, and provide qml library tailoring scripts |
.github | github-Actions configuration | Continuous integration related configuration for automated construction and release |
Library | Explanation link |
---|---|
GrayCatQt | Provides a set of custom controls based on QWidget and QGraphicsView. |
GrayCatQtQuick | Provides based on Quick,Qml and control set |
GrayCatQtCore | Provides modules such as serial port, network, Bluetooth, log, thread, etc. |
GrayFramelesshelper | A cross-platform frameless module. |
Use the core library only need to import, the'.pri' file under the module folder
The resources that GrayCatYa needs to use will be quoted in the form of qrc resources. Pay attention to the path name of the resource, and do not re-path with the new qrc resource file.
After importing pri, no additional compilation is required to generate dll or plug-in
Steps
include(GrayCatQt/GrayCatQt.pri)
If you need to compile into a library, open the pro file in the GrayCatQt directory and compile it.
cd GrayCatQt
qmake GrayCatQt.pro
# Use the module in your CMakeLists.txt
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/module/cmake")
include(GrayCatQt)
# Use the module in your CMakeLists.txt
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/GrayCatQt GrayCatQt.out)
Use the core library only need to import, the'.pri' file under the module folder
The resources that GrayCatQtQuick needs to use will be quoted as qrc resources. Pay attention to the path name of the resource and do not re-path with the new qrc resource file.
After importing pri, no additional compilation is required to generate dll or plug-in
Steps
include(GrayCatQtQuick/GrayCatQtQuick.pri)
If you need to compile into a library, open the pro file in the GrayCatQtQuick directory and compile it.
cd GrayCatQtQuick
qmake GrayCatQtQuick.pro
# Use the module in your CMakeLists.txt
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/module/cmake")
include(GrayCatQt)
# Use the module in your CMakeLists.txt
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/GrayCatQtQuick GrayCatQtQuick.out)
Use the core library only need to import, the'.pri' file under the module folder
After importing pri, no additional compilation is required to generate dll or plug-in
Steps
include(GrayCatQtCore/GrayCatQtCore.pri)
If you need to compile into a library, open the pro file in the GrayCatQtCore directory and compile it.
cd GrayCatQtCore
qmake GrayCatQtCore.pro
# Use the module in your CMakeLists.txt
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/module/cmake")
include(GrayCatQt)
# Use the module in your CMakeLists.txt
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/GrayCatQtCore GrayCatQtCore.out)
Use the core library only need to import, the'.pri' file under the module folder
Steps
include(GrayFramelesshelper/GrayFramelesshelper.pri)
# Use the module in your CMakeLists.txt
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/GrayFramelesshelper GrayFramelesshelper.out)
Directory | Explanation |
---|---|
Examples/CatQuickExamples | Based on the Quick version of the project demo |
Examples/CatWidgetExamples | Widgdet version project demo |
Examples/CatWidgetWebAssEmblyExamples | CatWidgetExamples cut version WebAssmbly version project demo |
Examples/MetroDemo | Implement HuizhouMetroCase based on Quick |
Examples/CatSerialServer | Cross-platform serial port service process |
Controls | Explanation |
---|---|
ImageFlipable | Flip picture |
ImageFlicker | Flash picture |
ImageFlickerGradient | Picture flashing progressive |
ImageMove | Move picture |
ImageScale | zoom picture |
Marquee | Text scroll, barrage |
TextOneByOneShow | Show text one by one |
CatRectangle | Custom rounded rectangle, single rounded corner |
QParentQrenCode | qml QR code |
CatCalendar | Calendar module |
Image3dRotation | Picture 3d rotation |
CatECharts | WebEngine demo ECharts chart |
CatSideColumn | Sliding sidebar |
CatSorter | Sorter |
TableView | Form control |
CatTreeView | Tree control |
Online Demo(https://graycatya.gitee.io/webassemblyExample/MetroDemo/MetroDemo.html)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。