diff options
author | Tasuku Suzuki <stasuku@gmail.com> | 2012-11-23 04:21:49 +0900 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-26 18:47:20 +0100 |
commit | cedaf867421f4c43a2da712f00e9626e64c8b250 (patch) | |
tree | 6337786b200cb9e198531456439719de5187827e /src/qml/qml/qqmlinstruction_p.h | |
parent | 31151e232eeeefa929796580a489b9bd851590bb (diff) |
Enable mobule build with QT_NO_TRANSLATION
Change-Id: Id7aeef0d499f48ddc64b4ea3e4dc713db8458c38
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Alan Alpert (RIM) <aalpert@rim.com>
Diffstat (limited to 'src/qml/qml/qqmlinstruction_p.h')
-rw-r--r-- | src/qml/qml/qqmlinstruction_p.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlinstruction_p.h b/src/qml/qml/qqmlinstruction_p.h index 6c1e4ab298..62ed0d53d5 100644 --- a/src/qml/qml/qqmlinstruction_p.h +++ b/src/qml/qml/qqmlinstruction_p.h @@ -85,8 +85,8 @@ QT_BEGIN_NAMESPACE F(StoreJSValueBool, storeBool) \ F(StoreStringList, storeString) \ F(StoreStringQList, storeString) \ - F(StoreTrString, storeTrString) \ - F(StoreTrIdString, storeTrIdString) \ + F_TRANSLATION(F, StoreTrString, storeTrString) \ + F_TRANSLATION(F, StoreTrIdString, storeTrIdString) \ F(StoreByteArray, storeByteArray) \ F(StoreUrl, storeUrl) \ F(StoreUrlQList, storeUrl) \ @@ -136,6 +136,12 @@ QT_BEGIN_NAMESPACE F(FetchValueType, fetchValue) \ F(PopValueType, fetchValue) +#ifndef QT_NO_TRANSLATION +#define F_TRANSLATION(F, I, FMT) F(I, FMT) +#else +#define F_TRANSLATION(F, I, FMT) +#endif + #if defined(Q_CC_GNU) && (!defined(Q_CC_INTEL) || __INTEL_COMPILER >= 1200) # define QML_THREADED_VME_INTERPRETER #endif |