diff --git a/llcon.pro b/llcon.pro index 09c0fe3e..5514fb16 100755 --- a/llcon.pro +++ b/llcon.pro @@ -1,3 +1,5 @@ +VERSION = 3.3.1cvs + TARGET = Jamulus CONFIG += qt \ @@ -15,7 +17,8 @@ INCLUDEPATH += src \ libs/opus/silk \ libs/opus/silk/float -DEFINES += OPUS_BUILD \ +DEFINES += APP_VERSION=\\\"$$VERSION\\\" \ + OPUS_BUILD \ USE_ALLOCA \ CUSTOM_MODES \ _REENTRANT diff --git a/src/global.h b/src/global.h index 4a4e83c9..635e162c 100755 --- a/src/global.h +++ b/src/global.h @@ -69,9 +69,9 @@ LED bar: lbr //#define _DEBUG_ #undef _DEBUG_ -// version and application name (always use this version) +// version and application name (use version from qt prject file) #undef VERSION -#define VERSION "3.3.1cvs" +#define VERSION APP_VERSION #define APP_NAME "Jamulus" // Windows registry key name of auto run entry for the server