[Qt-creator] Building Qt Creator and QBS separately

Ralf Nolden nolden at kde.org
Fri Apr 22 20:52:46 CEST 2016


Am Freitag, 22. April 2016, 18:36:13 schrieb Eike Ziller:
> > On Apr 22, 2016, at 18:39, Andrzej Telszewski <atelszewski at gmail.com>
> > wrote:
 
Hi,

I struggled with this for FreeBSD ports, too, to package up qbs separately and 
qtcreator (without a duplicate of qbs). The solution for me was to build QBS 
first and install it, then build creator with:

QMAKE_ARGS+=    QBS_INSTALL_DIR=${PREFIX} 
CONFIG+=qbs_enable_project_file_updates

That solved the problem for the qbsprojectmanager plugin to pick up the 
installed QBS.


> > Hi,
> > 
> > Is it possible to build QBS and Qt Creator separately?
> > 
> > I mean, I know I can build and install QBS without Qt Creator, but later
> > on, if I build Qt Creator, won't it overwrite the already installed QBS?
> 
> If you build the qbs from the Qt Creator sources, that will produce a
> completely independent qbs install in <qtcreator>/libexec/…..
 
> 
> > I mean: is it possible to first install QBS and later on, when building Qt
> > Creator, tell it to not build QBS, but use the already installed one?
> 
> Should be possible by settings QBS_INSTALL_DIR (env or qmake variable) to
> the alternative QBS installation location (which needs to have headers as
> well).
 It should then not build the qbs that is included in Qt Creator,
> but build against the one in QBS_INSTALL_DIR. 
> Br, Eike
> 
> 
> > -- 
> > Best regards,
> > Andrzej Telszewski
> > _______________________________________________
> > Qt-creator mailing list
> > Qt-creator at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/qt-creator
> 
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Kind regards,

Ralf Nolden




More information about the Qt-creator mailing list