Fixed generating vcprojs with Qt5.

This commit is contained in:
Leonardo Zide 2016-12-21 18:47:04 -08:00
parent 0f0a55a5df
commit 77efda90ef

View file

@ -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