From 68087d5a3fda6a0a8772f92ce2d743b4aff80bb9 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Thu, 25 Sep 2014 15:00:15 +0200 Subject: [PATCH] QzCommon: Export all static strings (appname, buildtime, ..) --- src/lib/app/qzcommon.cpp | 12 ++++++------ src/lib/app/qzcommon.h | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/lib/app/qzcommon.cpp b/src/lib/app/qzcommon.cpp index 70c5d7611..13ae9e106 100644 --- a/src/lib/app/qzcommon.cpp +++ b/src/lib/app/qzcommon.cpp @@ -23,11 +23,11 @@ const int sessionVersion = 0x0003; const int sessionVersionQt5 = 0x0003 | 0x050000; const int bookmarksVersion = 1; -const char* APPNAME = "QupZilla"; +QUPZILLA_EXPORT const char* APPNAME = "QupZilla"; QUPZILLA_EXPORT const char* VERSION = QUPZILLA_VERSION; -const char* BUILDTIME = __DATE__" "__TIME__; -const char* AUTHOR = "David Rosca"; -const char* COPYRIGHT = "2010-2014"; -const char* WWWADDRESS = "http://www.qupzilla.com"; -const char* WIKIADDRESS = "https://github.com/QupZilla/qupzilla/wiki"; +QUPZILLA_EXPORT const char* BUILDTIME = __DATE__" "__TIME__; +QUPZILLA_EXPORT const char* AUTHOR = "David Rosca"; +QUPZILLA_EXPORT const char* COPYRIGHT = "2010-2014"; +QUPZILLA_EXPORT const char* WWWADDRESS = "http://www.qupzilla.com"; +QUPZILLA_EXPORT const char* WIKIADDRESS = "https://github.com/QupZilla/qupzilla/wiki"; } diff --git a/src/lib/app/qzcommon.h b/src/lib/app/qzcommon.h index 0d62b8f0e..73f861542 100644 --- a/src/lib/app/qzcommon.h +++ b/src/lib/app/qzcommon.h @@ -62,13 +62,13 @@ extern const int sessionVersionQt5; // Version of bookmarks.json file extern const int bookmarksVersion; -extern const char* APPNAME; +QUPZILLA_EXPORT extern const char* APPNAME; QUPZILLA_EXPORT extern const char* VERSION; -extern const char* BUILDTIME; -extern const char* AUTHOR; -extern const char* COPYRIGHT; -extern const char* WWWADDRESS; -extern const char* WIKIADDRESS; +QUPZILLA_EXPORT extern const char* BUILDTIME; +QUPZILLA_EXPORT extern const char* AUTHOR; +QUPZILLA_EXPORT extern const char* COPYRIGHT; +QUPZILLA_EXPORT extern const char* WWWADDRESS; +QUPZILLA_EXPORT extern const char* WIKIADDRESS; enum BrowserWindowType { BW_FirstAppWindow,