mirror of
https://github.com/leozide/leocad
synced 2025-01-15 15:40:48 +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
|
PRECOMPILED_HEADER = lc_global.h
|
||||||
QMAKE_CXXFLAGS_WARN_ON += -wd4100
|
QMAKE_CXXFLAGS_WARN_ON += -wd4100
|
||||||
DEFINES += _CRT_SECURE_NO_WARNINGS _CRT_SECURE_NO_DEPRECATE=1 _CRT_NONSTDC_NO_WARNINGS=1
|
DEFINES += _CRT_SECURE_NO_WARNINGS _CRT_SECURE_NO_DEPRECATE=1 _CRT_NONSTDC_NO_WARNINGS=1
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
|
INCLUDEPATH += $$[QT_INSTALL_HEADERS]/QtZlib
|
||||||
|
} else {
|
||||||
INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib
|
INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib
|
||||||
|
}
|
||||||
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
|
LIBS += -ladvapi32 -lshell32 -lopengl32
|
||||||
} else {
|
} else {
|
||||||
PRECOMPILED_HEADER = common/lc_global.h
|
PRECOMPILED_HEADER = common/lc_global.h
|
||||||
LIBS += -lz
|
LIBS += -lz
|
||||||
|
|
Loading…
Reference in a new issue