Browse Source

Make sure Windows builds suport Unicode, not ASCII.

Makes sure all Windows code interfaces nicely with Qt. Also required
for utils and qupgrade libraries to compile.
QGC4.4
Bryant 11 years ago
parent
commit
5e88241d42
  1. 4
      qgroundcontrol.pro

4
qgroundcontrol.pro

@ -110,6 +110,10 @@ WindowsBuild { @@ -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

Loading…
Cancel
Save