Giter Club home page Giter Club logo

qt_system's Introduction

QT库存管理系统

本项目为最简单的入门项目,用于学习qt界面设计,qss样式的学习以及与数据库的交互。

  • 这里使用的数据库为sqlite3
  • system文件夹为主程序
  • exe文件为打包好的debug版程序,可以直接运行
  • build...文件夹为主程序构建时自己产生的调试文件,我的数据库文件data.db也放在里面的debug文件夹下

debug版程序的打包方法

  • 主程序写好之后,进入build.../debug/ 找到主程序system.exe,单独将它放在一个文件夹中,我把它取名成了exe文件夹。

  • 找到你的qt应用程序,进入Qt/版本号(5.14.3)/选择你的版本(我的为Mingw32bit)/bin/ 进入cmd

  • 将该目录下的windeployqt.exe运行;或者在cmd中输入:

    windeployqt.exe 你复制的exe程序路径(或者你直接把文件拖进去也可以)

    按回车,初步打包完成。

  • 最后一步,将之前进入的bin文件夹下的三个文件以及之前的数据库文件拖入exe文件夹下就打包完成了

    需要的文件:

    • libgcc_s_dw2-1.dll
    • libstdc++-6.dll
    • libwinpthread-1.dll
    • data.db

qt_system's People

Contributors

caixiongjiang avatar

Watchers

James Cloos 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.