Example of using QT Contact management system to "package EXE installation package files to publish your program"

Source: Internet
Author: User

"Preface" in the QT database use case "contact"--using SQLite and Qstringlistmodel, we wrote this program, how to package it as a setup file to send to other small partners?

We use

Nsis-2.46-setup.exe "point me to download"

Nisedit2.0.3.exe "point me to download" the two software.

Target

We will be making the installation package effect.

"Install and Run"

"Source Download"

Http://pan.baidu.com/s/1qWLUqWO

Steps

After we developed the program with Qtcreater. The approximate directory is as follows

"QT under the dynamic library is necessary, such as the lack of other libraries, you can use Dependency Walker view" "icon to http://www.easyicon.net/to find a beautiful"

Where the Sqldrivers and platforms directory is under the QT installation directory plugins, because we use the program SQL, of course, copy the Sqldriver directory, there is SQL driver. Platforms should have copied all the contents, otherwise it would have been wrong.

What's in "Sqldrivers"?

"Content in the platforms"

"Open HM NIS Edit New Script Wizard"

"Add Files"

"Add directory Sqldrivers and Platforms"

"Note that the top-level directory, the debug directory, is selected for platform and Sqldrivers."

"Shortcut Icon"

"Set Up Installation Readme"

"Safety Loading and unloading"

So our installation package is ready.

is not very simple.

Example of using QT Contact management system to "package EXE installation package files to publish your program"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.