Having trouble building Qt 6 from source
-
Currently I don't have any specifics in mind.
I just realized something, the Moc message is correct, QCanFrameProcessor is indeed not a QObject based class.
Can you build Qt with parallel at 1 ?
@SGaist I did build Qt with parrallel, though I dont undesrstand what you mean by building it "at 1" forgive me for my need for specifics, I just dont know much about qt and I'm building it for specific capabilites only available to such version.
Anyways could you elaborate on building it "at 1" ?
-
Either remove parallel from the parameters or set its value to 1.
-
How do I set the value to 1?
-
--parallel 1 -
I have set it's value to one but I seem to have encountered the same build error.
-
if it means anything I did get this warning
while looking at the configure summary file:
"Required Python dependencies NOT found: spdx_tools.spdx.clitools.pyspdxtools"
While also getting this warning during the build process:
"WARNING: Support for linking against a C++ standard library other
than the one in-tree (buildtools/third_party/libc++) is deprecated
and support for this will end. We plan to remove this option in
M138."
Do you think any of these might be the source of my problem? -
What errors do you encounter?
Those seems to be warnings.
-
@GrecKo the errors are stated at the top of the post but for clarification I get
these messages:AutoMoc: /home/<self>/Documents/<tmp>/<tmp>/qt-everywhere-src-6.10.2/qtserialbus/src/serialbus/qcanframeprocessor.h: note: No relevant classes found. No output generated.
[12263/12791] Generating wayland-wayland-server-protocol.h
%3Cstdin%3E:2307: element event: validity error : No declaration for attribute deprecated-since of element eventWARNING: XML failed validation against built-in DTD
during the build process
-
if it means anything I did get this warning
while looking at the configure summary file:
"Required Python dependencies NOT found: spdx_tools.spdx.clitools.pyspdxtools"
While also getting this warning during the build process:
"WARNING: Support for linking against a C++ standard library other
than the one in-tree (buildtools/third_party/libc++) is deprecated
and support for this will end. We plan to remove this option in
M138."
Do you think any of these might be the source of my problem?@SkeletonHorse Do any of you think that the required python dependencies here might be causing my issues? I have a feeling they are, though I am having trouble downloading the packages via sudo apt install so I haven't been able to test it.
-
Do any of you know how I can install these dependencies on ubuntu? I've tried pip install which is the general way to do it but doing so would cause conflicts on my OS, and I can't seem to find apt packages that have the equivalent to what I need. any helpful response would be appreciated