bugfix: staticlib also built a shared lib

This commit is contained in:
Jan W. Krieger 2018-12-28 18:34:12 +01:00
parent 5beed78563
commit ef73641404
5 changed files with 7 additions and 7 deletions

View File

@ -10,12 +10,12 @@ There are several `.PRO`-files, that can be used to build the full library, or a
```qmake ```qmake
# include JKQtPlotter library # include JKQtPlotter library
DEPENDPATH += . <PATHTOJKQTPLOTTERDIR>/lib DEPENDPATH += <PATHTOJKQTPLOTTERDIR>/lib
INCLUDEPATH += <PATHTOJKQTPLOTTERDIR>/lib INCLUDEPATH += <PATHTOJKQTPLOTTERDIR>/lib
CONFIG (debug, debug|release) { CONFIG (debug, debug|release) {
LIBS += -L<PATHTOJKQTPLOTTERDIR>/staticlib/debug -ljkqtplotterlib_debug LIBS += -L<PATHTOJKQTPLOTTERDIR>/sharedlib/debug -ljkqtplotterlib_debug
} else { } else {
LIBS += -L<PATHTOJKQTPLOTTERDIR>/staticlib/release -ljkqtplotterlib LIBS += -L<PATHTOJKQTPLOTTERDIR>/sharedlib/release -ljkqtplotterlib
} }
``` ```

View File

@ -10,7 +10,7 @@ There are several `.PRO`-files, that can be used to build the full library, or a
```qmake ```qmake
# include JKQtPlotter library # include JKQtPlotter library
DEPENDPATH += . <PATHTOJKQTPLOTTERDIR>/lib DEPENDPATH += <PATHTOJKQTPLOTTERDIR>/lib
INCLUDEPATH += <PATHTOJKQTPLOTTERDIR>/lib INCLUDEPATH += <PATHTOJKQTPLOTTERDIR>/lib
CONFIG (debug, debug|release) { CONFIG (debug, debug|release) {
LIBS += -L<PATHTOJKQTPLOTTERDIR>/staticlib/debug -ljkqtplotterlib_debug LIBS += -L<PATHTOJKQTPLOTTERDIR>/staticlib/debug -ljkqtplotterlib_debug

View File

@ -2,6 +2,6 @@ TARGET = jkqtfastplotterlib
CONFIG (debug, debug|release): TARGET = jkqtfastplotterlib_debug CONFIG (debug, debug|release): TARGET = jkqtfastplotterlib_debug
TEMPLATE = lib TEMPLATE = lib
CONFIG+=dll CONFIG+=staticlib
include(../lib/jkqtfastplotter.pri) include(../lib/jkqtfastplotter.pri)

View File

@ -2,6 +2,6 @@ TARGET = jkqtmathtextlib
CONFIG (debug, debug|release): TARGET = jkqtmathtextlib_debug CONFIG (debug, debug|release): TARGET = jkqtmathtextlib_debug
TEMPLATE = lib TEMPLATE = lib
CONFIG+=dll CONFIG+=staticlib
include(../lib/jkqtmathtext.pri) include(../lib/jkqtmathtext.pri)

View File

@ -2,6 +2,6 @@ TARGET = jkqtplotterlib
CONFIG (debug, debug|release): TARGET = jkqtplotterlib_debug CONFIG (debug, debug|release): TARGET = jkqtplotterlib_debug
TEMPLATE = lib TEMPLATE = lib
CONFIG += dll CONFIG += staticlib
include(../lib/jkqtplotter.pri) include(../lib/jkqtplotter.pri)