[Qt-creator] Building Qt Creator and QBS separately

Christian Kandeler christian.kandeler at qt.io
Mon Apr 25 09:27:05 CEST 2016


On 04/23/2016 04:40 PM, Andrzej Telszewski wrote:
> I tried building QBS with:
>
> qmake-qt5 qbs.pro \
>    QBS_INSTALL_PREFIX=/usr \
>    QBS_LIBRARY_DIRNAME=lib$LIBDIRSUFFIX

You also need "CONFIG+=qbs_enable_project_file_updates" here if you want 
Qt Creator to build against this qbs later.

> and then Qt Creator with:
>
> qmake-qt5 \
>    IDE_LIBRARY_BASENAME="lib$LIBDIRSUFFIX" \
>    LLVM_INSTALL_DIR=/usr \

You mean QBS_INSTALL_DIR?

>    QMAKE_ARGS+=QBS_INSTALL_DIR=/usr \
>    CONFIG+=qbs_enable_project_file_updates \

You don't need this config option for building Creator.

>    qtcreator.pro
> make
> 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.

It should be, unless you really said LLVM instead of QBS on your command 
line.

> Any further pointers?

void *p, *q.


Christian



More information about the Qt-creator mailing list