Fixed link error when compiling from Qt Creator on Windows.

This commit is contained in:
Leonardo 2018-01-21 12:27:14 -08:00
parent 5c1cfa4bc9
commit 1ee596b7fc
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View file

@ -31,3 +31,4 @@ Makefile
library.bin
leocad_plugin_import.cpp
uic_wrapper.bat
/tools/setup/*.exe

View file

@ -20,7 +20,7 @@ win32 {
QMAKE_LFLAGS += /INCREMENTAL
PRECOMPILED_SOURCE = common/lc_global.cpp
RC_FILE = qt/leocad.rc
LIBS += -ladvapi32 -lshell32 -lopengl32 -lwininet
LIBS += -ladvapi32 -lshell32 -lopengl32 -lwininet -luser32
} else {
PRECOMPILED_HEADER = common/lc_global.h
LIBS += -lz