diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-06-24 15:31:20 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-06-24 16:06:02 +0200 |
commit | 1cbe901b0905a72f83b6c709c467b090ad644c27 (patch) | |
tree | b64a7c97c6da82b9395e23945594bdef0799a7cf /src/qml/common/qqmljsdiagnosticmessage_p.h | |
parent | e72637deed3aee3dd8ebc0b2d980bf18469ad270 (diff) |
Increment private API version and move it into a separate file
The API version should be common to Qml and QmlCompiler and therefore
cannot live in a header specific to Qml.
Change-Id: I033d3925353e02e42886568ea91382a9f2ca2552
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/qml/common/qqmljsdiagnosticmessage_p.h')
-rw-r--r-- | src/qml/common/qqmljsdiagnosticmessage_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/common/qqmljsdiagnosticmessage_p.h b/src/qml/common/qqmljsdiagnosticmessage_p.h index f747578c09..763332ba76 100644 --- a/src/qml/common/qqmljsdiagnosticmessage_p.h +++ b/src/qml/common/qqmljsdiagnosticmessage_p.h @@ -54,6 +54,10 @@ #include <QtCore/qlogging.h> #include <QtCore/qstring.h> +// Include the API version here, to avoid complications when querying it for the +// QQmlSourceLocation -> line/column change. +#include <private/qqmlapiversion_p.h> + QT_BEGIN_NAMESPACE namespace QQmlJS { |