How to include Barcode library
-
Barcode library contain source files and binary file (.dll). How can i include this thirdparty in my project. By using functions of this library i can do the generation of barcode image by giving the string as input. So can anyone help me to do this.
-
@Manasa1744 said in How to include Barcode library:
Barcode library contain source files and binary file (.dll). How can i include this thirdparty in my project. By using functions of this library i can do the generation of barcode image by giving the string as input. So can anyone help me to do this.
It would be helpful to have some more information about the library you want to add (a link to the library for example?)
As you mention dll, I guess you are on Windows. If you want to integrate the DLL, you have to make sure you are using the same compiler that was used to produce the DLL. Otherwise you will have to compile the library yourself.
Then the usual way is to add to your .pro file:
INCLUDEPATH += /path/to/library/include
and
LIBS += -L/path/to/library/lib -llibraryname