diff --git a/QtWebApp/CMakeLists.txt b/QtWebApp/CMakeLists.txt index ff17b3d..3de8e14 100644 --- a/QtWebApp/CMakeLists.txt +++ b/QtWebApp/CMakeLists.txt @@ -2,8 +2,8 @@ cmake_minimum_required(VERSION 3.1) project(QtWebApp CXX) set(qtwebapp_MAJOR 1) -set(qtwebapp_MINOR 7) -set(qtwebapp_PATCH 11) +set(qtwebapp_MINOR 8) +set(qtwebapp_PATCH 3) set(qtwebapp_VERSION ${qtwebapp_MAJOR}.${qtwebapp_MINOR}.${qtwebapp_PATCH}) find_package(Qt5 REQUIRED COMPONENTS Core Network) diff --git a/QtWebApp/qtwebappglobal.h.in b/QtWebApp/qtwebappglobal.h.in index 172e2ac..de02eaf 100644 --- a/QtWebApp/qtwebappglobal.h.in +++ b/QtWebApp/qtwebappglobal.h.in @@ -1,9 +1,8 @@ #pragma once -#include - -#include #include +#include +#include #define QTWEBAPP_MAJOR @qtwebapp_MAJOR@ #define QTWEBAPP_MINOR @qtwebapp_MINOR@ @@ -12,17 +11,17 @@ #define QTWEBAPP_VERSION_STR "@qtwebapp_VERSION@" #ifdef CMAKE_QTWEBAPP_SO -# define QTWEBAPP_EXPORT Q_DECL_EXPORT +#define QTWEBAPP_EXPORT Q_DECL_EXPORT #else -# define QTWEBAPP_EXPORT Q_DECL_IMPORT +#define QTWEBAPP_EXPORT Q_DECL_IMPORT #endif namespace qtwebapp { -/// The version of QtWebApp. -QTWEBAPP_EXPORT const char* getQtWebAppLibVersion(); + /// The version of QtWebApp. + QTWEBAPP_EXPORT const char *getQtWebAppLibVersion(); -/// Parses the given number by respecting its suffix. -QTWEBAPP_EXPORT int parseNum(const QVariant &v, int base = 1e3); + /// Parses the given number by respecting its suffix. + QTWEBAPP_EXPORT int parseNum(const QVariant &v, int base = 1e3); -} +} // namespace qtwebapp