summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/win32/windows.prf
blob: f037c1a7136bc93a750db6515eeede2d58ddd03f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CONFIG -= console
contains(TEMPLATE, ".*app"){
    QMAKE_LFLAGS += $$QMAKE_LFLAGS_WINDOWS
    win32-g++:DEFINES += QT_NEEDS_QMAIN
    win32-borland:DEFINES += QT_NEEDS_QMAIN

    qt:for(entryLib, $$list($$unique(QMAKE_LIBS_QT_ENTRY))) {
        isEqual(entryLib, -lqtmain): {
            CONFIG(debug, debug|release): QMAKE_LIBS += $${entryLib}d
            else: QMAKE_LIBS += $${entryLib}
        } else {
            QMAKE_LIBS += $${entryLib}
        }
    }
}