Skip to content
  • Christian Kandeler's avatar
    qbs build: Final steps to support building plugins "out of source". · e1e20359
    Christian Kandeler authored
    
    
    - Use the entire Export block when creating a module, not just the
      Depends items. Adapt references to the product source directory
      and the "share" directory so that they point to the respective
      locations in the install tree.
    - Install dev headers for some more plugins.
    - Bug fixes & polishing.
    
    Create a "dev installation" like this:
    $ qbs qtc.make_dev_package:true qbs.installRoot:<install root>
    
    Then build your plugin against it like this:
    $ qbs qtc.make_dev_package:true qbs.installRoot:<install root>
    project.qbsSearchPaths:<install root>/qbs-resources
    (Using qbs from 1.5 branch; 1.5.1 requires a trivial wrapper project.)
    
    That's all. Successfully tested with all commercial plugins on Linux.
    
    Change-Id: Ie39c4717dafcd431c533421a15f2f898783d8521
    Reviewed-by: Jake Petroules's avatarJake Petroules <jake.petroules@qt.io>
    Reviewed-by: default avatarOrgad Shaneh <orgads@gmail.com>
    e1e20359