mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 20:13:32 +01:00
defs.mk: Follow Qt linker flag changes
Remove -lqt-mt from linker flags for qt4 and add -lQtSql -lQtNetwork -lQtOpenGL -lQtDesigner_debug -lQtGui_debug -lQtCore_debug
This commit is contained in:
parent
0c2a927849
commit
2429282aa5
1 changed files with 5 additions and 1 deletions
|
|
@ -209,7 +209,11 @@ OBJ += $(patsubst %.cpp,%.o,$(UIC_CPP))
|
|||
OBJ += $(patsubst %.cpp,%.o,$(RCC_CPP))
|
||||
|
||||
ifdef REENTRANT
|
||||
LPPFLAGS += -L$(QT_PREFIX)/lib -lqt-mt
|
||||
ifneq ($(QT_VERSION),4)
|
||||
LPPFLAGS += -L$(QT_PREFIX)/lib -lqt-mt
|
||||
else
|
||||
LPPFLAGS += -L$(QT_PREFIX)/lib -lQtSql -lQtNetwork -lQtOpenGL -lQtDesigner_debug -lQtGui_debug -lQtCore_debug
|
||||
endif
|
||||
else
|
||||
ifneq ($(QT_VERSION),4)
|
||||
LPPFLAGS += -L$(QT_PREFIX)/lib -lqt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue