diff options
author | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2015-07-10 11:54:41 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2015-07-14 11:45:04 +0000 |
commit | 7530807cb040224a2ed31e290ed6f2fb7fc75574 (patch) | |
tree | 52e06de5db9b907b63cae25abc7ac50205379702 /src/libs/installer/packagemanagercoredata.h | |
parent | b4a2001d65e13f006da03d39e56a0d989117c597 (diff) |
Make the installation relocatable (with some limitations).
Replace the install path with a constant that's updated while
loading the stored configuration and operation values. Dynamic
variables now need to be set after reading the .ini file, cause
there we store the values we found during installation. Makes
an installation relocatable, though with some limitations:
* Uninstaller entry might break on Windows
* Start menu sortcuts might break on Windows
* Everything else written to the system using full path
Task-number: QTIFW-653
Change-Id: Ie3255299460d4ad7f18c88de9044c95db10d17ac
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/packagemanagercoredata.h')
-rw-r--r-- | src/libs/installer/packagemanagercoredata.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/installer/packagemanagercoredata.h b/src/libs/installer/packagemanagercoredata.h index b9e94878d..6e29ca79e 100644 --- a/src/libs/installer/packagemanagercoredata.h +++ b/src/libs/installer/packagemanagercoredata.h @@ -46,9 +46,10 @@ public: explicit PackageManagerCoreData(const QHash<QString, QString> &variables); void clear(); + void setDynamicPredefinedVariables(); Settings &settings() const; - QList<QString> keys() const; + QStringList keys() const; bool contains(const QString &key) const; bool setValue(const QString &key, const QString &normalizedValue); |