Code Monkey home page Code Monkey logo

uestc-pblf's Introduction

🤺UESTC-PBLF🤺

🏫电子科技大学

🧑‍💻程序设计项目实践(PBFL)作品

📚图书馆管理系统

Language Documentation

📦外部库

🥸cJSON:DaveGamble/cJSON: Ultralightweight JSON parser in ANSI C (github.com)

🥸Switch Button:Qt编写自定义控件一开关按钮 - 飞扬青云 - 博客园 (cnblogs.com)

🥸QDarkStyleSheet:ColinDuquesnoy/QDarkStyleSheet: A dark style sheet for QtWidgets application (github.com)

▶️使用

打开目录中Deploy文件夹,双击运行应用程序LibraryManagementSystem.exe

⛏️构建

先决条件

在开始之前,请确保您的计算机满足以下要求:

  • Windows 11/10操作系统
  • 至少4GB的RAM
  • 至少10GB的可用硬盘空间

安装步骤

安装Qt

  1. 访问 Qt官方网站 并下载Qt安装程序。
  2. 运行安装程序,选择Qt 5。
  3. 安装过程中,选择“Desktop gcc”(或相应的编译器)。

安装CMake

  1. 访问 CMake官方网站 并下载CMake安装程序。
  2. 安装CMake,并确保在安装过程中将CMake添加到系统路径。

安装MinGW(如果使用GCC编译器)

  1. 访问 MinGW-w64MinGW-w64 at SourceForge.net
  2. 下载并安装适合您系统的MinGW版本。
  3. 在安装过程中,确保将MinGW添加到系统路径。

编译项目

  1. 打开命令提示符或终端。
  2. 导航到项目源代码所在的文件夹。
  3. 运行以下命令来配置项目:
# 以下命令在CMakeLists.txt所在路径操作

mkdir build
cd build
cmake -G "MinGW Makefiles" -S .. -B .

image-20231227181322064

cmake --build .

image-20231227181516029

最后,手动把LibrarySystemInfo.json,UsersInfo.json,AutoSaveInfo.json拷贝到/json目录

运行应用程序

  1. ./build 目录下,找到编译好的可执行文件。
  2. 双击运行应用程序LibraryManagementSystem.exe

常见问题解决

  • 如果遇到任何编译错误,请检查Qt和MinGW是否正确安装,并且版本是否兼容。
  • 确保所有步骤都按照指南执行。

更多帮助

如果您在构建或运行过程中遇到问题,请参阅 Qt文档CMake文档

uestc-pblf's People

Contributors

fanllspd avatar

Stargazers

 avatar  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.