On 28/12/2018 12:57, Björn Schäpers wrote:
Am 19.12.2018 um 21:22 schrieb Björn Schäpers:
Am 17.12.2018 um 11:09 schrieb Christian Kandeler:
On Sun, 16 Dec 2018 11:08:18 +0100
Björn Schäpers <qt-maill...@hazardy.de> wrote:

I try to use self compiled Qbs and QtCreator on Windows (MinGW not MSVC, no msys or cygwin). I'm using a separate Qbs checkout, not the one delivered with QtCreator.

My first problem was while compiling QtCreator the linker looked for
libqbscore.a, but the file is named libqbscore1.a. Trying to remove the 1 with CONFIG+=skip_target_version_ext for Qbs failed to compile and link Qbs, because
it still looks for the 1 version.

So I added a copy step to my build routine and everything linked fine. QtCreator
seems to find Qbs and I can create a project, and add files.

But trying to compile the project ends with:
:-1: Fehler: Failed to start process launcher at
'E:\corporate.git\QtCreator\bin\qbs_processlauncher': Das Starten des Prozesses
ist fehlgeschlagen: Das System kann die angegebene Datei nicht finden.
Which is not surprising, because:
E:\>where qbs_processlauncher
E:\corporate.git\qbs\bin\qbs_processlauncher.exe

Did I do something wrong here? I did not find any configuration possibilities
for Qbs inside of QtCreator, especially the path.

My directory structure is:
- qbs.git
- qbs-build
- qbs
- qt-creator.git
- QtCreator
Do you have the qbs submodule checked out in the Creator repo? If so, could it be that the qbsprojectmanager is building against that one, rather than the external qbs? I suggest "deinit"ing the submodule for extra safety.


Christian
_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

I have indeed the submodule checked out. On the weekend I will make the build on another (clean) machine and try without the submodule.


Did take longer than anticipated, but the issue stays even without Creator's Qbs submodule.

This time I had to add "qbs_enable_project_file_updates" to Creator's CONFIG line. I don't think I had to do this on my first machine, but have to check next year.

Björn.
_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Hi,

I have no idea, if it's anything related.
But, have a look at https://slackbuilds.org/slackbuilds/14.2/development/qbs/qbs.SlackBuild

That's a script I use to build qbs for Linux.
Later, this qbs is used when building Qt Creator.

The important part here is the following patch:
https://slackbuilds.org/slackbuilds/14.2/development/qbs/corelib-tools.pri.patch

Without this patch, Qt Creator will not build against the prebuilt qbs.

--
Best regards,
Andrzej Telszewski
_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to