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
|
library.bin
|
||||||
leocad_plugin_import.cpp
|
leocad_plugin_import.cpp
|
||||||
uic_wrapper.bat
|
uic_wrapper.bat
|
||||||
|
/tools/setup/*.exe
|
||||||
|
|
|
@ -2,8 +2,8 @@ QT += core gui opengl network xml
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
QT *= printsupport
|
QT *= printsupport
|
||||||
QT += concurrent
|
QT += concurrent
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDEPATH += qt common
|
INCLUDEPATH += qt common
|
||||||
|
@ -20,7 +20,7 @@ win32 {
|
||||||
QMAKE_LFLAGS += /INCREMENTAL
|
QMAKE_LFLAGS += /INCREMENTAL
|
||||||
PRECOMPILED_SOURCE = common/lc_global.cpp
|
PRECOMPILED_SOURCE = common/lc_global.cpp
|
||||||
RC_FILE = qt/leocad.rc
|
RC_FILE = qt/leocad.rc
|
||||||
LIBS += -ladvapi32 -lshell32 -lopengl32 -lwininet
|
LIBS += -ladvapi32 -lshell32 -lopengl32 -lwininet -luser32
|
||||||
} else {
|
} else {
|
||||||
PRECOMPILED_HEADER = common/lc_global.h
|
PRECOMPILED_HEADER = common/lc_global.h
|
||||||
LIBS += -lz
|
LIBS += -lz
|
||||||
|
|
Loading…
Reference in a new issue