Hello,

I tried to get Qt 5.9 built with PTXDist and after I have set the PKG_CONFIG_SYSROOT_DIR=/ and have done some minor adjustments to qt5.make regarding configure parameter it builds until it reaches the QtWebengine part.

[2/14208] CXX obj/dbus/dbus/property.o
FAILED: obj/dbus/dbus/property.o
/opt/wsp/s-bsp/platform-abc/sysroot-host/lib/wrapper/arm-v7a-linux-gnueabihf-g++ -MMD -MF obj/dbus/dbus/property.o.d -DDBUS_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_OPENSSL_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DDISABLE_NACL -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -Igen -I../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium -I../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/opt/wsp/s-bsp/platform-abc/sysroot-target/usr/include/dbus-1.0 -I../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/opt/wsp/s-bsp/platform-abc/sysroot-target/usr/lib/dbus-1.0/include -I../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/third_party/icu/source/common -I../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/third_party/icu/source/i18n -I../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -march=armv7-a -mfloat-abi=hard -mtune=generic-armv7-a -mfpu=vfpv3-d16 -mthumb -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-psabi -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -c ../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/dbus/property.cc -o obj/dbus/dbus/property.o
In file included from ../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/dbus/property.h:20:0,
                 from ../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/dbus/property.cc:5:
../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/dbus/message.h:8:23: fatal error: dbus/dbus.h: No such file or directory
 #include <dbus/dbus.h>
                       ^
compilation terminated.
ninja: build stopped: subcommand failed.

The problem is here that -I../../../../../qt-everywhere-opensource-src-5.9.4/qtwebengine/src/3rdparty/chromium/opt/wsp/s-bsp/platform-abc/sysroot-target/usr/include/dbus-1.0 isn't a valid include path.

I'm not sure if this is related to the pkg-config issue, but any hints are welcome how to solve this?

Regards
-
Benjamin Federau