[Qt-creator] Using qbs build system, docker plugin and Qt in QtCreator 17

apoenitz apoenitz at t-online.de
Fri Sep 19 18:41:33 CEST 2025


On Fri, Sep 19, 2025 at 05:56:48PM +0200, Jochen Becher via Qt-creator wrote:
> 
> In qpsprofilemanager.cpp Ifound the following code to set up a Qbs profile (line 166 in QbsProfileManager::addProfileFromKit):
> 
>     if (const QtSupport::QtVersion *const qt = QtSupport::QtKitAspect::qtVersion(k))
>         data.insert("moduleProviders.Qt.qmakeFilePaths", qt->qmakeFilePath().toUrlishString());
> 
> Shouldn't that use the path() part of the qmakeFilePath() only?
>
> qmake will always be run from qbs which is running on the device. So scheme
> and host are not relevant. And something like "docker://xyz:n/usr/bin/qmake" is surely not understood by Qbs, isn't it?
> 
> I tried it out and it works. But I am not sure if that is really the correct solution.

This is the correct solution.

Andre'


More information about the Qt-creator mailing list