[Qbs] Construction project.buildDirectory

Карелин Павел hkarel at yandex.ru
Thu Dec 19 14:35:22 CET 2019


Hello

My colleague decided to try QtCreator 4.11 (QBS 1.15), and faced a problem.
At this project the QtCreator 4.11 issues a mistake:

import qbs
Project {
     minimumQbsVersion: "1.12.0"

     Probe {
         id: projectProbe

         readonly property string projectBuildDirectory: 
project.buildDirectory
         readonly property string projectSourceDirectory: 
project.sourceDirectory

         configure: {
             // ...
         }
     }
}


At the same time, on Qt Creator 4.10.2 this project opens normally.
Why is the "project.buildDirectory" construct no longer valid at the 
project level?

--
BR, Pavel Karelin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20191219/e8bc9dd4/attachment.html>


More information about the Qbs mailing list