Skip to content

Commit

Permalink
QMAKE_CFLAGS, QMAKE_CXXFLAGS, QMAKE_LFLAGS: add -municode
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKepzie committed Oct 7, 2016
1 parent d4eea99 commit 16b9ba0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion global.pri
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,9 @@ win32 {
win32-g++ {
# -municode is needed for linking because it uses wmain() instead of the traditional main()
# https://sourceforge.net/p/mingw-w64/wiki2/Unicode%20apps/
LIBS += -municode
QMAKE_CFLAGS += -municode
QMAKE_CXXFLAGS += -municode
QMAKE_LFLAGS += -municode
}

win32-msvc* {
Expand Down

0 comments on commit 16b9ba0

Please sign in to comment.