Hi,
we have released qbs 2.4.1 today.
As usual, sources, binaries etc can be found here:
https://download.qt.io/official_releases/qbs/2.4.1/
This release of qbs is also part of Qt Creator 14.0.1.
The changes in this release are mostly Conan fixes that did not make it
into 2.4, plus some work o
Hi,
I'd like to point out two upcoming behavior changes.
==
1. Path properties in Export items
Initially, the "product" variable, when used in an Export item, referred
to the product the Export item was in, i.e. the exporting product. This
was
Hi,
we have released qbs 2.4.0 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/2.4.0/
This release of qbs is also part of Qt Creator 14.0.0.
Christian
___
Qbs mailing list
Qbs@qt-pr
On 7/16/24 9:08 AM, Maximilian Hrabowski wrote:
i also encounter a crash with qbs 2.3 during project resolving that is
difficult to grasp — i should check it with a debug build.
Yes, please ;)
Once you get a stack trace, please file an issue at bugreports.qt.io.
Christian
_
Hi,
we have branched off Qbs 2.4. Scheduled release date for
version 2.4.0 is end of July (together with Qt Creator 14.0).
We recommend users to try this branch with their projects and report
back any new problems they find.
Contributors are requested to push bug fixes and small, zero-risk
improv
On 5/14/24 10:11 AM, Stéphane Fabry wrote:
-> i took the "plugins.qmltypes" located in
"Release_Desktop__6bebb707edc597ff\carlib.83bede55" and copy paste manually in the app build dir
("Release_Desktop__6bebb707edc597ff\app.7d104347") and there it is working.
But i have no clue on how to ask t
On 5/14/24 9:17 AM, Stéphane Fabry via Qbs wrote:
The projet is running fine, the problem lies in the QtCreator loading
the qmltypes.
It loads correctly the "app.qmltypes" located next to the app.exe but
it won't load the library "plugins.qmltypes" located next to the dll.
Did I miss something
Hi,
we have released qbs 2.3.1 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/2.3.1/
This release of qbs is also part of Qt Creator 13.0.1.
Christian
___
Qbs mailing list
Qbs@qt-pr
On 4/9/24 10:37 AM, Leon Buckel wrote:
Where can we find the changlog? It doesn’t seem to be in the usual location.
We forgot to create one; sorry about that. It would have looked
something like this:
- Added an LSP language server that provides support
for following symbols and comple
On 4/9/24 9:15 AM, Heiko Nardmann wrote:
I use "qbs run" within a python script to execute testframes.
Yesterday I've changed the script and tried to run multiple "qbs run"
in parallel.
This has failed as Qbs locks the build graph. So ... how do I execute
multiple testframes in parallel using
Hi,
we have released qbs 2.3.0 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/2.3.0/
This release of qbs is also part of Qt Creator 13.0.0.
Christian
___
Qbs mailing list
Qbs@qt-pr
Hi,
we have branched off Qbs 2.3. Scheduled release date for
version 2.3.0 is end of March (together with Qt Creator 13.0).
We recommend users to try this branch with their projects and report
back any
new problems they find.
Contributors are requested to push bug fixes and small, zero-risk
im
Hi,
we have released qbs 2.2.2 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/2.2.2/
This release of qbs is also part of Qt Creator 12.0.2.
Christian
___
Qbs mailing list
Qbs@qt-pr
On 1/12/24 11:10, Leon Buckel wrote:
So my question would be: Is there a way to run an executable that is a Product
similar to how ‘qbs run’ does it so all dependencies are found?
There isn't, but there should be.
In the past I’ve solved this problem by deploying the tool and dlls first and
On 1/9/24 09:05, Leon Buckel wrote:
The issue I’m having now is that for the aggregate step I don’t want to run the
build command again. So I would have to somehow check if the current run is the
aggregate and just return an empty command array.
The question now is: How do I check that?
You
On 1/8/24 12:37, Jochen Becher via Qbs wrote:
I havbe a question about qbs syntax. My qbs files look like this:
MyProject.qbs:
Project {
property string installDir: { throw "installDir must be set" }
}
AProject.qbs:
MyProject {
id: solution
installDir: "myfolder"
MyPro
Hi,
we have released qbs 2.2.1 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/2.2.1/
This release of qbs is also part of Qt Creator 12.0.1.
Please also take a look at
https://lists.qt-project.org/pipermail/qbs/2023-September/0
Hi,
we have branched off Qbs 2.2. Scheduled release date for
version 2.2.0 is end of November (together with Qt Creator 12.0).
We recommend users to try this branch with their projects and report
back any
new problems they find; see also
https://lists.qt-project.org/pipermail/qbs/2023-Septembe
Hi,
we have released qbs 2.1.2 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/2.1.2/
This release of qbs is also part of Qt Creator 11.0.3.
Christian
___
Qbs mailing list
Qbs@qt-pr
On 9/5/23 12:08, Jochen Becher wrote:
until qbs 1.9 the following works:
Not on purpose, though.
Quite a number of things "worked" that shouldn't have, as there was a
lot of scope pollution.
import qbs 1.0
import import 'utils.js' as Utils
Probe {
id: workspaceRootDetector
Hi,
we have just merged a patch into the master branch
(https://codereview.qt-project.org/c/qbs/qbs/+/493783) that employs
parallelization to resolve projects. It should result in a noticeable
speed-up for projects with lots of products. We advise you to check that
your personal projects sti
Hi,
we have released qbs 2.1.1 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/2.1.1/
This release of qbs is also part of Qt Creator 11.0.1.
Christian
___
Qbs mailing list
Qbs@qt-pr
Hi,
we have released qbs 2.1.0 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/2.1.0/
This release of qbs is also part of Qt Creator 11.0.0.
Please also take a look at
https://lists.qt-project.org/pipermail/qbs/2023-April/00
Hi,
we have released qbs 2.0.2 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/2.0.2/
This release of qbs is also part of Qt Creator 10.0.2.
Christian
___
Qbs mailing list
Qbs@qt-pr
On 6/9/23 10:15, Heiko Nardmann wrote:
Hi together,
I'm currently analyzing the usage of ccache and would like to pass
"-v" to ccache. Which means that I have to change
modules.cpp.compilerWrapper:ccache
to sth like
modules.cpp.compilerWrapper:'[ccache,-v]'
which does not work.
Bec
Hi,
we branched off Qbs 2.1. Scheduled release date for
version 2.1.0 is end of July (together with Qt Creator 11.0).
We recommend users to try this branch with their projects and report
back any
new problems they find; see
https://lists.qt-project.org/pipermail/qbs/2023-April/003083.html as t
On 5/25/23 14:45, Heiko Nardmann wrote:
I wonder whether my research missed some builtin functionality inside
Qbs resp. contained JS that provides a way to download files resp.
access URLs?
No, you'll have to invoke externel tools for that.
Christian
_
Hi,
we have released qbs 2.0.1 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/2.0.1/
This release of qbs is also part of Qt Creator 10.0.1.
Christian
___
Qbs mailing list
Qbs@qt-pr
Hi,
we have just merged
https://codereview.qt-project.org/c/qbs/qbs/+/459764 into the master
branch, which improves speed and correctness when loading projects.
You should give it a try if you have projects that take excessively long
to resolve; chances are that you will see improvements.
Hi,
we have released qbs 2.0.0 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/2.0.0/
This release of qbs is also part of Qt Creator 10.0.0.
Please also take a look at
https://lists.qt-project.org/pipermail/qbs/2023-February
On 3/2/23 13:30, Heiko Nardmann wrote:
how do I use "Object.defineProperty" to add a new property to the
'product' of a Rule? I've tried several things but most times I just
get some "undefined" for the property set.
The product variable represents a Product item with its properties. You
mus
On 3/1/23 17:31, Heiko Nardmann wrote:
is there already some functionality inside the Qbs services or
Javascript to perform a SHA256 for a file? Maybe I've missed sth. ... ?
If you want *some* kind of hash (for uniquely mapping file paths),
there's Utilities.getHash(). More specific stuff wo
Hi,
we have released qbs 1.24.1 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/1.24.1/
This release of qbs is also part of Qt Creator 9.0.2.
Christian
___
Qbs mailing list
Qbs@qt-p
On 2/16/23 09:53, Heiko Nardmann wrote:
I'm trying to understand the ModuleProvider concept. Is this something
I should look for when trying to retrieve parts - "Depends" - of my
project from e.g. Artifactory?
If your modules cannot be "static", i.e. you need to query some external
resource
Hi,
we have branched off qbs 2.0 today. As indicated by the version jump,
this is a major update in that we switched the JavaScript engine from
QtScript to QuickJS. While there are no intentional changes (except
removing some functions deprecated years ago), it is possible that the
new engin
On 10/26/22 13:38, Christian Kandeler via Qbs wrote:
On 10/26/22 13:24, Иван Комиссаров wrote:
I think, both RPATH and RUNPATH should work.
My understanding is that RUNPATH only affects libraries with a NEEDED
entry, i.e. direct dependencies, while RPATH covers indirect
dependencies as well
On 12/12/22 11:34, q...@mein-briefkasten.net wrote:
As it turns out product.dependencies is just what I was looking for in
the first place. This is of great help.
Is there any documentation about what properties I can expect in product (and
are stable to stay there over version changes)?
Seems
On 12/11/22 19:08, q...@mein-briefkasten.net wrote:
Just "Depends { name: "depgraph” }” was not enough, I had to extend the type of
every lib to get all dependencies show up in the graph, i.e.
Yes, and the reason is explained here:
https://doc.qt.io/qbs/qml-qbslanguageitems-rule.html#rules-and
Hi,
we have released qbs 1.24.0 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/1.24.0/
This release of qbs is also part of Qt Creator 9.0.0.
Christian
___
Qbs mailing list
Qbs@qt
On 10/26/22 13:24, Иван Комиссаров wrote:
I think, both RPATH and RUNPATH should work.
My understanding is that RUNPATH only affects libraries with a NEEDED
entry, i.e. direct dependencies, while RPATH covers indirect
dependencies as well. What I don't understand is why Pavel's linker uses
R
On 10/24/22 16:15, Карелин Павел wrote:
24.10.2022 16:58, Christian Kandeler via Qbs пишет:
On 10/24/22 15:38, Карелин Павел wrote:
24.10.2022 13:48, Christian Kandeler via Qbs пишет:
On 10/24/22 12:34, Карелин Павел wrote:
I think runpath is wrong for libqbscore.so.1.23.2: instead of
On 10/24/22 15:38, Карелин Павел wrote:
24.10.2022 13:48, Christian Kandeler via Qbs пишет:
On 10/24/22 12:34, Карелин Павел wrote:
I think runpath is wrong for libqbscore.so.1.23.2: instead of
'$ORIGIN/../lib/qtcreator' it should be '$ORIGIN/../../lib/qtcreator'
Wh
On 10/24/22 12:34, Карелин Павел wrote:
I think runpath is wrong for libqbscore.so.1.23.2: instead of
'$ORIGIN/../lib/qtcreator' it should be '$ORIGIN/../../lib/qtcreator'
Why? bin/ and lib/ are located on the same level.
Christian
___
Qbs mailing
On 10/21/22 16:58, Карелин Павел wrote:
I have a question: does anyone use QtC builded using QBS?
The fact is that in QtC 8, the QBS build system does not work. See
picture in the attachment. The inscription in the red rectangle is
"Failed to retrieve version."
The problem is in improperly spe
Hi,
we have released qbs 1.23.2 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/1.23.2/
This release of qbs is also part of Qt Creator 8.0.2.
Christian
___
Qbs mailing list
Qbs@qt-p
Hi,
we branched off Qbs 1.24. Scheduled release date for
version 1.24.0 is end of November (together with Qt Creator 9.0).
We recommend users to try this branch with their projects and report
back any
new problems they find.
Contributors are requested to push bug fixes and small, zero-risk
imp
On 10/8/22 18:17, Alberto Mardegan wrote:
Hi all!
On some occasions I've found myself in need of debugging the
executable under gdb, strace and valgrind. Running
gdb ./default/install-root/usr/local/bin/MyApp
has always worked well for me, but I wonder:
1) Would this break if the app
On 9/6/22 12:20, hug-animals via Qbs wrote:
Encapsulation:
"Access into nested items isnt explicitly supported in QML"
Hard to know what you mean exactly, because you can set properties of nested
items. Could you give an example of what is explicitly prohibited?
If you've worked on even just a s
On 9/2/22 04:13, hug-animals via Qbs wrote:
Product {
/* Syntax 1 */
property var feed: Item {
property string hobo
property var seed: Item {
property string chuck
}
}
Probably the most sensible of the variants.
Perhaps also:
property MyItem prop
where MyItem is defined as an Item subtype so
Hi,
we have released qbs 1.23.1 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/1.23.1/
This release of qbs is also part of Qt Creator 8.0.1.
Christian
___
Qbs mailing list
Qbs@qt-
We have released qbs 1.23.0 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/1.23.0/
This release of qbs is also part of Qt Creator 8.0.0.
Christian
___
Qbs mailing list
Qbs@qt-proj
Hi,
we branched off Qbs 1.23 today. Scheduled release date for
version 1.23.0 is mid-July (together with Qt Creator 8.0).
We recommend users to try this branch with their projects and report
back any
new problems they find.
Contributors are requested to push bug fixes and small, zero-risk
impr
On 5/24/22 22:53, Alberto Mardegan wrote:
It came from this:
cpp.defines: product.embedAsResource ? "STATIC_PLUGINS" : ""
Changing the "" to a [] fixes the issue. Do you think that this
handling of "" could be considered a QBS bug?
More like a quality-of-implementation issue. In general,
On 5/23/22 22:32, Alberto Mardegan wrote:
I do have an "install: true" on the library product, indeed. But I
thought this was needed to have the library installed on Linux?
It is. If you want to be precise, you can make the value of this
property dependent on the target, e.g. use a Properties
On 5/22/22 22:00, Alberto Mardegan wrote:
how do I find out, from within a QBS build directory, what where the
command-line options which I passed to QBS to initialize the project?
There is no command-line option to extract this information directly.
However, it will be printed if you build ag
On 5/22/22 21:57, Alberto Mardegan wrote:
So far I've built my Android application using Qt 5.12, for the arm
architecture only, and everything has worked fine.
Today I tried migrating to 5.15, which supports multiarch, and I'm
getting an issue: after building all the files for all the four
s
On 5/17/22 17:40, Карелин Павел wrote:
In passing, one more question: the libmod.qbs file does not appear in the
project tree in QtC.
It does, in the last tree branch, "Qbs files".
Note that in your attached project, qbssearchPaths is missing, so if
that worked on your system, then the libra
On 5/15/22 19:27, Карелин Павел wrote:
A new question has appeared: the list of libraries in the product can be
changed. See "lib.libmod.dynamicLibraries" in the product.qbs, line 13. The
adjusted list will not be included in the rule. It can be fixed?
That's because you access the dynamicLibr
On 5/12/22 21:10, Карелин Павел wrote:
John, thanks for the tip. Unfortunately, this was not enough, the rule
is still not called. Looks like something else is needed...
Christian, can I ask you for help on this issue?
Try to distill the project into a minimal, self-contained example.
Ideally
On 5/7/22 10:33, Jochen Becher wrote:
Am Mittwoch, dem 22.09.2021 um 10:45 +0200 schrieb Christian Kandeler:
On 9/9/21 1:25 PM, Jochen Becher wrote:
thank you for the prompt answer. Adding explicit dependency on
"installable" works. But adding the input dependency on application
does
On 5/10/22 15:02, Карелин Павел wrote:
05.05.2022 12:14, Christian Kandeler пишет:
On 5/5/22 11:00, Карелин Павел wrote:
05.05.2022 10:47, Christian Kandeler пишет:
On 5/4/22 18:18, Карелин Павел wrote:
Christian, how would you solve my problem?
After the project is built, the deb
On 5/5/22 11:00, Карелин Павел wrote:
05.05.2022 10:47, Christian Kandeler пишет:
On 5/4/22 18:18, Карелин Павел wrote:
Christian, how would you solve my problem?
After the project is built, the deb-package is assembled. To build
the deb-package, you need a list of dependent libraries (not
On 5/4/22 18:18, Карелин Павел wrote:
Christian, how would you solve my problem?
After the project is built, the deb-package is assembled. To build the
deb-package, you need a list of dependent libraries (not all, only
parts, system dependencies no required). For example this list:
/opt/ffmpe
On 5/3/22 21:44, Карелин Павел wrote:
Hello, developers.
I have a small product "PackageBuild" in my projects, I use it to
generate the package_build_info file.
[ ... ]
When I open the project in QtC 7 the file package_build_info is
successfully created, but after the build process starts th
On 5/2/22 18:27, Карелин Павел wrote:
I am using the construct:
Product {
name: "SharedLib"
property var exportIncludePaths: [
"./",
"./shared",
]
Export {
Depends { name: "cpp" }
cpp.includePaths: product.exportIncludePaths
}
}
Just use th
On 4/29/22 17:27, Карелин Павел wrote:
[ ... ]
Now the compiler does not see the header file "shared/list.h" from the
SharedLib dependency.
How to fix the problem?
You are likely using "product" in SharedLib's Export item where
"exportingProduct" should be used.
Christian
Hi,
we have released qbs 1.22.1 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/1.22.1/
This release contains a number of important bug fixes (see
https://download.qt.io/official_releases/qbs/1.22.1/changes-1.22.1.md).
Part
We have released qbs 1.22.0 today.
As usual, sources, binaries, change log etc can be found here:
https://download.qt.io/official_releases/qbs/1.22.0/
This release of qbs is also part of Qt Creator 7.0.0.
Christian
___
Qbs mailing list
Qbs@qt-proj
On 2/15/22 20:18, Björn Schäpers wrote:
Am 15.02.2022 um 17:08 schrieb Christian Kandeler:
On 2/15/22 16:54, Björn Schäpers wrote:
You could mention *explicitly* that the meaning of product within an
Export has changed.
I have a lot of
Export {
...
cpp.cxxLanguageVersion
On 2/15/22 16:54, Björn Schäpers wrote:
You could mention *explicitly* that the meaning of product within an
Export has changed.
I have a lot of
Export {
...
cpp.cxxLanguageVersion: product.cpp.cxxLanguageVersion
}
And that blew on me. I've found out that I should use
exportingProduct, b
Hi,
we branched off Qbs 1.22 today. Scheduled release date for
version 1.22.0 is end of March (together with Qt Creator 7.0).
We recommend users to try this branch with their projects and report back any
new problems they find.
Contributors are requested to push bug fixes and small, zero-risk
imp
On 11/12/21 20:33, Björn Schäpers wrote:
This should work if you include "hpp" in the type of the generating
product.
Adding "hpp" as type does indeed result in the complete compilation of
the generating product, before the using product is started. But the
files were not recompiled if there
On 11/4/21 11:22, Björn Schäpers wrote:
we have a static library which uses Protobuf, thus generates the
headers, and compiles the code directly into it.
Static Library {
...
Export {
Depends { name: "cpp" }
Depends { name: "protobuf.cpp" }
cpp.systemIncludePaths: [product.proto
On 9/9/21 1:25 PM, Jochen Becher wrote:
thank you for the prompt answer. Adding explicit dependency on
"installable" works. But adding the input dependency on application
does not:
The rule uses
inputs: [ "alang"]
to depend on the alang source code files. When I add additionally
inputsFromDep
https://download.qt.io/official_releases/qbs/1.19.2/
___
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs
On 4/6/21 10:58 AM, Dan Pat wrote:
Hello. A bunch of Products must be built using a certain set of "cpp"
flags. I created a special Module (later referred to as "CppFlags"")
containing those flags and had these Products depend upon CppFlags.
There are other Modules that the Products depend on,
On 2/19/21 5:43 PM, Карелин Павел wrote:
Project QGit__micro is attached.
The situation is reproduced
I've attached the corrected qbs files.
Christian
import qbs
import qbs.File
import qbs.FileInfo
Product {
name: "QGit"
targetName: "qgit"
type: "application"
destinationD
On 2/9/21 1:04 PM, Карелин Павел wrote:
Hello!
I need to build components of the project in a specific sequence:
1) Build of auxiliary generator program;
2) Generate a resource file using the generator received in step 1;
3) Add the resource file obtained in step 2 to project QRC-file;
4) Buil
On 1/11/21 9:23 AM, Dan Pat wrote:
Hi. I have a question about making third-party libraries available/visible
when running programs from qtcreator. We have a number of prebuilt
libraries in the source tree which are currently wrapped in Modules. The
modules contain include/library paths, so any
On 12/4/20 10:44 AM, Maximilian Hrabowski wrote:
Is Qt6 already supported by qbs?If so which version is required? Doing
a naive “Depends { name: “Qt.core5compat” } with abs 1.17 did not work ;)
In general, everything should work out of the box. All problems observed
so far have been on the Qt
On 12/1/20 8:48 AM, Björn Schäpers wrote:
I've tried to create a product which sets compiler warnings (because
cpp.warningLevel: "all" is not enough), and I want to be able to opt
in some more warnings. I found "Parameter" but I have no idea how to
use it.
I don't think this is what paramete
On 12/1/20 8:59 AM, Björn Schäpers wrote:
I'm developing on Windows and have a 64 Bit Qt in my path, but because
the linker in 64 Bit mode is much slower than its 32 Bit counterpart I
often develop in 32 Bit. If I run the programs directly from the
Creator everything is fine.
If I click bui
On 10/27/20 11:47 AM, Dan Pat wrote:
Hi, I have created a Module that inherits GenericGcc
Out of curiosity: Which special features does it implement and why are
they not suitable for upstreaming?
and hence is loaded as a "cpp" module when certain conditions are met.
During development the
On 10/19/20 8:26 PM, Карелин Павел wrote:
Depends { name: "Qt"; submodules: ["core", "network"]; required: false}
condition: Qt.core.present
Then in QtC I created a profile without qt-framework, and I tried to
build the project. ... and the project was built.
It turned out that QBS found qt-fr
On Mon, 12 Oct 2020 16:20:44 +0200
Ola Røer Thorsen wrote:
> Compiler feature detection failure!
> The command
> "/home/olathorsen/Android/Sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
> -x c++ -E -dM -target arm-linux-androideabi -target '' -fPIC -std=c++14 -"
> terminat
On Mon, 12 Oct 2020 15:07:14 +0200
Ola Røer Thorsen wrote:
> The process '/Android/Sdk/build-tools/aidl' could not be started:
> execve: No such file or directory.
Looks like Android.sdk.buildToolsVersion is empty. Please verify. However, I
think this should have resulted in an error message fr
On Mon, 21 Sep 2020 13:15:58 +
Jochen Ulrich wrote:
> PS: And if you want to run an executable which is built as part of your
> project, then the product should of course depend on that executable to make
> sure it is built before.
Yes.
> And the rule should use the executable's `Product.
On Tue, 15 Sep 2020 22:10:13 +0500
Dan Pat wrote:
> "testinput.h" file contains "#include "a.h" directive. Changing
> testinput.h results in a generator run followed by a C++ compiler run.
> Changing a.h results in no action, although in this case the generator
> is intended to reprocess its inpu
On Mon, 14 Sep 2020 19:11:41 +0500
Dan Pat wrote:
> Hi, I have a code generator using C++ *.h headers as its input. Everything
> works fine for me except for dependency tracking. Since inputs are ordinary
> include files they often include other include files which include other
> include files e
On Wed, 9 Sep 2020 00:24:36 +0300
Alberto Mardegan wrote:
> Of course, in my project the product type is not "text"
But it has to be, or at least appear as a dependency of the product type
somewhere.
Otherwise there's no path from the source artifact to the product type.
A detailed explanation
On Thu, 30 Jul 2020 23:32:11 +0300
Alberto Mardegan wrote:
>I started playing with ModuleProvider, and I find the "name" property
> a bit confusing: if the dependency was specified as
>
> Depends { name: "myprovider.a" }
>
> the the module provider in "module-providers/myprovider/prov
On Thu, 23 Jul 2020 14:13:13 +0300
Карелин Павел wrote:
> Having weighed all the "pros" and "cons", I have decided not to use
> qbs.Process in outputArtifacts. Now I settled on a stupidly-simple
> solution: I reduced the number of generated files from 6 to 5.
But how do you know there will ne
On Tue, 21 Jul 2020 18:32:10 +0300
Карелин Павел wrote:
> How can I execute Command from outputArtifacts?
You can't, you need to use a JavaScript command and qbs.Process.
Christian
___
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/
On Tue, 21 Jul 2020 15:10:38 +0300
Карелин Павел wrote:
> I recently needed to develop a rule for a sip generator (see below).
> Basically, the rule works well, but yesterday it failed. At the output,
> sip-generator create 6 cpp-files of the following format:
> sip_corepartX.cpp (this is just
On Fri, 10 Jul 2020 16:42:51 +0500
Dan Pat wrote:
> I have checked out the solution and discovered an inconvenience. As it
> stands, Artifacts are passed to the "cpp" module with flags set by the
> Product (and product imported Modules) in the context of which the
> Artifacts are built. But as s
On Fri, 26 Jun 2020 13:14:11 +0200
Björn Schäpers wrote:
> DynamicLibrary {
> name: "FooBar"
> }
>
> CppApplication {
> Depends { name: "cpp" }
> Depends { name: "FooBar" }
> cpp.defines = ["FOO_PATH=\"" + FooBar.buildDirectory + "\""]
Eww... This works? You cannot rely on that,
On Wed, 10 Jun 2020 11:37:02 +0200 (CEST)
"Richard Weickelt" wrote:
> ... And module properties set in the profile. I had a glance look at the
> source code. When evaluating the condition property, we are taking the
> following information from the product context into account:
>
> - module va
On Tue, 9 Jun 2020 20:55:43 +0200
Christian Gudrian wrote:
> Could it be that only a restricted set of variables is available during
> evaluation of the module’s „condition“ property? Neither „product“ nor any
> imported modules’ variables can be accessed („Can’t find variable“ error).
>
> Is
On Wed, 20 May 2020 22:11:20 +1200
Christian Gagneraud wrote:
> Couldn't find any definite answer about using '-isystem' to avoid the
> compiler to report warning as error in 3rd party headers (qt, gtest,
> ...).
> Looking at the cpp module, i can see some logic, but I can't seem to
> find a way
On Wed, 20 May 2020 21:44:46 +1200
Christian Gagneraud wrote:
> On Fri, 15 May 2020 at 03:12, Christian Kandeler
> wrote:
> >
> > On Thu, 14 May 2020 14:49:25 +
> > Maximilian Hrabowski wrote:
> >
> > > Isn’t unmocable used to tag cpp/header files tha
1 - 100 of 599 matches
Mail list logo