[Qt-creator] Difference between QtC tarballs from github and qt.io
Andrzej Telszewski
atelszewski at gmail.com
Fri May 26 12:19:08 CEST 2017
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?
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
More information about the Qt-creator
mailing list