115 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
2
answers
33
views
Dependency ... not found in module
I'm using opencv in my qt project, and I want to link it. But th qbs for my project does not find my opencv module.
Here is my file structure:
MyProject/
├── build/
├── opencv/
│ ├── debug/
│ │ └...
0
votes
1
answer
56
views
How to add a compiled module to qbs
There is a Linux machine on which cross-compilation for Raspberry Pi is configured.
At some point it was necessary to add the Qt.charts module
The module is compiled and the project using qmake sees ...
0
votes
1
answer
33
views
QBS build system: Complex artifact transformation
How would be possible to:
Compile a .c file resulting an .o object file;
Apply a command like xxd (hex dump) over the generated object file resulting a .h header file;
Use that generated header in a ...
Flaviu's user avatar
- 1,049
0
votes
1
answer
128
views
qbs get directory where a library is located
I have a Product:
demo.qbs
import qbs
Product {
Depends { name: "the_library" }
}
directory the_library_set and qbs for the libraries:
the_library_set.qbs
import qbs
Project {
...
0
votes
2
answers
70
views
Get hold of the module that imported us in QML/Qbs
As a beginner in Qbs/QML I want to get information about what instance that imported our module. For example, given this project:
.
├── a
│ └── imported.qbs
└── b
└── main.qbs
with a/imported....
-1
votes
1
answer
94
views
How to install conan package on build stage with QBS
I have a solution with many projects, for one of them I need to install conan package, but only if this project will be chosen to build.
I am building my projects with QBS.
I tried to use Probes....
0
votes
1
answer
64
views
Qbs cannot get PWD file on MacOS
I want to use my script as cpp.compilerWrapper: ["../../script"]
I'm using relative path (from my .qbs file) to point the script. It works OK na linux. but on macOS doesn't.
Also when I'm ...
0
votes
1
answer
115
views
Qbs support on MacOS with M1
I'm trying to build my project (which I can build successfully on intel) on my Mac with M1 chip.
I have same version of qbs (1.22.1) on M1 nad intel, but on M1 parsing my qbs file ends with enigmatic ...
1
vote
1
answer
57
views
How to do multiline strings in QBS?
At the moment, I am using a very ugly solution:
codeblock(x, "cpp", (function() {/*
union Seed;
union Feed
{
int operator+( Feed & ) { return 0 ; };
QString ...
0
votes
0
answers
307
views
Incompatible qt versions with qbs
I work on a github action. I need to compile a programm against a specific qt version. The program is build with qbs. I have a problem to configure qbs such that it uses the correct Qt version. There ...
0
votes
1
answer
107
views
determining the properties used by a previous build
After some time, I went to a project to redo a build and the command I give results in:
qbs build -p archive config:release modules.cpp.useRPaths:false
Restoring build graph from disk
ERROR: Property ...
0
votes
0
answers
27
views
How to disable strip after lipo in qbs?
I've noticed some problems with qbs on macOS: building universal binary leads to inevitable strip for the universal binary.
qbs.exec: Running external process; full command line is: "/usr/bin/...
1
vote
1
answer
100
views
How to reuse properties of a Qbs project?
How two projects, a CppApplication and a DynamicLibrary, would reuse the properties defined in a base Product project? I seems inheritance is a solution but checking https://doc.qt.io/qbs/language-...
0
votes
1
answer
96
views
How to install universal binary artifacts in qbs?
There is my qbs project:
Project {
StaticLibrary {
name: "targetLib"
files: "main.cpp"
bundle.isBundle: false
multiplexByQbsProperties: "...
0
votes
1
answer
963
views
How do I fix this error `warning: Dependency 'Qt.webengine' not found for product '. `?
I am getting this error when saving QBS:
warning: Dependency 'Qt.webengine' not found for product 'anime-dl'.
Here is the profile in the settings::
This should not be happening because I built this ...