diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-06-07 01:56:52 +0200 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-06-07 16:26:23 +0200 |
| commit | bec0b8a05d349a052504b9c11caa259a63012210 (patch) | |
| tree | 0a1883dc0f0d66fd6a52606d96478d14badb1195 /examples/qml/tutorials/extending-qml/chapter6-plugins | |
| parent | 2dc17a45fb586ef81fca43d60f079d053b66ac12 (diff) | |
Replace Q_OS_OSX with Q_OS_MACOS
Pick-to: 6.5 6.6
Change-Id: I1e408b9676a9bfc299dcd45f1c790827e316db30
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter6-plugins')
| -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] |
