> On Apr 23, 2016, at 4:40 PM, Andrzej Telszewski <[email protected]> wrote: > > On 22/04/16 20:52, Ralf Nolden wrote: >> Am Freitag, 22. April 2016, 18:36:13 schrieb Eike Ziller: >>>> On Apr 22, 2016, at 18:39, Andrzej Telszewski <[email protected]> >>>> 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. >> > > I tried building QBS with: > > qmake-qt5 qbs.pro \ > QBS_INSTALL_PREFIX=/usr \ > QBS_LIBRARY_DIRNAME=lib$LIBDIRSUFFIX > make > make docs > make install INSTALL_ROOT=$PKG > > and > > qmake-qt5 qbs.pro \ > QBS_INSTALL_PREFIX=/ \ > QBS_LIBRARY_DIRNAME=lib$LIBDIRSUFFIX > make > make docs > make install INSTALL_ROOT=$PKG/usr > > and then Qt Creator with: > > qmake-qt5 \ > IDE_LIBRARY_BASENAME="lib$LIBDIRSUFFIX" \ > LLVM_INSTALL_DIR=/usr \ > QMAKE_ARGS+=QBS_INSTALL_DIR=/usr \
try removing the "QMAKE_ARGS+=“ whatever that is supposed to mean. Br, Eike > CONFIG+=qbs_enable_project_file_updates \ > 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. > > I'm using QBS git with head at c4ba5e0 and Qt Creator 4.0.0rc1. > > Any further pointers? > >> >>>> 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 >>>> [email protected] >>>> http://lists.qt-project.org/mailman/listinfo/qt-creator >>> >>> >>> _______________________________________________ >>> Qt-creator mailing list >>> [email protected] >>> http://lists.qt-project.org/mailman/listinfo/qt-creator >> > > > -- > Best regards, > Andrzej Telszewski > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/qt-creator -- Eike Ziller Principal Software Engineer The Qt Company GmbH Rudower Chaussee 13, D-12489 Berlin Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
