Fix linking of qmlimportscanner in MSVC debug builds.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Mon, 28 Apr 2014 11:41:34 +0000 (13:41 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 28 Apr 2014 18:04:42 +0000 (20:04 +0200)
commit6f8f73e74f85ae189f3fdb8619e88fe266204e87
tree61afbf3c89b353e17bfcfd0d63ee329beb68893b
parent68a662a2e15b790080ea12c2434f6e1fe60bda1b
Fix linking of qmlimportscanner in MSVC debug builds.

Qt5QmlDevToolsd.lib(qqmlirbuilder.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl QmlIR::CompiledFunctionOrExpression::CompiledFunctionOrExpression(void)"

Use Q_QML_PRIVATE_EXPORT so that it does not have effect when building
qmldevtools.

Change-Id: I138fe9cba518829d7ec1d0bfe9d4a9d657446c7d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/compiler/qqmlirbuilder_p.h