diff options
-rw-r--r-- | src/doc/src/qt-gradle-plugin-topics.qdoc | 4 | ||||
-rw-r--r-- | src/main/groovy/org/qtproject/qt/gradleplugin/QtGradlePlugin.groovy | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/src/qt-gradle-plugin-topics.qdoc b/src/doc/src/qt-gradle-plugin-topics.qdoc index 0ec9271..0410b8e 100644 --- a/src/doc/src/qt-gradle-plugin-topics.qdoc +++ b/src/doc/src/qt-gradle-plugin-topics.qdoc @@ -271,7 +271,7 @@ Other properties are optional and explained below: - \section1 Optional: Qt kit directory + \section1 Optional: Qt ABI directory By default, this is not defined, and Multi-ABIs will be built. If this path is defined, then a build will be done for that kit ABI only. @@ -281,7 +281,7 @@ \tab {qtgradle-snippets-qtKitDir}{tab-groovy-qtKitDir}{Groovy}{} \tabcontent {tab-properties-qtKitDir} \badcode \minqtpatchversion - qt.kitDir=/home/username/qt/build/your-qt-kit + qt.abiPath=/home/username/qt/build/your-qt-kit \endcode \endtabcontent \tabcontent {tab-kotlin-qtKitDir} diff --git a/src/main/groovy/org/qtproject/qt/gradleplugin/QtGradlePlugin.groovy b/src/main/groovy/org/qtproject/qt/gradleplugin/QtGradlePlugin.groovy index 7a4c852..7aa733a 100644 --- a/src/main/groovy/org/qtproject/qt/gradleplugin/QtGradlePlugin.groovy +++ b/src/main/groovy/org/qtproject/qt/gradleplugin/QtGradlePlugin.groovy @@ -21,7 +21,7 @@ class QtGradlePlugin implements Plugin<Project> { def gradleProperties = [ "qt.path": findProperty("qt.path", project), - "qt.kitDir": findProperty("qt.kitDir", project), + "qt.abiPath": findProperty("qt.abiPath", project), "qt.projectPath": findProperty("qt.projectPath", project), "qt.ninjaPath": findProperty("qt.ninjaPath", project), "qt.extraCMakeArguments": findProperty("qt.extraCMakeArguments", project) @@ -30,7 +30,7 @@ class QtGradlePlugin implements Plugin<Project> { def buildTask = project.tasks.register('QtBuildTask', QtBuildTask) { qtPath = gradleProperties["qt.path"] ? Utils.getAbsolutePath(gradleProperties["qt.path"], project) : extension.qtPath - qtKitDir = gradleProperties["qt.kitDir"] ? Utils.getAbsolutePath(gradleProperties["qt.kitDir"], project) + qtKitDir = gradleProperties["qt.abiPath"] ? Utils.getAbsolutePath(gradleProperties["qt.abiPath"], project) : extension.qtKitDir projectPath = gradleProperties["qt.projectPath"] ? Utils.getAbsolutePath(gradleProperties["qt.projectPath"], project) : extension.projectPath |