From 31758401260be3d9a69c028d83457e885be6ce4e Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 23 Apr 2014 15:12:32 +0700 Subject: [PATCH] Fix compile error with vc++ 2013 Qz::VERSION is not exported --- src/lib/app/qzcommon.cpp | 2 +- src/lib/app/qzcommon.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/app/qzcommon.cpp b/src/lib/app/qzcommon.cpp index f88973cc4..70c5d7611 100644 --- a/src/lib/app/qzcommon.cpp +++ b/src/lib/app/qzcommon.cpp @@ -24,7 +24,7 @@ const int sessionVersionQt5 = 0x0003 | 0x050000; const int bookmarksVersion = 1; const char* APPNAME = "QupZilla"; -const char* VERSION = QUPZILLA_VERSION; +QUPZILLA_EXPORT const char* VERSION = QUPZILLA_VERSION; const char* BUILDTIME = __DATE__" "__TIME__; const char* AUTHOR = "David Rosca"; const char* COPYRIGHT = "2010-2014"; diff --git a/src/lib/app/qzcommon.h b/src/lib/app/qzcommon.h index f5620d61a..0d62b8f0e 100644 --- a/src/lib/app/qzcommon.h +++ b/src/lib/app/qzcommon.h @@ -63,7 +63,7 @@ extern const int sessionVersionQt5; extern const int bookmarksVersion; extern const char* APPNAME; -extern const char* VERSION; +QUPZILLA_EXPORT extern const char* VERSION; extern const char* BUILDTIME; extern const char* AUTHOR; extern const char* COPYRIGHT;