2016-11-22 13:54:02 +00:00
|
|
|
# Note that the order is important - ucrt(d) has to be first.
|
|
|
|
# Otherwise, the linker might use malloc from a different library,
|
|
|
|
# but free_dbg() from the runtime, causing an assertion failure
|
|
|
|
# due to deleting an item from a different heap.
|
|
|
|
# vcruntime(d) is necessary when we don't link to any libraries
|
|
|
|
# which would pull it in transitively.
|
|
|
|
CONFIG(debug, debug|release): \
|
|
|
|
QMAKE_LIBS = ucrtd.lib vcruntimed.lib $$QMAKE_LIBS
|
|
|
|
else: \
|
|
|
|
QMAKE_LIBS = ucrt.lib vcruntime.lib $$QMAKE_LIBS
|
2015-08-06 13:08:39 +00:00
|
|
|
|
2017-05-08 08:20:08 +00:00
|
|
|
equals(TEMPLATE, "vcapp"):!static: CONFIG += windeployqt
|
2016-03-21 13:45:14 +00:00
|
|
|
|
2015-08-06 13:08:39 +00:00
|
|
|
load(default_pre)
|