diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-05-22 12:02:12 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-07-02 16:46:11 +0200 |
commit | e264281c4810bb0afb07e8f590fc31e504d5e4d0 (patch) | |
tree | 1bf8a9f0aaf1f6734e4acf53003a681048156efd /src/lib/corelib/tools/profile.h | |
parent | 9297ea217284e2279f2d4471b3f8fc754dc5fe71 (diff) |
Make it possible to set profiles per product.
Use case 1: Build product A for architecture X and product B
for architecture Y (e.g. host tools vs target libraries).
Use case 2: Build product A for architectures X and Y and
product B only for architecture X (e.g. Android
multi-arch packages).
Change-Id: I2eb721c37cdd12c298ee12bad60e21e94b04676b
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/corelib/tools/profile.h')
-rw-r--r-- | src/lib/corelib/tools/profile.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/corelib/tools/profile.h b/src/lib/corelib/tools/profile.h index 468a72f2b..1c4911230 100644 --- a/src/lib/corelib/tools/profile.h +++ b/src/lib/corelib/tools/profile.h @@ -79,7 +79,8 @@ private: }; namespace Internal { -class TemporaryProfile { +// Exported for autotests. +class QBS_EXPORT TemporaryProfile { public: TemporaryProfile(const QString &name, Settings *settings) : p(name, settings) {} ~TemporaryProfile() { p.removeProfile(); } |