Windows: Export symbols when compiling shared library

This commit is contained in:
Razi Alavizadeh 2018-12-29 21:37:00 +03:30
parent 31a066846e
commit f3d07e97ba
3 changed files with 15 additions and 0 deletions

View File

@ -4,4 +4,9 @@ CONFIG (debug, debug|release): TARGET = jkqtfastplotterlib_debug
TEMPLATE = lib
CONFIG+=dll
win32 {
DEFINES += LIB_IN_DLL
DEFINES += LIB_EXPORT_LIBRARY
}
include(../lib/jkqtfastplotter.pri)

View File

@ -4,4 +4,9 @@ CONFIG (debug, debug|release): TARGET = jkqtmathtextlib_debug
TEMPLATE = lib
CONFIG+=dll
win32 {
DEFINES += LIB_IN_DLL
DEFINES += LIB_EXPORT_LIBRARY
}
include(../lib/jkqtmathtext.pri)

View File

@ -4,4 +4,9 @@ CONFIG (debug, debug|release): TARGET = jkqtplotterlib_debug
TEMPLATE = lib
CONFIG += dll
win32 {
DEFINES += LIB_IN_DLL
DEFINES += LIB_EXPORT_LIBRARY
}
include(../lib/jkqtplotter.pri)