Skip to content

Commit 1ee596b

Browse files
committed
Fixed link error when compiling from Qt Creator on Windows.
1 parent 5c1cfa4 commit 1ee596b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ Makefile
3131
library.bin
3232
leocad_plugin_import.cpp
3333
uic_wrapper.bat
34+
/tools/setup/*.exe

leocad.pro

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ QT += core gui opengl network xml
22
TEMPLATE = app
33

44
greaterThan(QT_MAJOR_VERSION, 4) {
5-
QT *= printsupport
6-
QT += concurrent
5+
QT *= printsupport
6+
QT += concurrent
77
}
88

99
INCLUDEPATH += qt common
@@ -20,7 +20,7 @@ win32 {
2020
QMAKE_LFLAGS += /INCREMENTAL
2121
PRECOMPILED_SOURCE = common/lc_global.cpp
2222
RC_FILE = qt/leocad.rc
23-
LIBS += -ladvapi32 -lshell32 -lopengl32 -lwininet
23+
LIBS += -ladvapi32 -lshell32 -lopengl32 -lwininet -luser32
2424
} else {
2525
PRECOMPILED_HEADER = common/lc_global.h
2626
LIBS += -lz

0 commit comments

Comments
 (0)