diff --git a/qgroundcontrol.pro b/qgroundcontrol.pro index e16dc23f70a3685949fd1a324bf15994f904025a..bdaf67dc14c015d78f8e36ca7ef3a8da95e44997 100644 --- a/qgroundcontrol.pro +++ b/qgroundcontrol.pro @@ -110,6 +110,10 @@ WindowsBuild { QMAKE_CXXFLAGS_DEBUG += -MP QMAKE_CXXFLAGS_RELEASE += -MP + # Specify that the Unicode versions of string functions should be used in the Windows API. + # Without this the utils and qserialport libraries crash. + DEFINES += UNICODE + # QWebkit is not needed on MS-Windows compilation environment CONFIG -= webkit