mirror of
https://github.com/leozide/leocad
synced 2024-12-27 21:58:37 +01:00
Fixed generating vcprojs with Qt5.
This commit is contained in:
parent
0f0a55a5df
commit
77efda90ef
1 changed files with 6 additions and 2 deletions
|
@ -12,11 +12,15 @@ win32 {
|
|||
PRECOMPILED_HEADER = lc_global.h
|
||||
QMAKE_CXXFLAGS_WARN_ON += -wd4100
|
||||
DEFINES += _CRT_SECURE_NO_WARNINGS _CRT_SECURE_NO_DEPRECATE=1 _CRT_NONSTDC_NO_WARNINGS=1
|
||||
INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
INCLUDEPATH += $$[QT_INSTALL_HEADERS]/QtZlib
|
||||
} else {
|
||||
INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib
|
||||
}
|
||||
QMAKE_LFLAGS += /INCREMENTAL
|
||||
PRECOMPILED_SOURCE = common/lc_global.cpp
|
||||
RC_FILE = qt/leocad.rc
|
||||
LIBS += -ladvapi32 -lshell32
|
||||
LIBS += -ladvapi32 -lshell32 -lopengl32
|
||||
} else {
|
||||
PRECOMPILED_HEADER = common/lc_global.h
|
||||
LIBS += -lz
|
||||
|
|
Loading…
Reference in a new issue