qbs build failed with Dependency "Qt.core-private" not found for product.
-
I have added the core-private as a Dependency as submodule in
.qbs
file.Depends { name: "Qt"; submodules: ["core-private"] }
when I am working on developing the docker image with QT installed with debian as base image, I tried to install QT with
apt
version 5.and also, I tried to install from sourcefiles
wget https://download.qt.io/archive/qt/6.0/6.0.0/single/qt-everywhere-src-6.0.0.tar.xz
using gmake.but I am still unable to build the project. Can you suggest any probable solutions or versions that support
core-private
submodule inQT.core
.I checked the folders inside the docker where QT is installed. I did not find
core-private
module. -
Hi and welcome to devnet,
Talking about the distribution packages, you have to explicitly install these packages.
-
@SGaist Thanks for welcoming and quick response. Unfortunately, I have been unable to locate the source or packages associated with
core-private
for any QT version.Could you kindly direct me to the appropriate resource or guide me on how to install this package or any other private packages such as
core-private
,gui-private
andqml-private
? -
I am not sure I follow what you are attempting to do, but mention of the private-dev packages perked my ears.
In a "Debian/Ubuntu"-esque environment, there are multiple *-private-dev packages, some of which are required for compiling additional libraries like QtMqtt.
apt search "private-dev"
for a long list for both Qt5 and Qt6. This may be the one you are looking for.
qtbase5-private-dev/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed] Qt 5 base private development files