Qt real notes - from scratch to build an inventory management system - (a) preparation

About Qt, which is a cross-platform development framework, universities and they had learned, did the relevant complete set, and nothing touched after graduation, every day, soak programming laboratory painful day. .

Although the work is no longer worked as a programmer, but to master a programming language, an occasional series compiled applet was quite interesting, all an idea: Qt to pick up the original study, the use of free time now can build a practical desktop applet, by the actual string about Qt related knowledge points system used.

Goal, that is to build an inventory management system that can achieve the most basic registration, login, supplier management, merchandise management, storage management, a database management, information inquiry and other functions.

Knowledge to use it, including the realization of a graphical interface, use the database, network programming related to the follow-up will be added, to achieve the separation server and client.

工欲善其事必先利其器, we do some preparatory work, it is to install and configure the Qt environment.

Ready to work:

  1. Download the installation package
  2. Qt installation
  3. Configuration Environment

1. Download the installation package

I downloaded Qt's resource site to Qt SDK installation package site at: https://download.qt.io/official_releases/qt/

Before I wrote this article, the computer has been installed, then select the version 5.11 is now off the shelf, you can choose to install the latest version, since the end of the table just do pc program, so select windows -X86 version on OK.

2. Install Qt

Installation is not to say, double-click the installation package has been like the next step, if required login account, you can choose to ignore.

3. Configuration Environment

After installing the default choice to run Qt Creator, then we open the Qt Creator, you can see the welcome screen.

If the installation is no problem, then, in the example tab, we can see the Qt ready rich demo sample for us. Here I found the next hello world, then click on the sample, the sample will pop up documentation and configuration pages, we will use the default installed Qt version is compiled.

Click the Run button in the lower left corner.

If we can build success, successful run hello world program, environment configuration proved no problem.

如果没有成功,可以点开工具->选项->Kits->构建套件进行详细的配置。

好了,到这里我们的准备工作就完成了。

发布了8 篇原创文章 · 获赞 11 · 访问量 1万+

Guess you like

Origin blog.csdn.net/hello_monster/article/details/95473083