mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-26 02:21:43 +08:00
bugfix: staticlib also built a shared lib
This commit is contained in:
parent
5beed78563
commit
ef73641404
@ -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
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user