QBS depends from qmake's *.pro library
-
Hi and welcome to devnet,
Which version are you using exactly ?
This library is not an official Qt module so it might be missing something to work with QBS.
-
Thank you, there is versions:
>> c:\Qt\Tools\QtCreator\bin\qbs --version 1.7.1
>> c:\Qt\5.8\mingw53_32\bin\qmake --version QMake version 3.1 Using Qt version 5.8.0 in C:/Qt/5.8/mingw53_32/lib
And what qt-plugin must have to work properly with qbs system? Documentation is lack there.
-
Sorry, I mean't the version of xlsx but anyway, thanks for the details about your installation.
-
Oh. I just cloned master-branch. 0.3 i thougth.
-
What compiler/OS are you using? How are you invoking the build?
had wrotten with old build system
qmake is not an "old build system" it's the system used to build Qt itself. QBS is an alternative but to be honest I'm not sure how popular it is. I'd say CMake is far more widely used than QBS as alternative
-
What compiler/OS are you using? How are you invoking the build?
had wrotten with old build system
qmake is not an "old build system" it's the system used to build Qt itself. QBS is an alternative but to be honest I'm not sure how popular it is. I'd say CMake is far more widely used than QBS as alternative
@VRonin Compiling with mingw 5.3 32bit, but i do not think that one is a decisive factor. Same with my Windows 7 SP1 64bit. Cause make (qmake is wrapper of make, like cmake) as well as qbs (not a wrapper) just call compiler to translate and link objects. Anyway, I want to know, how to friend libraries that had been built with qmake to project, that building with qbs. While qbs provide more consistent and portable way to say compiler where are libraries I want to use one. But documentation is lack, examples (mainly Qt itself) is too hard to understand. Of couse this time it could be done by inserting library into source tree but how about better way?
-
Yep, library build successfully. Dll's are in Qt's directory, so make install run successfully too. And sorry, this is quite strange, but i do not know how to link external library in qbs.
-
Sorry, probably I misunderstood.
- did you build the QXlsx library successfully using qmake?
- did you run
make install
too? - did you try linking in qbs as an external library rather than a qt module?
@VRonin problem still did not solved.
-
-
@VRonin Hm... Thank you. But what about qbs' import? Is *pro projects сompatible with *qbs ones?
-
Ok. I could not solve this issue. As I see right now QBS totaly undocumented (though sources are accessible) and buggy. By the way Qt Xlsx licensed under MIT so I just use them by adding into my tree source. All is working properly and easy way to slightly edit one in order to fit my project is also pretty point.
Thank you any body who tried to help me.