Hi,
I try do use qbs, docker and Qt in QtCreator 17. I setup a docker device with
my docker image. When I enter a shell in the docker, go to
into my project (a simple widget based hello world with Qt 6.8.3 like it is
created from the wizard) and enter 'qbs' it builds the
executable with default profile. I can start the executable from
install-root/usr/local/bin and it opens its window. My docker uses nvidia
runtime.
When I load the same qbs project into QtC 17 and choose the automatically
generated kits for the docker device, I get the following errors:
/home/becherj/projects/my/hello-world-qt/hello-world-qt.qbs:3: warning: Error
while handling product 'hello-world-
qt':/home/builduser/Qbs/2.1.2/share/qbs/imports/qbs/base/QtApplication.qbs:32:
warning: Dependency 'Qt.core' not found for product 'hello-
world-qt'.
/home/becherj/projects/my/hello-world-qt/hello-world-qt.qbs:4: warning:
Dependency 'Qt.widgets' not found for product 'hello-world-qt'.
[qbs] Setting up Qt at
'docker://artifactory.osep.stryker.com%2fdocker-dev%2fquantum%2fdesktop%2fdevenv.ubuntu22.04-gcc11.4.0-qt6.8.3-
qbs2.1.2-cuda12.4.1-1.0/home/builduser/Qt/Online/6.8.3/gcc_64/bin/qmake'...
[qbs] Error setting up Qt for
'docker://artifactory.osep.stryker.com%2fdocker-dev%2fquantum%2fdesktop%2fdevenv.ubuntu22.04-gcc11.4.0-
qt6.8.3-qbs2.1.2-cuda12.4.1-1.0/home/builduser/Qt/Online/6.8.3/gcc_64/bin/qmake':
Error: The specified qmake file path
'docker://artifactory.osep.stryker.com%2fdocker-dev%2fquantum%2fdesktop%2fdevenv.ubuntu22.04-gcc11.4.0-qt6.8.3-qbs2.1.2-cuda12.4.1-
1.0/home/builduser/Qt/Online/6.8.3/gcc_64/bin/qmake' does not exist.
[qbs] Could not detect target platform ('linux' given)
Seems like qbs plugin does not handle the docker path correctly, doesn't it?
Regards, Jochen
--
Qt-creator mailing list
[email protected]
https://lists.qt-project.org/listinfo/qt-creator