aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorummjackson <[email protected]>2014-01-20 00:29:31 +1100
committerummjackson <[email protected]>2014-01-20 00:29:31 +1100
commit57f23ad9a05908783b7b94a96dc7a4639f79afdb (patch)
tree69e8529a5fcccba3ccac182c7d042d5dbb7187f7
parentUpdate README.md (diff)
downloaddiscoin-57f23ad9a05908783b7b94a96dc7a4639f79afdb.tar.xz
discoin-57f23ad9a05908783b7b94a96dc7a4639f79afdb.zip
Updates to fix Windows crash errors
Handles exceptions properly. Stops crashing on Windows upon exit or applying settings.
-rw-r--r--dogecoin-qt.pro5
1 files changed, 3 insertions, 2 deletions
diff --git a/dogecoin-qt.pro b/dogecoin-qt.pro
index 70fec4929..f51f3a8ec 100644
--- a/dogecoin-qt.pro
+++ b/dogecoin-qt.pro
@@ -5,9 +5,10 @@ VERSION = 0.8.6.1
INCLUDEPATH += src src/json src/qt
QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
-DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE
+DEFINES += _MT WIN32 _WINDOWS QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE
CONFIG += no_include_pwd
CONFIG += thread
+CONFIG += exceptions
# for boost 1.37, add -mt to the boost libraries
# use: qmake BOOST_LIB_SUFFIX=-mt
@@ -50,7 +51,7 @@ win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat
# on Windows: enable GCC large address aware linker flag
win32:QMAKE_LFLAGS *= -Wl,--large-address-aware
# i686-w64-mingw32
-win32:QMAKE_LFLAGS *= -static-libgcc -static-libstdc++
+# win32:QMAKE_LFLAGS *= -static-libgcc -static-libstdc++
# use: qmake "USE_QRCODE=1"
# libqrencode (http://fukuchi.org/works/qrencode/index.en.html) must be installed for support