[Qbs] Failed build the project with QBS 1.22.1
Карелин Павел
hkarel at yandex.ru
Fri Apr 29 17:27:55 CEST 2022
Hello, developers.
I have a QGit project (https://github.com/hkarel/qgit)
It builds fine with QBS 1.21.1 (gitrev: 36639ff3a)
Today I installed QBS 1.22.1 (gitrev: b6a46aa01) and the project stopped
building.
I am getting this error:
ERROR: /usr/bin/g++ -O2 -Wall -Wextra -m64 -pipe -fexceptions
-fvisibility=default -ggdb3 -Wall -Wextra -Wno-unused-parameter
-Wno-variadic-macros -fPIC -DNDEBUG '-DVERSION_PROJECT="3.0.4"'
-DVERSION_PROJECT_MAJOR=3 -DVERSION_PROJECT_MINOR=0
-DVERSION_PROJECT_PATCH=4 '-DGIT_REVISION="6019056"'
-DLOGGER_LESS_SNPRINTF '-DCONFIG_DIR="~/.config/qgit"' -DQT_CORE_LIB
-DQT_NO_DEBUG
-I/home/hkarel/CProjects/QGit/build/release-master/GenTrigrams.60541d6d/qt.headers
-isystem/home/hkarel/CProjects/QGit/build/release-master/GenTrigrams.60541d6d/qt.headers
-isystem/usr/include/x86_64-linux-gnu/qt5
-isystem/usr/include/x86_64-linux-gnu/qt5/QtCore
-isystem/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -std=c++17 -o
/home/hkarel/CProjects/QGit/build/release-master/GenTrigrams.60541d6d/3a52ce780950d4d9/gentrigrams.cpp.o
-c /home/hkarel/CProjects/QGit/src/spellcheck/sonnet/gentrigrams.cpp
ERROR:
/home/hkarel/CProjects/QGit/src/spellcheck/sonnet/gentrigrams.cpp:11:10:
fatal error: shared/list.h: No such file or directory
11 | #include "shared/list.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
Now the compiler does not see the header file "shared/list.h" from the
SharedLib dependency.
How to fix the problem?
--
BR, Pavel Karelin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20220429/13b11307/attachment.htm>
More information about the Qbs
mailing list