diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-06-07 01:56:52 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-06-07 16:39:00 +0000 |
commit | 2e35e2f17ccf163da70d59b72b4586cdb18ad732 (patch) | |
tree | d68a6ebb32bb25651b952b0fe1c5c0ae9d3e4724 /examples/qml/tutorials/extending-qml | |
parent | f8befff6dceb33c6544bccb99091ca561056af83 (diff) |
Replace Q_OS_OSX with Q_OS_MACOS
Change-Id: I1e408b9676a9bfc299dcd45f1c790827e316db30
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit bec0b8a05d349a052504b9c11caa259a63012210)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/qml/tutorials/extending-qml')
-rw-r--r-- | examples/qml/tutorials/extending-qml/chapter6-plugins/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/main.cpp b/examples/qml/tutorials/extending-qml/chapter6-plugins/main.cpp index 3475401ebd..ca32bd91b4 100644 --- a/examples/qml/tutorials/extending-qml/chapter6-plugins/main.cpp +++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/main.cpp @@ -9,7 +9,7 @@ int main(int argc, char *argv[]) QGuiApplication app(argc, argv); //![0] QQuickView view; -#ifdef Q_OS_OSX +#ifdef Q_OS_MACOS view.engine()->addImportPath(app.applicationDirPath() + "/../PlugIns"); #endif //![0] |