[Qt-creator] Building Qt Creator and QBS separately

Ralf Nolden nolden at kde.org
Sat Apr 23 16:50:32 CEST 2016


Am Samstag, 23. April 2016, 16:40:57 schrieb Andrzej Telszewski:
> On 22/04/16 20:52, Ralf Nolden wrote:

> make install INSTALL_ROOT=$PKG/usr
> 
> but in both cases QBS is built during Qt Creator built, so the
> pre-installed QBS is not used.
> 
> I'm using QBS git with head at c4ba5e0 and Qt Creator 4.0.0rc1.
> 
> Any further pointers?
In my FreeBSD port, I made sure I don't extract src/shared/qbs, or just rm the 
dir. That should pick it up either way. I guess you only get qbs build because 
the sources are in but it *should* use the system installed.

> 
> >>> 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/…..
> 
> Well, not that independent, since QBS ends up in /usr/bin in that case.
> 
> >>> 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