[Qt-creator] Difference between QtC tarballs from github and qt.io

Konstantin Tokarev annulen at yandex.ru
Fri May 26 12:27:11 CEST 2017



26.05.2017, 13:19, "Andrzej Telszewski" <atelszewski at gmail.com>:
> Hi,
>
> I noticed there is a difference between tarball from
> https://github.com/qtproject/qt-creator/archive/v4.3.0.tar.gz
>
> and
> https://download.qt.io/official_releases/qtcreator/4.3/4.3.0/qt-creator-opensource-src-4.3.0.tar.gz
>
> namely, "src/shared/qbs" is empty in tarball from github, but it is
> present in tarball from qt.io
>
> Is this intentional?

src/shared/qbs is a submodule, and apparantly Github doesn't include
submodules contents into autogenerated archives.

Actually, I wouldn't recommend using Github autogenerated archives
for any purpose, use official tarballs that have approved contents and
good compression.

>
> The lack of qbs source in github's tarball bit me yesterday, when I was
> trying to compile QtC against system-wide qbs installation.
>
> It turns out I have to add
> DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES
>
> to qmake's command line when generating Makefile for QtC.
>
> This is required so that declarations from "qbs/api/project.h":
> #ifdef QBS_ENABLE_PROJECT_FILE_UPDATES
>      ErrorInfo addGroup(const ProductData &product, const QString
> &groupName);
>      ErrorInfo addFiles(const ProductData &product, const GroupData &group,
>                         const QStringList &filePaths);
>      ErrorInfo removeFiles(const ProductData &product, const GroupData
> &group,
>                            const QStringList &filePaths);
>      ErrorInfo removeGroup(const ProductData &product, const GroupData
> &group);
> #endif // QBS_ENABLE_PROJECT_FILE_UPDATES
>
> are available when compiling QtC.
>
> If I recall correctly, this problem didn't exist when using tarball from
> qt.io and compiling against system-wide qbs.
>
> Am I missing some documentation or is documentation missing something? :-)
>
> Thanks!
>
> --
> Best regards,
> Andrzej Telszewski
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Regards,
Konstantin



More information about the Qt-creator mailing list