summaryrefslogtreecommitdiffstats
path: root/src/sdk/sdkapp.h
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2021-01-21 10:09:51 +0200
committerArttu Tarkiainen <arttu.tarkiainen@qt.io>2021-01-21 11:07:45 +0200
commit08bdace731aeeb34b50f5988223ed5c23a8cbb56 (patch)
tree081941ae38601a4be12e9999acd7b322b908ba96 /src/sdk/sdkapp.h
parentbf7e1bea802321590112c83f65772a87de34f878 (diff)
Set "FrameworkVersion" in a place consistent with other variables
Also document the predefined variable. Change-Id: I733bd4dfd245d300994e85c9ebb4b34a7c51de45 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'src/sdk/sdkapp.h')
-rw-r--r--src/sdk/sdkapp.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/sdk/sdkapp.h b/src/sdk/sdkapp.h
index 295456e3b..79c112642 100644
--- a/src/sdk/sdkapp.h
+++ b/src/sdk/sdkapp.h
@@ -57,9 +57,6 @@
#include <QMessageBox>
#include <QMetaEnum>
-#define QUOTE_(x) #x
-#define QUOTE(x) QUOTE_(x)
-
template<class T>
class SDKApp : public T
{
@@ -194,8 +191,6 @@ public:
QUuid::createUuid().toString(), QUuid::createUuid().toString(),
QInstaller::Protocol::Mode::Production, userArgs, isCommandLineInterface);
}
- // Set this for convenience usage with the installer JS object
- m_core->setValue(QLatin1String("FrameworkVersion"), QLatin1String(QUOTE(IFW_VERSION_STR)));
// From Qt5.8 onwards system proxy is used by default. If Qt is built with
// QT_USE_SYSTEM_PROXIES false then system proxies are not used by default.