mirror of
https://github.com/leozide/leocad
synced 2024-12-25 21:58:23 +01:00
Fixed link error when compiling from Qt Creator on Windows.
This commit is contained in:
parent
5c1cfa4bc9
commit
1ee596b7fc
2 changed files with 4 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -31,3 +31,4 @@ Makefile
|
|||
library.bin
|
||||
leocad_plugin_import.cpp
|
||||
uic_wrapper.bat
|
||||
/tools/setup/*.exe
|
||||
|
|
|
@ -2,8 +2,8 @@ QT += core gui opengl network xml
|
|||
TEMPLATE = app
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
QT *= printsupport
|
||||
QT += concurrent
|
||||
QT *= printsupport
|
||||
QT += concurrent
|
||||
}
|
||||
|
||||
INCLUDEPATH += qt common
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue