summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/winrt/default_pre.prf
blob: 8299950d8bca84b3b9622063bc9b3f5f709ba4c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
*msvc2015 {
    # 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 assert when deleting
    # items from different heaps
    CONFIG(debug, debug|release): \
        QMAKE_LIBS = ucrtd.lib $$QMAKE_LIBS
    else: \
        QMAKE_LIBS = ucrt.lib $$QMAKE_LIBS
}

equals(TEMPLATE, "vcapp"): CONFIG += windeployqt

load(default_pre)