Details
Description
/usr/share/qbs/imports/qbs/base/MyApp.qbs
Product { property string myProperty }
bugreport.qbs
import qbs //this work MyApp { property string bundleExtension type: qbs.targetOS.contains("darwin") ? "applicationbundle" : "application" files: ["main.cpp"] }
===========================================
/usr/share/qbs/imports/myimport/base/MyApp.qbs
Product { property string myProperty }
bugreport.qbs
import myimport //this doesn't work MyApp { property string bundleExtension type: qbs.targetOS.contains("darwin") ? "applicationbundle" : "application" files: ["main.cpp"] }
Output:
Warning: preferences.qbsPath is deprecated, use preferences.qbsSearchPaths instead.
No build graph exists yet for this configuration.
Resolving project for configuration qtqbs-debug
ERROR: ----/bugreport.qbs:6:9 Property 'files' is not declared.