• 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: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
    e1e20359
Name
Last commit
Last update
bin Loading commit data...
dist Loading commit data...
doc Loading commit data...
qbs Loading commit data...
scripts Loading commit data...
share Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
HACKING Loading commit data...
LICENSE.GPL3-EXCEPT Loading commit data...
README.md Loading commit data...
qtcreator.pri Loading commit data...
qtcreator.pro Loading commit data...
qtcreator.qbs Loading commit data...
qtcreatordata.pri Loading commit data...