Re: [Qbs] Evaluation of Conditional Depends

2020-06-09 Thread Christian Gudrian
Hello, again! Richard Weickelt wrote: > You need to add a expression in the modules' condition that evaluates to true > only for one module variant. Could it be that only a restricted set of variables is available during evaluation of the module’s „condition“ property? Neither „product“ nor

Re: [Qbs] Evaluation of Conditional Depends

2020-06-07 Thread Christian Gudrian
Hello! > Could you clarify the relationship between ModuleA and ModuleB? Maybe post > some minimal example code. I’ve put a simple example project on GitHub: https://github.com/cgudrian/QbsConfigurationDemo . I am trying to implement basic

[Qbs] Evaluation of Conditional Depends

2020-06-06 Thread Christian Gudrian
Hello! In ModuleA there is a property enableFeature which by default is false. ModuleB conditionally depends on ModuleC, if ModuleA.enableFeature is true. A Product depends on ModuleA and ModuleB and sets ModuleA.enableFeature to true. However, ModuleC is not used as a dependency. I assume

[Qbs] Android: -target unknown option

2019-08-01 Thread Christian Gudrian
Hello! I am trying to build a simple application for Android. Current setup: - Qt 5.13.0 - Qt Creator 4.9.2 (Qbs 1.13.1) - Android SDK 26.1.1 - Android NDK 19.2.5345600 (in /opt/android-ndk-r19c) - Android Target: 5.1 (API 22) - macOS 10.14.6 Qt Creator gives me thumbs up for my Android Kit.

Re: [Qbs] Qbs Rule for a tool like syncqt.pl

2019-01-23 Thread Christian Gudrian
Am 22.01.2019 um 09:34 schrieb Christian Kandeler: So maybe the approach with the extra product is the pragmatic one: Thanks for the detailed explanation. The duplicated header files is something I can live with. Christian ___ Qbs mailing list

Re: [Qbs] Qbs Rule for a tool like syncqt.pl

2019-01-22 Thread Christian Gudrian
the help! Christian -- Christian Gudrian AUCOS AG, Matthiashofstraße 47–49, 52064 Aachen, Germany ___ Qbs mailing list Qbs@qt-project.org https://lists.qt-project.org/listinfo/qbs

[Qbs] Qbs Rule for a tool like syncqt.pl

2019-01-20 Thread Christian Gudrian
r files did not belong to any project anymore. Is there a clean Qbs way? How has this problem been addressed in the days when Qbs was supposed to be the Next Build Tool for Qt? Christian -- Christian Gudrian AUCOS AG, Matthiashofstraße 47–49, 52064 Aachen, Germany ___ Qbs mailing list Qbs@qt-project.org https://lists.qt-project.org/listinfo/qbs

Re: [Qbs] Include current git branch in installation directory

2018-11-09 Thread Christian Gudrian
Am 09.11.2018 um 12:38 schrieb Christian Kandeler: I'm afraid I don't understand this. Can you elaborate? In particular, what do you mean by "directory that contains the current git branch"? Given a working copy of the branch "v1.0" I would like Qbs to prefix all installation paths with

[Qbs] Include current git branch in installation directory

2018-11-09 Thread Christian Gudrian
Hello! I would like to have Qbs automatically install all artifacts into a directory that contains the current git branch of the working copy. How can I accomplish that? Christian -- Christian Gudrian AUCOS AG, Matthiashofstraße 47–49, 52064 Aachen, Germany

[Qbs] Relative paths in custom modules

2018-10-11 Thread Christian Gudrian
distribution easier. Is there a way to get the path the Qbs module file resides in? Christian * -- Christian Gudrian AUCOS AG, Matthiashofstraße 47–49, 52064 Aachen, Germany ___ Qbs mailing list Qbs@qt-project.org http://lists.qt-project.org/mailman

Re: [Qbs] Qbs and Q_PRIVATE_SLOT

2018-09-19 Thread Christian Gudrian
Am 19.09.2018 um 13:00 schrieb Christian Gudrian: How do I prevent one particular moc file from being automatically compiled by Qbs? To answer the question myself: apart from #including the moc file explicitly one has to rebuild the build graph. Christian -- Christian Gudrian AUCOS AG

[Qbs] Qbs and Q_PRIVATE_SLOT

2018-09-19 Thread Christian Gudrian
particular moc file from being automatically compiled by Qbs? Christian -- Christian Gudrian AUCOS AG, Matthiashofstraße 47–49, 52064 Aachen, Germany ___ Qbs mailing list Qbs@qt-project.org http://lists.qt-project.org/mailman/listinfo/qbs

Re: [Qbs] export-to-outside-searchpath

2018-07-18 Thread Christian Gudrian
Am 18.07.2018 um 09:44 schrieb Christian Kandeler: What test? export-to-outside-searchpath (tests/auto/blackbox/testdata/export-to-outside-searchpath/export-to-outside-searchpath.qbs). Are you talking about the case where you declare a module dependency in an Export item, with the knowledge

[Qbs] Running syncqt.pl

2018-07-13 Thread Christian Gudrian
Hello! I am currently trying to execute the syncqt.pl script as part of a Qbs build from within a Probe. The script is located in the bin folder of the Qt installation which could be determined by the module property Qt.core.binPath. Probes, however, cannot depend on modules so this propery

Re: [Qbs] Generated header files used by multiple products

2018-02-07 Thread Christian Gudrian
a StaticLibrary which depends on the generator and contains a single source file that #includes all generated headers. That way all the moc files end up in the static library that subsequently can be linked against. Christian -- Christian Gudrian AUCOS AG, Matthiashofstraße 47–49, 52064

[Qbs] Generated header files used by multiple products

2018-02-07 Thread Christian Gudrian
generated header files across products while pertaining moc awareness? Christian -- Christian Gudrian AUCOS AG, Matthiashofstraße 47–49, 52064 Aachen, Germany ___ Qbs mailing list Qbs@qt-project.org http://lists.qt-project.org/mailman/listinfo/qbs

Re: [Qbs] Module Dependencies

2017-06-16 Thread Christian Gudrian
s present. Is there a way to wait for the final artifact to appear? Christian -- Christian Gudrian AUCOS AG, Matthiashofstraße 47–49, 52064 Aachen, Germany ___ Qbs mailing list Qbs@qt-project.org http://lists.qt-project.org/mailman/listinfo/qbs

[Qbs] Module Dependencies

2017-06-16 Thread Christian Gudrian
the generator product and the code generation module are already dependencies of the products which need code generation. How can we defer code generation until the generator has been built? Do we need to extract it into its own project? Regards, Christian -- Christian Gudrian AUCOS AG