[Qbs] Please provide VM resources for the CI runners

2022-01-23 Thread Denis Shienkov
Hi guys, We need to have at least two separate VMs with Windows and Linux installed (or, at least one Windows VM) in order to continue the tests for Qbs using CI. We are use the GitHub resources for the auto-tests (including the Docker containners and so on), where all does work fine. But, we

Re: [Qbs] Dynamic generation of the resource file

2021-10-03 Thread Denis Shienkov
: "trigrams"   Qt.core.resourcePrefix: "trigrams" And I don't understand how to specify another file name. -- Pavel 02.10.2021 09:17, Denis Shienkov пишет: Hi, > how to add another "qresource prefix" section to this resource file, for example "binary"?

Re: [Qbs] Dynamic generation of the resource file

2021-10-02 Thread Denis Shienkov
Hi, > how to add another "qresource prefix" section to this resource file, for example "binary"? But, for what? You can create/generate just a second resource file with the binaries. BR, Denis 01.10.2021 22:47, Карелин Павел пишет: Good time of day, colleagues I previously asked how to

[Qbs] VSCode plugin for QBS is ready to use

2020-11-10 Thread Denis Shienkov
Hi all, the QBS plugin v0.0.8 right now is ready to use, and has been added to the VSCode Market: * https://marketplace.visualstudio.com/items?itemName=qbs-community.qbs-tools enjoy )) BR, Denis ___ Qbs mailing list Qbs@qt-project.org

[Qbs] Long live QBS plugin for VSCode

2020-10-22 Thread Denis Shienkov
Hi developers, Recently, I have started the plugin for the VS Code that support the QBS: * https://github.com/denis-shienkov/vscode-qbs Right now I have released the developer pre-view release v0.0.5: * https://github.com/denis-shienkov/vscode-qbs/releases/tag/v0.0.5 Right now this plugin

Re: [Qbs] Qbs 1.15.0 released

2020-05-05 Thread Denis Shienkov
s/1.15/1.16 :)) 05.05.2020 13:33, Richard Weickelt пишет: Hello, I'd like to announce the release of Qbs 1.16.0 if you haven't seen the blog post, yet. Source and binary packages as well as a change log can be found at https://download.qt.io/official_releases/qbs/1.16.0/. This release of Qbs

Re: [Qbs] Accessing qbs.architecture in Probe

2020-01-30 Thread Denis Shienkov
>However, qbs.architectures is not yet evaluated at the time the probe is executed. > Is there a way to get the required information at this early stage? Hi. Most likelly, you need to store your qbs.architecture to a temporary property: YourProbe { // Inputs property string

Re: [Qbs] [baremetal] I looking proffesionals faced with Cypress FX2 && IAR

2019-10-19 Thread Denis Shienkov
5AM +0300, Denis Shienkov wrote: something wrong with SUDPTRH && SUDPTRL features. such registers are typically declared using toolchain-specific c extensions. are you sure qbs is picking up the the headers from the IAR toolchain? ___ Qbs maili

[Qbs] [baremetal] I looking proffesionals faced with Cypress FX2 && IAR

2019-10-17 Thread Denis Shienkov
Hi guys, I want to add an additional example which implements the USB HID Game Pads for the NES (Dendy) Joysticks: * https://github.com/denis-shienkov/nes-gamepads/tree/fx2 This example based on a Cypress CY7C68013A chip: * https://www.cypress.com/file/138911/download which is based on 8051

[Qbs] QtC 4.10.1 missed QBS 1.14.1!!

2019-10-08 Thread Denis Shienkov
Hi guys, Seems, you are forgot to deliver QBS 1.14.1 with QtC 4.10.1. Right now I see that it use QBS 1.14.0. How it happens? I was hoping for QBS 1.14.1... All my fixes go to /dev/ass    :(( BR, Denis ___ Qbs mailing list Qbs@qt-project.org

Re: [Qbs] Qbs (way) faster than cmake (or benchmark issue)

2019-07-17 Thread Denis Shienkov
Hi, time qbs -f ../qtcreator.qbs -j $jobs profile:qt-5-12-2 project.withAutotests:false vs cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS_DEBUG="-O0 -g" -G Ninja .. time ninja -j $jobs Is QBS's default profile is debug too? Because for CMake you set -DCMAKE_BUILD_TYPE=Debug. Maybe the use

[Qbs] bare-metal: Need help with adding of SDCC compiler

2019-02-21 Thread Denis Shienkov
Hi guys. I have planns to add support for SDCC [1] compiler to QBS/QtC for bare-metal devices. But problem is that this compiler supports multiple different arcitectures: c:\SDCC\bin>sdcc -v SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8 3.8.0

Re: [Qbs] Unexpected behavior of MSVC generator

2019-02-18 Thread Denis Shienkov
e the QtC && QBS with generators. :) 18.02.2019 22:11, André Pönitz пишет: On Sun, Feb 17, 2019 at 09:10:32PM +0300, Denis Shienkov wrote: For c++ - yes. Imagine a pure javascript rule that doesn’t invoke any «compiler» (like cl or javac) but converts some input to output using qbs itself.

Re: [Qbs] Unexpected behavior of MSVC generator

2019-02-17 Thread Denis Shienkov
Richard, > If you are using IAR then you probably appreciate the performant debugger and its ability to debug even highly optimized code. You are probably also used to IAR's editor and you can't live without it. Fair enough, but for that you don't need its native build tool, really. All you

Re: [Qbs] Unexpected behavior of MSVC generator

2019-02-17 Thread Denis Shienkov
'native' project for a target tool. 17.02.2019 0:32, Иван Комиссаров пишет: 16 февр. 2019 г., в 19:04, Denis Shienkov <mailto:denis.shien...@gmail.com>> написал(а): Why is it a very challenging task? It is enough just to parse the QBS project, to take a compiler flags, arc

[Qbs] Unexpected behavior of MSVC generator

2019-02-16 Thread Denis Shienkov
Hi all, It was surprised for me, that a generated MSVC solution file has a build commands which are calls the QBS to build the generated MSVC solution... It is recursion!!! o_O WTF? But it has not a sense! If I want to build a project using the QBS, then I know that I will use the QBS! But

Re: [Qbs] How QBS && QtCreator integration does work?

2018-12-14 Thread Denis Shienkov
I have addes a basic IAR support, please look here: https://codereview.qt-project.org/#/c/248265/ чт, 13 дек. 2018 г. в 18:43, Christian Kandeler : > On Thu, 13 Dec 2018 12:52:58 +0300 > Denis Shienkov wrote: > > > > The compiler is looked up in the PATH if the r

Re: [Qbs] How QBS && QtCreator integration does work?

2018-12-13 Thread Denis Shienkov
module gets called. Although, I have added a new 'IAR' kit to QtC... So, it is unclear for me. чт, 13 дек. 2018 г. в 12:38, Christian Kandeler : > On Thu, 13 Dec 2018 12:16:52 +0300 > Denis Shienkov wrote: > > > How does it work? Why we need in this Probes at all? > &g

[Qbs] How QBS && QtCreator integration does work?

2018-12-13 Thread Denis Shienkov
Hi guys, It is unclear for me how the QtC's Kits information passes to QBS... Is it related at all? For example, lets assume that I have added to QtC two GCC compilers 'A' and 'B'. And then I have created the 'Kit_1', in which I have choosed e.g. compiler 'B'. Looking by QBS cpp module scripts,

Re: [Qbs] How do I tell qbs to use the nasm assembler when building using QtCreator and a Qt kit?

2017-12-14 Thread Denis Shienkov
> I'll have a similar Group item containing assembly Hi, seems, you need to use Properties item instead of Group item to use cpp.assemblerName . BR, Denis 14.12.2017 23:01, Ola Røer Thorsen пишет: 2017-12-14 18:02 GMT+01:00 Christian Kandeler

[Qbs] Use DBus module with xml2CppHeaderFlags property

2017-11-20 Thread Denis Shienkov
Hi all, I need to port the following qmake's features to qbs: phonebook_access_iface.files = $$PWD/org.bluez.obex.PhonebookAccess1.xml phonebook_access_iface.header_flags = -i dbusphonebooktypes_p.h DBUS_INTERFACES += phonebook_access_iface for this purpose, seems, I need to use

Re: [Qbs] QBS integration with QtC 'issues' and/or 'compile output' panes

2017-10-27 Thread Denis Shienkov
Christian, Ok, many thanks. ___ Qbs mailing list Qbs@qt-project.org http://lists.qt-project.org/mailman/listinfo/qbs

[Qbs] Second rule reads empty file generated by first rule

2017-10-11 Thread Denis Shienkov
Hi all, I have a project with some rules: 'producer' and 'consumer', The 'producer' generates an artifact with the JSON file, and the 'consumer' receive this artifact on input and does trying to read content of this JSON file. BUT: The consumer always reads an empty content, even the file

Re: [Qbs] Rule with merging of inputs tuples (pairs)

2017-10-11 Thread Denis Shienkov
s { , , > } of matching artifacts from all the inputs and outputs and create > one copy command per such tuple. > > As you can see, there is a bit of "manual labor" involved, because qbs has > no information about which two input artifacts belong together. > > > Chri

[Qbs] Rule with merging of inputs tuples (pairs)

2017-10-11 Thread Denis Shienkov
Hi all, is it possible to do something this? I have following set of files as inputs: 1) a1.bin, a2.bin, a3.bin, ..., aN.bin 2) b1.bin, b2.bin, b3.bin, ..., bN.bin I need to do some processing for this files to have on outputs like: c1.bin = a1.bin + b1.bin c2.bin = a2.bin + b2.bin c3.bin =

Re: [Qbs] qbs ignores the 'manual' cpp.linkerMode behavior

2017-10-10 Thread Denis Shienkov
Ok, many thanks, guys. :) 10.10.2017 10:21, Jake Petroules пишет: Yes, I think your solution seems reasonable. It's possible we might want a similar cpp.assemblerMode option as well, but I'm not sure. ___ Qbs mailing list Qbs@qt-project.org

Re: [Qbs] qbs ignores the 'manual' cpp.linkerMode behavior

2017-10-10 Thread Denis Shienkov
roduct.qbs Hope this helps, Timur On Mon, 2017-10-09 at 18:32 +0300, Denis Shienkov wrote: Hi all, I use the AVR-GCC compiler, and I need to use following command line: "-nostartfiles -nodefaultlibs -nostdlib -Wl,- Map="$(OutputFileName).map" -Wl,--start-group -Wl,-lm -Wl,--end

[Qbs] qbs ignores the 'manual' cpp.linkerMode behavior

2017-10-09 Thread Denis Shienkov
Hi all, I use the AVR-GCC compiler, and I need to use following command line: "-nostartfiles -nodefaultlibs -nostdlib -Wl,-Map="$(OutputFileName).map" -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--gc-sections -mrelax -Wl,-section-start=.text=0x1f400 -Wl,-section-start=.ExtReset=0x1e000

[Qbs] How to get a product's source directory from the artifact from inputsFromDependencies

2017-10-07 Thread Denis Shienkov
Hi all. I need to create e.g the 'zip' archive of output binaries of my project, where my project contains some of application's products. I have looked on qbs\src\packages\archive\archive.qbs example, where are used the windeployqt utility. It is fine, but I need to use the --qmldir

[Qbs] Use qbs 1.9 to build Android apps from QtC

2017-09-21 Thread Denis Shienkov
Hi all. It is possible now to use the QBS (at least v1.9) to build the Android applications from QtC? I have tried to open the qbs\examples\compiled-qml\ example for the configured QtC's Android's Kit, but I get an errors: "

Re: [QBS] Use case of "action" targets (QBS-262)

2015-10-05 Thread Denis Shienkov
Ahh, ok, it is clear now. Many thanks :) 2015-10-05 12:38 GMT+03:00 Christian Kandeler < christian.kande...@theqtcompany.com>: > On 10/05/2015 11:25 AM, Denis Shienkov wrote: > > > See for instance share/qbs/imports/qbs/base/AutotestRunner.qbs, which > > implements q

Re: [QBS] ReferenceError: Can't find variable: type

2015-07-30 Thread Denis Shienkov
Ah, sorry, this already has been fixed: https://codereview.qt-project.org/#/c/122409/ Many thanks. :) BR, Denis 30.07.2015 9:04, Denis Shienkov пишет: fix has been posted for the WiX issue Ok, thanks. But the WiX issue - it is just a consequence but not source of a problem. The source

Re: [QBS] ReferenceError: Can't find variable: type

2015-07-29 Thread Denis Shienkov
Hi folks, is there are any progress with this? BR, Denis 2015-07-15 11:32 GMT+03:00 Denis Shienkov denis.shien...@gmail.com: Hi all. Can someone look on this bug: https://bugreports.qt.io/browse/QBS-832 ? There is an epic bug which can be reproduced so: = c:\Qt\Qt5.5.0-msvc\Tools

Re: [QBS] ReferenceError: Can't find variable: type

2015-07-29 Thread Denis Shienkov
for this issue? BTW, This bug is in reported state about a month.. Or do you think that it not a hard error and it shouldn't be fixed at all? BR, Denis 2015-07-29 11:00 GMT+03:00 Christian Kandeler christian.kande...@theqtcompany.com: On 07/29/2015 09:43 AM, Denis Shienkov wrote: Hi folks

[QBS] ReferenceError: Can't find variable: type

2015-07-15 Thread Denis Shienkov
Hi all. Can someone look on this bug: https://bugreports.qt.io/browse/QBS-832 ? There is an epic bug which can be reproduced so: = c:\Qt\Qt5.5.0-msvc\Tools\QtCreator\share\qtcreator\qbs\share\qbs\modules\foo\FooModule.qbs = import qbsimport qbs.ModUtils Module { property stringList

Re: [QBS] Rule ist not executed

2014-11-22 Thread Denis Shienkov
UPD: If you want do it in install/delivery stage, then can be just add following: Group { fileTagsFilter: hpp qbs.install: true qbs.installDir: /test } BR, Denis 22.11.2014 23:42, Denis Shienkov пишет: Hi, seems you should to add to your project a new type: Product

[QBS] Is there are way to deploy *qm files?

2014-11-06 Thread Denis Shienkov
Hi all. How I can deploy a *.qm files together with the executable files? For example I have this in *.qbs project file: ... ... files: [ main.cpp, main.ts ] ... ... Group { fileTags: product.type qbs.install: true qbs.installDir: blabla } But after deployment I see only one

Re: [QBS] Is there are way to deploy *qm files?

2014-11-06 Thread Denis Shienkov
Hi Joerg, many many thanks. :) 2014-11-06 16:53 GMT+03:00 Joerg Bornemann joerg.bornem...@theqtcompany.com : On 06-Nov-14 13:44, Denis Shienkov wrote: How I can deploy a *.qm files together with the executable files? You need to tell qbs that artifacts that are tagged as qm should

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

2014-10-17 Thread Denis Shienkov
Hi Joerg. Please do not drop of Qt4 support :) I'm recently replace a big project (based on Qt4) to QBS from MSVC. Nobody want to port (won't pay me to additional work) this project on Qt5 from Qt4 for QBS support, besides, this porting is a big risk. Currently we use QBS in own Qt4 project to

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

2014-10-17 Thread Denis Shienkov
He meant building Qbs itself, not the projects it builds... Ahh.. Sorry.. Then it is irrelevant for me. :) 2014-10-17 18:29 GMT+04:00 Orgad Shaneh org...@gmail.com: On Fri, Oct 17, 2014 at 5:27 PM, Denis Shienkov denis.shien...@gmail.com wrote: Hi Joerg. Please do not drop of Qt4 support

Re: [QBS] [Development] [HEADS UP] new branching scheme: 5.3 branches created, stable deprecated

2014-06-06 Thread Denis Shienkov
Hi, If we have a 5.x.y branch available (because we’re in the process of preparing a release), and you have a fix for a showstopper for that release, push to the 5.x.y branch. So, the 5.x.y it is equivalent to release branch, and 5.x (5.3) it is equivalent to stable branch ? BR, Denis

[QBS] Get product property from another product

2014-06-02 Thread Denis Shienkov
Hi All, are available any way to get a product property, similar with a module property way? e.g. by analogy with Module: var moduleProperty = product.moduleProperties(moduleName, propertyName) ; but only for Product: var productProperty = product.poductProperties(productName, propertyName) ;

Re: [QBS] How to use linking dependences of the third-party libraries

2014-05-28 Thread Denis Shienkov
linked fine.. But this hardcode is ugly, IMHO.. BR, Denis 2014-05-28 12:57 GMT+04:00 Christian Kandeler christian.kande...@digia.com : On 05/27/2014 07:49 PM, Denis Shienkov wrote: Christian, Sorry, this is so weird I don't even know where to start. A problem

Re: [QBS] How to use linking dependences of the third-party libraries

2014-05-27 Thread Denis Shienkov
Guys, can someone help me, please? :) BR, Denis 2014-05-26 12:48 GMT+04:00 Denis Shienkov denis.shien...@gmail.com: Hi guys.. In my project I want linking with an third-party HASP libraries (as example). E.g. from the HASP I have an only one linking library (*.lib) and one runtime

[QBS] How to use linking dependences of the third-party libraries

2014-05-26 Thread Denis Shienkov
Hi guys.. In my project I want linking with an third-party HASP libraries (as example). E.g. from the HASP I have an only one linking library (*.lib) and one runtime library (*.dll). How I can use those libraries to linking with them? I tried to create for them a separate product: import

[QBS] Run some rules in build or deploy or custom step.

2014-05-23 Thread Denis Shienkov
Hi all, E.g. I want to use the WiX module. But this module by default works only in build step. I.e. works when I try to build my Products from the Project. But I want to run my WiX product separately, e.g. in deploy step.. The WiX module it is just as example. A main question is: it is

Re: [QBS] Run some rules in build or deploy or custom step.

2014-05-23 Thread Denis Shienkov
Clear, thanks. 2014-05-23 15:08 GMT+04:00 Joerg Bornemann joerg.bornem...@digia.com: On 23-May-14 11:38, Denis Shienkov wrote: A main question is: it is possible to do something that my Products (Rules of module) was launched only in appropriate steps? or, it is possible to introduce

[QBS] How to run module rules by ordered in single-threaded mode?

2014-05-22 Thread Denis Shienkov
Hi all.. I in process of creating a custom module to support of an Keil C51 compiler. Currently I have an very big problem: the C51.exe compiler is frequently crashed when it is invoked from the Rule of module. A crash happens if number of source files (*.c) more than one. The interesting

Re: [QBS] How to setup an custom profile without Qt?

2014-05-17 Thread Denis Shienkov
from QtCreator... But I am not sure. So, can you please, help me for this issue? BR, Denis 17.05.2014 0:41, Jake Petroules пишет: On 2014-05-16, at 02:36 PM, Denis Shienkov denis.shien...@gmail.com wrote: Hi all. I have an two questions: 1) I want to setup manually an custom profile

[QBS] Error at using multiple artifacts for module's rule

2014-05-16 Thread Denis Shienkov
Hi all.. My new question is continuation of previous issue: http://lists.qt-project.org/pipermail/qbs/2014-May/000703.html Where I trying to adapt an Keil (C51) compiler to Qbs. Now I want to create multiple artifacts: - one to generate the object file (*.obj) - one to genetate the listings

Re: [QBS] Error at using multiple artifacts for module's rule

2014-05-16 Thread Denis Shienkov
Joerg, many thanks, it works. Sorry for my stupid questions.. :) BR, Denis 2014-05-16 15:57 GMT+04:00 Joerg Bornemann joerg.bornem...@digia.com: On 16-May-14 13:44, Denis Shienkov wrote: Artifact { condition: product.moduleProperty(qbs, generateListing

[QBS] How to setup an custom profile without Qt?

2014-05-16 Thread Denis Shienkov
Hi all. I have an two questions: 1) I want to setup manually an custom profile with the custom qbs and cpp options, without Qt (using the qbs-config utility). E.g. here http://qt-project.org/doc/qbs-1.2/qt-versions.html I see that is used a path to the qmake: {quote} qbs setup-qt

Re: [QBS] Functions in QBS scripts and accessing properties from them.

2014-05-15 Thread Denis Shienkov
Well I guess it is fairly special - I'm compiling stuff for a microcontroller using gcc for arm embedded. As I know, you can create a custom *.config file in which to specify paths to your toolchain, and then pass to qbs this your config file. Then qbs will take your profile as default profile..

[QBS] is there a way to get a path to sub-project's target file?

2014-05-08 Thread Denis Shienkov
Hi all. I have such project: Project { ... references: [ product1/product1.qbs, product2/product2.qbs, ] ... } In Product2 there is a dependence on Product1 and some rule in which it is necessary to receive a full path to the target file from Product1:

[QBS] How to use the generated files which don't exist yet

2014-05-07 Thread Denis Shienkov
Hi all. I need to set into the files variable a files which don't exist yet and shall be generated in build process: Application { ... files: [ mygeneratedfile.cpp ] // this file will be available after some rule ... } I looked at examples of source codes of QtCreator and I see that there

Re: [QBS] How to use the generated files which don't exist yet

2014-05-07 Thread Denis Shienkov
the some template *.wsx.in (a CPP was just an example). :) So, how I should to add the wsx tag for this purpose? Can you please provide some code of your suggestion? BR, Denis 2014-05-07 16:05 GMT+04:00 Christian Kandeler christian.kande...@digia.com : On 05/07/2014 02:00 PM, Denis Shienkov wrote

Re: [QBS] How to use the generated files which don't exist yet

2014-05-07 Thread Denis Shienkov
will try it.. BR, Denis 2014-05-07 16:23 GMT+04:00 Christian Kandeler christian.kande...@digia.com : On 05/07/2014 02:15 PM, Denis Shienkov wrote: And why do you think that is a problem? If you give your output artifact the cpp tag, it will be considered for building, just like e.g

Re: [QBS] Building of external projects

2014-05-05 Thread Denis Shienkov
Care to create a suggestion in JIRA? Done: https://bugreports.qt-project.org/browse/QBS-562 BR, Denis 2014-05-05 13:17 GMT+04:00 Joerg Bornemann joerg.bornem...@digia.com: On 22-Apr-14 16:42, Denis Shienkov wrote: Whether it is planned to support in QBS a feature to build of an external

[QBS] Building of external projects

2014-04-22 Thread Denis Shienkov
Hi all. Whether it is planned to support in QBS a feature to build of an external projects? Similar with the CMake feature: http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html BR, Denis ___ QBS mailing list QBS@qt-project.org

[QBS] [WiX]Are a way to got a list of all dependent runtime libraries?

2014-04-06 Thread Denis Shienkov
Hi all. Seems, it is a common question that related not only to the WiX module. For example, I want to create an MSI installer for the MyProject. So, for me is need to define a list of all used Runtime Libs.. 1) In principle, I would try to receive the list of full paths of used Qt of

Re: [QBS] Do not called custom Rule from custom Module

2014-04-05 Thread Denis Shienkov
Christian, this does not help, still nothing... Denis 04.04.2014 18:59, Christian Kandeler пишет: On 04/04/2014 04:43 PM, Denis Shienkov wrote: [ ... ] and then in my project file I to do: import qbs.base 1.0 DynamicLibrary { name: foo

Re: [QBS] How to use WIX module

2014-04-05 Thread Denis Shienkov
Ah, sorry.. I am too inattentive.. Heed to use: WindowsInstallerPackage{ ... ... } instead of: Product { ... ... } into my Installer project.. Best regards, Denis 05.04.2014 23:09, Denis Shienkov пишет: Hi all. I know, that current QBS version (at least from v 1.2.0) contains the new