qt project directory configuration

Using Qt project, often in the .pro file configuration directory. Beginners sometimes more confused, like me. I am here by calling a dll project to explain.

Code Resources: testMysqlDB

As the name suggests, this is an example of the mysql call.

Briefly explain: two works, a dll, a call dll; dll is a library package mysql function; used here is msvc2015_64 compiler

 

I, on the dll

 

 Figure numbers:

1, indicating that you want to build a dynamic library.

2, I personally feel that this is similar to the predefined vs in here is used to mark the export or import.

 

 3, Description: later found less than this path, I do not want to modify.

4, (⊙o⊙) ... that I do not know what that means.

5, dll storage directory.

 

Second, with regard to the calling program

 

1, the first file directory.

2, the build directory exe; import catalogs.

Control can be downloaded over the sample program .

 

Guess you like

Origin www.cnblogs.com/warmlight/p/12598099.html
Recommended