diff --git a/src/api/avmodel.h b/src/api/avmodel.h
index 321066ce8bd2017cce03443480cd89220a4e324a..6d588e226844628e005f200a5ee0bd1500cb12a3 100644
--- a/src/api/avmodel.h
+++ b/src/api/avmodel.h
@@ -199,7 +199,7 @@ public:
      * Get the current recording path
      * @return recording path
      */
-    QString getRecordPath() const;
+    Q_INVOKABLE QString getRecordPath() const;
     /**
      * Sets the recording path
      * @param path recording path