comparison ui/mainwindow.cpp @ 1093:153af47456d0

Add option "USE_REAL_RESOURCES" to avoid the if 1 dance for test/release builds. If the option is not set the download resource is trustbridge-development.*
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 15 Sep 2014 10:17:17 +0200
parents 0ae3c99b82ee
children 03a1f3761f45
comparison
equal deleted inserted replaced
1092:02fd9992ccc9 1093:153af47456d0
63 #define TB_ARCH_STRING "-i386" 63 #define TB_ARCH_STRING "-i386"
64 #else 64 #else
65 #define TB_ARCH_STRING "-amd64" 65 #define TB_ARCH_STRING "-amd64"
66 #endif 66 #endif
67 67
68 #if 1 68 #ifdef USE_REAL_RESOURCES
69 # define LIST_RESOURCE "/zertifikatsliste.txt" 69 # define LIST_RESOURCE "/zertifikatsliste.txt"
70 # ifdef Q_OS_WIN 70 # ifdef Q_OS_WIN
71 # define SW_RESOURCE_VERSION "/TrustBridge-%1.exe" 71 # define SW_RESOURCE_VERSION "/TrustBridge-%1.exe"
72 # define SW_RESOURCE "/TrustBridge.exe" 72 # define SW_RESOURCE "/TrustBridge.exe"
73 # else 73 # else

http://wald.intevation.org/projects/trustbridge/