Git Product home page Git Product logo

qt-multithreading-sample's Introduction

项目概述

本项目开发环境基于Qt6,利用Clion IDE进行开发,使用CMake进行构建。本项目利用Qt多线程 实现了同时画圆画方的功能,利用Qt的信号与槽机制实现了线程间的通信。

项目结构


├── CMakeLists.txt // cmake构建文件
├── README.md      // 项目说明
├── cmake-build-debug // cmake构建目录
│   ├── mission3.exe        // 可执行文件
│   ├── Qt6Core.dll         // Qt6运行库
│   ├── Qt6Gui.dll          // Qt6运行库
│   ├── Qt6Widgets.dll      // Qt6运行库
│   ├── cmake_install.cmake // cmake安装文件
│   ├── build.ninja         // ninja构建文件
│   ├── .ninja_deps         // ninja依赖
│   ├── .ninja_log          // ninja日志
│   ├── ...
├── main.cpp           // 主函数
├── mainwindow.cpp     // 主窗口
├── mainwindow.h       // 主窗口头文件
├── mainwindow.ui      // 主窗口ui文件
├── ui_mainwindow.h    // 主窗口ui头文件
├── CircleThread.cpp   // 画圆线程
├── CircleThread.h     // 画圆线程头文件
├── SquareThread.cpp   // 画方线程
├── SquareThread.h     // 画方线程头文件

运行效果

程序运行效果图

qt-multithreading-sample's People

Contributors

hustlixiang21 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.