windows: always define UNICODE

This commit is contained in:
Jean-Francois Dockes 2020-06-02 08:47:02 +01:00
parent c84b61a6d8
commit 84c0098f23
2 changed files with 2 additions and 4 deletions

View File

@ -13,9 +13,6 @@ DEFINES += USING_WEBENGINE
QT += xml printsupport
DEFINES += BUILDING_RECOLL
DEFINES -= UNICODE
DEFINES -= _UNICODE
DEFINES += _MBCS
DEFINES += PSAPI_VERSION=1
DEFINES += __WIN32__
@ -110,6 +107,7 @@ INCLUDEPATH += ../common ../index ../internfile ../query ../unac \
../utils ../aspell ../rcldb ../qtgui ../xaposix \
confgui widgets
windows {
DEFINES += UNICODE
RC_FILE = recoll.rc
contains(QMAKE_CC, gcc){
# MingW

View File

@ -10,7 +10,6 @@ TARGET = librecoll
TEMPLATE = lib
DEFINES += LIBRECOLL_LIBRARY BUILDING_RECOLL
DEFINES += UNICODE
DEFINES += PSAPI_VERSION=1
DEFINES += READFILE_ENABLE_MINIZ
DEFINES += READFILE_ENABLE_MD5
@ -131,6 +130,7 @@ INCLUDEPATH += ../../common ../../index ../../internfile ../../query \
../../xaposix ../../confgui ../../bincimapmime
windows {
defines += UNICODE
contains(QMAKE_CC, gcc){
# MingW
# This is necessary to avoid an undefined impl__xmlFree.