[QBS] Qt 4.8.6 mingw482. Qt-profiles can't be created (bugreport QBS-629).

2014-06-22 Thread Карелин Павел
Hello, I installed qt-opensource-windows-x86-mingw482-4.8.6-1.exe. Next step - cloning QBS from git-repository. Then build QBS (branch 1.2); configuring QBS-profiles. When run qbs-setup-qt.exe --detect I receive a mistake: mkspec '${MINGW482_INSTDIR}/mkspecs/win32-g++-4.6' does not exist

Re: [QBS] Do you use Qt4 to build qbs?

2014-10-19 Thread Карелин Павел
Hi, Some time ago such theme was discussed in mailing for Qt-creator As I understand, building of QtCreator on Qt4 still remains, because Qt 5.x have problems with font rendering. (https://bugreports.qt-project.org/browse/QTBUG-37749) If your drop support for building qbs with Qt4 - how build

Re: [QBS] Do you use Qt4 to build qbs?

2014-10-19 Thread Карелин Павел
20.10.2014 00:00, Orgad Shaneh пишет: Qt Creator requires Qt 5.3 starting from 3.3. I do not mind Qt5, only problem with fonts I would like to see is fixed. Eyes do not last forever ... - Orgad בתאריך 19 באוק 2014 22:58, Карелин Павел hka...@yandex.ru mailto:hka...@yandex.ru כתב

[QBS] Directive import qbs. Whether it is necessary to define a version?

2015-05-16 Thread Карелин Павел
Hi, guis! Almost always qbs-scripts is beginning from a directive import qbs. In some scripts, the version is assigned (import qbs 1.0), but in others - is no (import qbs). In what cases, is need to specify the version? -- Best regards, Pavel Karelin.

Re: [QBS] module for KDSoap

2016-09-20 Thread Карелин Павел
Hello, Ioan. 20.09.2016 12:35, Ioan Calin Borcoman пишет: Adding to both the module and the project using it: Depends { name: "Qt"; submodules: ["core", "network"]} didn't solve the problem, unfortunately. I have reported this as https://bugreports.qt.io/browse/QBS-1021. Regarding your

Re: [Qbs] How to pass a GCC parameter '--param inline-unit-growth=120'

2017-07-31 Thread Карелин Павел
31.07.2017 13:11, Christian Kandeler пишет: On Mon, 31 Jul 2017 12:54:43 +0300 Карелин Павел <hka...@yandex.ru> wrote: For a GCC compiler, I need to pass a parameter: --param inline-unit-growth=120 I do this as follows cpp.driverFlags: [ "--param inline-unit-growth=120"

[Qbs] How to pass a GCC parameter '--param inline-unit-growth=120'

2017-07-31 Thread Карелин Павел
Hi, For a GCC compiler, I need to pass a parameter: --param inline-unit-growth=120 I do this as follows cpp.driverFlags: [ "--param inline-unit-growth=120", ] When I build, I get the following error message: /usr/bin/g++ -O2 -Wall -Wextra*'--param inline-unit-growth=120'* -m64 -pipe

[Qbs] How build 32 bit application on 64 host OS

2017-10-17 Thread Карелин Павел
Hi, I'm working in Ubuntu 14.04, 64 bit. I use QtCreatir 4.4.1 Now I needed to build a small qbs project for two architectures: intel 64 and 32 bits. I have installed qt4 system libraries, 64 and 32 bits respectively. qmake - only 64 bits. Simultaneously install the qmake to 64 and 32 bits - I

Re: [Qbs] How build 32 bit application on 64 host OS

2017-10-18 Thread Карелин Павел
decided to stay on the native assembly on OrangePi -- BR, Pavel Karelin 18.10.2017 07:54, Christian Gagneraud пишет: On 18/10/2017 12:09 AM, Christian Kandeler wrote: On Tue, 17 Oct 2017 12:20:12 +0300 Карелин Павел <hka...@yandex.ru> wrote: I'm working in Ubuntu 14.04, 64 bit. I use QtC

Re: [Qbs] "Multi" Properties

2017-12-18 Thread Карелин Павел
OK, understood. Thank you! 18.12.2017 14:15, Christian Kandeler пишет: On Mon, 18 Dec 2017 14:04:21 +0300 Карелин Павел <hka...@yandex.ru> wrote: In my project, I use the following construction:     cpp.defines: {     var def = [];     if (project.sim

[Qbs] "Multi" Properties

2017-12-18 Thread Карелин Павел
Hi, In my project, I use the following construction:     cpp.defines: {     var def = [];     if (project.simdDebug)     def.push("SIMD_DEBUG");     if (project.useSimd)     def.push("USE_SIMD");     return def;     } It works fine. But I decided to experiment

[Qbs] Licensing of my own QBS modules

2017-11-21 Thread Карелин Павел
Hi, guys! I wrote several modules that slightly extend the functionality of QBS. I want to place them on GitHub, for using their in both open source and commercial projects. Under what license should I place my modules? Can I use a MIT license? -- BR, Pavel Karelin

Re: [Qbs] Licensing of my own QBS modules

2017-11-21 Thread Карелин Павел
21.11.2017 21:26, Карелин Павел пишет: 21.11.2017 20:03, Jake Petroules пишет: Hi Pavel, As the author and copyright holder, you're free to use whatever license you want. MIT is certainly a good choice. Ok, this is great! However, depending on the kind of functionality your modules

[Qbs] qm-file build as internal resource

2017-12-11 Thread Карелин Павел
Hi, I'm build a third-party project. The peculiarity of the project is that qm-files are represented as internal resources. Now I solved the problem with a terrible hack: 1) Created the 'Translations' product Product {     name: "Translations"     type: "qm"     destinationDirectory:

[Qbs] Linking dynamic library with version

2017-12-09 Thread Карелин Павел
Hi, I need to connect the dynamic library 'soxr' to the QBS project. The system has a symlink of libsoxr.so.0 (with the version), but not libsoxr.so How can I connect to the project libsoxr.so.0? -- BR, Pavel Karelin ___ Qbs mailing list

Re: [Qbs] qm-file build as internal resource

2017-12-12 Thread Карелин Павел
12.12.2017 11:49, Christian Kandeler пишет: On Mon, 11 Dec 2017 19:58:27 +0300 Карелин Павел <hka...@yandex.ru> wrote: I'm build a third-party project. The peculiarity of the project is that qm-files are represented as internal resources. Now I solved the problem with a terrible h

Re: [Qbs] QBS usage

2018-06-18 Thread Карелин Павел
Hi, I use only QBS (for both workers and for my own projects). On the previous place of work through QBS I builded billing system (The project was quite voluminous, though simple in structure). On the current work with QBS I successfully build the Caffe-framework (with NVIDIA GPU support).

[Qbs] Load qt-plugins

2017-12-21 Thread Карелин Павел
Hi, everyone For my project, in addition to linking qt libraries, it also requires qt-plugins. Where I can be placed the qt-plugins so that they can be seen the main qt libraries? For example. Main dir project: /opt/myproj Qt-libs: /opt/myproj/lib Where should the directory with plugins be

Re: [Qbs] Running a helper application right after it is build

2018-08-13 Thread Карелин Павел
console.info(sourceDir);     console.info(outputFile);     var cmd = new Command(runUtl, [sourceDir, outputFile]);     cmd.description = 'sonnet parse trigrams ';     cmd.highlight = "filegen";     return cmd;     }     } 13.08.2018 18:47,

[Qbs] Running a helper application right after it is build

2018-08-12 Thread Карелин Павел
Hi, guys I have a project in which, in addition to the main application, auxiliary utilities are builded. In this regard, I have two questions: 1) How do I run an auxiliary utility right after his built, so that it could generate necessary data? 2) How to pass parameters to the auxiliary

Re: [Qbs] Running a helper application right after it is build

2018-08-13 Thread Карелин Павел
13.08.2018 11:31, Christian Kandeler пишет: On Sun, 12 Aug 2018 22:56:31 +0300 Карелин Павел wrote: I have a project in which, in addition to the main application, auxiliary utilities are builded. In this regard, I have two questions: 1) How do I run an auxiliary utility right after his

Re: [Qbs] Running a helper application right after it is build

2018-08-14 Thread Карелин Павел
Christian, thanks for the explanations -- BR, Pavel Karelin 14.08.2018 14:53, Christian Kandeler пишет: On Tue, 14 Aug 2018 14:27:35 +0300 Карелин Павел wrote: Today, with a fresh head, I decided to shorten the script a little (see below). At me all has turned out - the project was builded

Re: [Qbs] Donation to QBS developers/maintainers/contributes

2019-05-14 Thread Карелин Павел
+1 14.05.2019 11:54, Алексей Скородумов пишет: Hi, Is it hard to make "donate" button on "QBS site" as a part of "transition to community"? I can't contribute time right now, but would like to support the project. -- Best regards, Aleksei Skorodumov

[Qbs] Construction project.buildDirectory

2019-12-19 Thread Карелин Павел
Hello My colleague decided to try QtCreator 4.11 (QBS 1.15), and faced a problem. At this project the QtCreator 4.11 issues a mistake: import qbs Project {     minimumQbsVersion: "1.12.0"     Probe {     id: projectProbe     readonly property string projectBuildDirectory:

Re: [Qbs] Construction project.buildDirectory

2019-12-19 Thread Карелин Павел
19.12.2019 16:46, Christian Kandeler пишет: On Thu, 19 Dec 2019 16:35:22 +0300 Карелин Павел wrote: My colleague decided to try QtCreator 4.11 (QBS 1.15), and faced a problem. At this project the QtCreator 4.11 issues a mistake: import qbs Project {     minimumQbsVersion: "1

Re: [Qbs] Construction project.buildDirectory

2020-02-06 Thread Карелин Павел
Richard, Christian, thanks for the information. How will I have the opportunity to upgrade to the new version of QtC - I will  look at this fix -- BR, Pavel Karelin 06.02.2020 18:44, Christian Kandeler пишет: On Thu, 6 Feb 2020 16:08:42 +0100 Richard Weickelt wrote: sorry for breaking

Re: [Qbs] Construction project.buildDirectory

2020-05-15 Thread Карелин Павел
06.02.2020 19:02, Карелин Павел пишет: Richard, Christian, thanks for the information. How will I have the opportunity to upgrade to the new version of QtC - I will  look at this fix -- BR, Pavel Karelin 06.02.2020 18:44, Christian Kandeler пишет: On Thu, 6 Feb 2020 16:08:42 +0100 Richard Weickelt

[Qbs] QBS script parsing speed

2020-06-30 Thread Карелин Павел
Hello. Now I'm trying to write a QBS build script for a fairly large project (QGIS). After making every change to the build script - the project tree is rebuilt and QtCreator freezes for 10-15 seconds. It seems that 10-15 is not so much, but since I have to make a lot of changes in the

Re: [Qbs] QBS script parsing speed

2020-06-30 Thread Карелин Павел
example: // qbs/imports/MyBaseApplication.qbs CppApplication { Depends { name: "SomeLibNeededEverywhere" } } // in other .qbs files use MyBaseApplication instead of CppApplication MyBaseApplication { } <<<<<<<<<<<<<<<<<<<<

Re: [Qbs] QBS script parsing speed

2020-07-01 Thread Карелин Павел
I updated QtC to version 4.12.3 (QBS 1.16.0). After that, parsing my project from scratch took 4-7 seconds. With this times  is possible to work quite comfortably. Thanks for speeding up! :))) -- BR, Pavel Karelin 30.06.2020 18:09, Jochen Ulrich пишет: Nice! It brings a ~44% speed

Re: [Qbs] Rule.Return dynamic list for outputArtifacts

2020-07-23 Thread Карелин Павел
e project is almost imperceptible. Nevertheless, I want to thank Christian and Richard for their advices. Now I know a little more about QBS :-) -- BR, Pavel Karelin 21.07.2020 18:42, Christian Kandeler пишет: On Tue, 21 Jul 2020 18:32:10 +0300 Карелин Павел wrote: How can I execute Command from o

Re: [Qbs] Rule.Return dynamic list for outputArtifacts

2020-07-24 Thread Карелин Павел
23.07.2020 14:34, Christian Kandeler пишет: 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 ge

[Qbs] Rule.Return dynamic list for outputArtifacts

2020-07-21 Thread Карелин Павел
Hello. 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 justified from the point of view of parallel compilation,

Re: [Qbs] Rule.Return dynamic list for outputArtifacts

2020-07-21 Thread Карелин Павел
21.07.2020 16:45, Christian Kandeler пишет: 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