[QBS] qbs-cmd and qt creator compatibility
mapron at yandex.ru
Mon Dec 16 03:17:37 CET 2013
I having QBS from git compiled. It works from cmd, all seems fine;
I comfigured batch file for MSVS integration, all fine too.
Assume we have qbs binaries and share folder in repository;
If QtC had the same version than cmd version, we just create symlink to qbs/share directory (because we have project-specific modules).
but QtC release has qbs 1.1.1 version, which differs in api with qbs 1.2 in git. so using its share "bindings" brings build to fail.
If we use symlink to qbscore1.dll from qbs 1.2 (or just copy), QtC crashes.
if we leave original share/* folders, then we unable to build our project (and project.qbs parsing fails too).
even if we copy our additional modules to Qtc 3.0.0 share/ folder, it fails to build becase of different api (file tags or smth similar).
So, it is incompatible and we have only two solutions:
-compile QtC from source with qbs 1.2;
-support two different versions of custom modules.
Maybe QBS team can suggest more proper solution?
More information about the Qbs