diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-06-08 20:48:47 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-06-09 09:52:37 +0000 |
commit | 47f5c8f5d58e6dda33fa1c6229800bee2791dd89 (patch) | |
tree | 31ce5d7d7747fa3ef1a3d47860f1fea1a78ddf4c /tests/auto/blackbox/tst_blackboxapple.h | |
parent | ec3ef366a389ec9e6b23d9e3adf38988f2cceac2 (diff) |
Find Xcode module properties using the standard mechanism
This is compatible with older versions of Xcode.
Change-Id: I7828e7aa44ab7d29a62255bb0e3e891a97202f5e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/blackbox/tst_blackboxapple.h')
-rw-r--r-- | tests/auto/blackbox/tst_blackboxapple.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackboxapple.h b/tests/auto/blackbox/tst_blackboxapple.h index e53c4c6dd..1b203bed2 100644 --- a/tests/auto/blackbox/tst_blackboxapple.h +++ b/tests/auto/blackbox/tst_blackboxapple.h @@ -31,6 +31,12 @@ #include "tst_blackboxbase.h" +namespace qbs { +namespace Internal { +class Version; +} // namespace Internal +} // namespace qbs + class TestBlackboxApple : public TestBlackboxBase { Q_OBJECT @@ -56,6 +62,10 @@ private slots: void infoPlist(); void objcArc(); void xcode(); + +private: + QVariantMap findXcode(int *status = nullptr); + qbs::Internal::Version findXcodeVersion(); }; #endif // TST_BLACKBOXAPPLE_H |