mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Doster, Steffen" <Steffen.Doster@s-i-e.de>
To: Alexander Dahl <post@lespocky.de>,
	"ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] Support durch Pengutronix
Date: Fri, 2 Oct 2020 06:04:25 +0000	[thread overview]
Message-ID: <2ad15479cb2746f38b0934f7c9e93130@s-i-e.de> (raw)
In-Reply-To: <20201001140245.7wthtcximbmgplsq@falbala.internal.home.lespocky.de>

Hello,
sorry that I wrote in german first, but I wanted to send this to someone else and got the email-address wrong. But I think my question is answered better here.

OK, I got the hint, that the paths and files needed must be in the hosts root filesystem. I thought they must be linked inside the project and be compiled in with chroot set.
I copied every *metatypes.json file to /usr/lib/metatypes on my host system, but didn't find the qt5network_metatypes.json.
The good and bad news ist hat qt5network_metatypes.json now produces the only error in the compile process, the others are gone.
But since nothing seem to provide the needed file, I'm stuck here.
What does provide the needed file?

Also wouldn't it be better if the files are provided inside the project in stead oft he rootfs oft he host?

Here's my qt5 config in ptxconfig:
#
# qt
#
# PTXCONF_BLUEZ_QT is not set
# PTXCONF_PYTHON3_PYSIDE is not set
# PTXCONF_PYTHON3_SHIBOKEN is not set
# PTXCONF_QT4_DEMOS is not set
# PTXCONF_QT4_EXAMPLES is not set
# PTXCONF_QT4 is not set
PTXCONF_QT5=y
PTXCONF_QT5_PREPARE_EXAMPLES=y
PTXCONF_QT5_LIBXKBCOMMON=y
PTXCONF_QT5_X11=y

#
# Feature Options
#
PTXCONF_QT5_GIF=y
PTXCONF_QT5_LIBJPEG=y
PTXCONF_QT5_LIBMNG=y
PTXCONF_QT5_LIBPNG=y

#
# ----------------------------
#
# PTXCONF_QT5_ACCESSIBILITY is not set
PTXCONF_QT5_ICU=y
PTXCONF_QT5_DBUS=y
PTXCONF_QT5_GLIB=y
PTXCONF_QT5_LIBUDEV=y
PTXCONF_QT5_OPENSSL=y
PTXCONF_QT5_OPENGL=y
# PTXCONF_QT5_OPENGL_DESKTOP is not set
PTXCONF_QT5_OPENGL_ES2=y
PTXCONF_QT5_OPENGL_API="es2"
# PTXCONF_QT5_TEST is not set
# PTXCONF_QT5_VULKAN is not set
PTXCONF_QT5_GUI=y

#
# supported plugins
#
PTXCONF_QT5_PLATFORM_DEFAULT="eglfs"
PTXCONF_QT5_PLATFORM_BACKEND_KMS=y
PTXCONF_QT5_PLATFORM_XCB=y
PTXCONF_QT5_PLATFORM_EGLFS=y
PTXCONF_QT5_PLATFORM_EGLFS_KMS=y
PTXCONF_QT5_PLATFORM_EGLFS_X11=y
PTXCONF_QT5_PLATFORM_LINUXFB=y
PTXCONF_QT5_PLATFORM_LINUXFB_KMS=y
# PTXCONF_QT5_PLATFORM_VNC is not set

#
# default plugin
#
# PTXCONF_QT5_PLATFORM_DEFAULT_XCB is not set
PTXCONF_QT5_PLATFORM_DEFAULT_EGLFS=y
# PTXCONF_QT5_PLATFORM_DEFAULT_LINUXFB is not set
PTXCONF_QT5_WIDGETS=y

#
# Input Plugins
#
PTXCONF_QT5_INPUT_EVDEV=y
PTXCONF_QT5_INPUT_LIBINPUT=y
# PTXCONF_QT5_INPUT_TSLIB is not set

#
# Modules
#
PTXCONF_QT5_MODULE_QT3D=y
PTXCONF_QT5_MODULE_QT3D_QUICK=y
PTXCONF_QT5_MODULE_QTBASE=y
PTXCONF_QT5_MODULE_QTBASE_GUI=y
PTXCONF_QT5_MODULE_QTBASE_WIDGETS=y
# PTXCONF_QT5_MODULE_QTBASE_PRINT is not set
PTXCONF_QT5_MODULE_QTBASE_OPENGL=y
PTXCONF_QT5_MODULE_QTBASE_SQL=y
# PTXCONF_QT5_MODULE_QTBASE_SQL_SQLITE is not set
# PTXCONF_QT5_MODULE_QTBASE_SQL_MYSQL is not set
# PTXCONF_QT5_MODULE_QTCHARTS is not set
# PTXCONF_QT5_MODULE_QTCONNECTIVITY is not set
# PTXCONF_QT5_MODULE_QTDATAVIS3D is not set
PTXCONF_QT5_MODULE_QTDECLARATIVE=y
# PTXCONF_QT5_MODULE_QTDECLARATIVE_QMLSCENE is not set
# PTXCONF_QT5_MODULE_QTDECLARATIVE_DEBUG is not set
PTXCONF_QT5_MODULE_QTDECLARATIVE_QUICK=y
PTXCONF_QT5_MODULE_QTDECLARATIVE_QUICK_WIDGETS=y
PTXCONF_QT5_MODULE_QTDECLARATIVE_QUICK_PARTICLES=y
PTXCONF_QT5_MODULE_QTGAMEPAD=y
PTXCONF_QT5_MODULE_QTGAMEPAD_QUICK=y
PTXCONF_QT5_MODULE_QTGRAPHICALEFFECTS=y
PTXCONF_QT5_MODULE_QTIMAGEFORMATS=y
# PTXCONF_QT5_MODULE_QTLOCATION is not set
# PTXCONF_QT5_MODULE_QTLOTTIE is not set
# PTXCONF_QT5_MODULE_QTMULTIMEDIA is not set
# PTXCONF_QT5_MODULE_QTNETWORKAUTH is not set
# PTXCONF_QT5_MODULE_QTPURCHASING is not set
PTXCONF_QT5_MODULE_QTQUICK3D=y
# PTXCONF_QT5_MODULE_QTQUICKCONTROLS is not set
# PTXCONF_QT5_MODULE_QTQUICKCONTROLS2 is not set
# PTXCONF_QT5_MODULE_QTREMOTEOBJECTS is not set
# PTXCONF_QT5_MODULE_QTSCXML is not set
# PTXCONF_QT5_MODULE_QTSENSORS is not set
# PTXCONF_QT5_MODULE_QTSERIALBUS is not set
# PTXCONF_QT5_MODULE_QTSERIALPORT is not set
# PTXCONF_QT5_MODULE_QTSPEECH is not set
PTXCONF_QT5_MODULE_QTSVG=y
PTXCONF_QT5_MODULE_QTSVG_WIDGETS=y
PTXCONF_QT5_MODULE_QTTOOLS=y
PTXCONF_QT5_MODULE_QTTOOLS_WIDGETS=y
# PTXCONF_QT5_MODULE_QTVIRTUALKEYBOARD is not set
# PTXCONF_QT5_MODULE_QTWAYLAND is not set
# PTXCONF_QT5_MODULE_QTWEBCHANNEL is not set
# PTXCONF_QT5_MODULE_QTWEBENGINE is not set
# PTXCONF_QT5_MODULE_QTWEBGLPLUGIN is not set
PTXCONF_QT5_MODULE_QTWEBSOCKETS=y
PTXCONF_QT5_MODULE_QTWEBSOCKETS_QUICK=y
# PTXCONF_QT5_MODULE_QTWEBVIEW is not set
PTXCONF_QT5_MODULE_QTX11EXTRAS=y
# PTXCONF_QT5_MODULE_QTXMLPATTERNS is not set
PTXCONF_QT5_EXAMPLES=y
# PTXCONF_QT5_EXAMPLES_ASSISTANT is not set
# PTXCONF_QT5_EXAMPLES_BLUETOOTH is not set
# PTXCONF_QT5_EXAMPLES_CHARTS is not set
# PTXCONF_QT5_EXAMPLES_CORELIB_IPC is not set
# PTXCONF_QT5_EXAMPLES_CORELIB_MIMETYPES is not set
# PTXCONF_QT5_EXAMPLES_CORELIB_SERIALIZATION is not set
# PTXCONF_QT5_EXAMPLES_CORELIB_THREADS is not set
# PTXCONF_QT5_EXAMPLES_CORELIB_TOOLS is not set
# PTXCONF_QT5_EXAMPLES_DATAVISUALIZATION is not set
# PTXCONF_QT5_EXAMPLES_DBUS is not set
# PTXCONF_QT5_EXAMPLES_DESIGNER is not set
# PTXCONF_QT5_EXAMPLES_GAMEPAD is not set
# PTXCONF_QT5_EXAMPLES_GUI is not set
# PTXCONF_QT5_EXAMPLES_HELP is not set
# PTXCONF_QT5_EXAMPLES_LINGUIST is not set
# PTXCONF_QT5_EXAMPLES_LOCATION is not set
# PTXCONF_QT5_EXAMPLES_MULTIMEDIA is not set
# PTXCONF_QT5_EXAMPLES_NETWORK is not set
# PTXCONF_QT5_EXAMPLES_NFC is not set
# PTXCONF_QT5_EXAMPLES_OAUTH is not set
PTXCONF_QT5_EXAMPLES_OPENGL=y
PTXCONF_QT5_EXAMPLES_OPENGL_2DPAINTING=y
PTXCONF_QT5_EXAMPLES_OPENGL_COMPUTEGLES31=y
PTXCONF_QT5_EXAMPLES_OPENGL_CONTEXTINFO=y
PTXCONF_QT5_EXAMPLES_OPENGL_CUBE=y
PTXCONF_QT5_EXAMPLES_OPENGL_HELLOGL2=y
PTXCONF_QT5_EXAMPLES_OPENGL_HELLOGLES3=y
PTXCONF_QT5_EXAMPLES_OPENGL_HELLOWINDOW=y
PTXCONF_QT5_EXAMPLES_OPENGL_PAINTEDWINDOW=y
PTXCONF_QT5_EXAMPLES_OPENGL_QOPENGLWIDGET=y
PTXCONF_QT5_EXAMPLES_OPENGL_QOPENGLWINDOW=y
PTXCONF_QT5_EXAMPLES_OPENGL_TEXTURES=y
PTXCONF_QT5_EXAMPLES_OPENGL_THREADEDQOPENGLWIDGET=y
# PTXCONF_QT5_EXAMPLES_POSITIONING is not set
# PTXCONF_QT5_EXAMPLES_PURCHASING is not set
# PTXCONF_QT5_EXAMPLES_QML is not set
# PTXCONF_QT5_EXAMPLES_QPA is not set
PTXCONF_QT5_EXAMPLES_QT3D=y
PTXCONF_QT5_EXAMPLES_QT3D_3D_TEXT=y
PTXCONF_QT5_EXAMPLES_QT3D_ADVANCEDCUSTOMMATERIAL=y
PTXCONF_QT5_EXAMPLES_QT3D_ANAGLYPH_RENDERING=y
PTXCONF_QT5_EXAMPLES_QT3D_AUDIO_VISUALIZER_QML=y
PTXCONF_QT5_EXAMPLES_QT3D_BASICSHAPES_CPP=y
PTXCONF_QT5_EXAMPLES_QT3D_COMPUTE_PARTICLES=y
PTXCONF_QT5_EXAMPLES_QT3D_CONTROLS=y
PTXCONF_QT5_EXAMPLES_QT3D_CONTROLSUNDERLAY=y
PTXCONF_QT5_EXAMPLES_QT3D_INSTANCED_ARRAYS_QML=y
PTXCONF_QT5_EXAMPLES_QT3D_LIGHTS=y
PTXCONF_QT5_EXAMPLES_QT3D_MULTIVIEWPORT=y
PTXCONF_QT5_EXAMPLES_QT3D_PBR_MATERIALS=y
PTXCONF_QT5_EXAMPLES_QT3D_PHONG_CUBES=y
PTXCONF_QT5_EXAMPLES_QT3D_PLANETS_QML=y
PTXCONF_QT5_EXAMPLES_QT3D_QARDBOARD=y
PTXCONF_QT5_EXAMPLES_QT3D_SCENE2D=y
PTXCONF_QT5_EXAMPLES_QT3D_SCENE3D=y
PTXCONF_QT5_EXAMPLES_QT3D_SCENE3DVIEW=y
PTXCONF_QT5_EXAMPLES_QT3D_SHADOW_MAP_QML=y
PTXCONF_QT5_EXAMPLES_QT3D_SIMPLE_CPP=y
PTXCONF_QT5_EXAMPLES_QT3D_SIMPLE_QML=y
PTXCONF_QT5_EXAMPLES_QT3D_SIMPLECUSTOMMATERIAL=y
PTXCONF_QT5_EXAMPLES_QT3D_WAVE=y
PTXCONF_QT5_EXAMPLES_QT3D_WIDGETS_SCENE3D=y
PTXCONF_QT5_EXAMPLES_QT3D_WIREFRAME=y
# PTXCONF_QT5_EXAMPLES_QTCONCURRENT is not set
# PTXCONF_QT5_EXAMPLES_QTESTLIB is not set
PTXCONF_QT5_EXAMPLES_QUICK=y
PTXCONF_QT5_EXAMPLES_QUICK_ANIMATION=y
# PTXCONF_QT5_EXAMPLES_QUICK_CANVAS is not set
# PTXCONF_QT5_EXAMPLES_QUICK_DELEGATECHOOSER is not set
# PTXCONF_QT5_EXAMPLES_QUICK_DRAGANDDROP is not set
# PTXCONF_QT5_EXAMPLES_QUICK_EMBEDDEDINWIDGETS is not set
# PTXCONF_QT5_EXAMPLES_QUICK_EXTERNALDRAGANDDROP is not set
# PTXCONF_QT5_EXAMPLES_QUICK_IMAGEELEMENTS is not set
# PTXCONF_QT5_EXAMPLES_QUICK_KEYINTERACTION is not set
# PTXCONF_QT5_EXAMPLES_QUICK_LAYOUTS is not set
# PTXCONF_QT5_EXAMPLES_QUICK_MOUSEAREA is not set
# PTXCONF_QT5_EXAMPLES_QUICK_POSITIONERS is not set
# PTXCONF_QT5_EXAMPLES_QUICK_QUICK_ACCESSIBILITY is not set
# PTXCONF_QT5_EXAMPLES_QUICK_RENDERCONTROL is not set
# PTXCONF_QT5_EXAMPLES_QUICK_RIGHTTOLEFT is not set
# PTXCONF_QT5_EXAMPLES_QUICK_SHADEREFFECTS is not set
# PTXCONF_QT5_EXAMPLES_QUICK_SHAPES is not set
# PTXCONF_QT5_EXAMPLES_QUICK_TEXT is not set
# PTXCONF_QT5_EXAMPLES_QUICK_TEXTUREPROVIDER is not set
# PTXCONF_QT5_EXAMPLES_QUICK_THREADING is not set
# PTXCONF_QT5_EXAMPLES_QUICK_TOUCHINTERACTION is not set
# PTXCONF_QT5_EXAMPLES_QUICK_VIEWS is not set
# PTXCONF_QT5_EXAMPLES_QUICK_WINDOW is not set
# PTXCONF_QT5_EXAMPLES_QUICK_CUSTOMITEMS is not set
# PTXCONF_QT5_EXAMPLES_QUICK_LOCALSTORAGE is not set
# PTXCONF_QT5_EXAMPLES_QUICK_MODELS is not set
# PTXCONF_QT5_EXAMPLES_QUICK_PARTICLES is not set
# PTXCONF_QT5_EXAMPLES_QUICK_QUICKWIDGETS is not set
# PTXCONF_QT5_EXAMPLES_QUICK_SCENEGRAPH is not set
# PTXCONF_QT5_EXAMPLES_QUICK_TABLEVIEW is not set
# PTXCONF_QT5_EXAMPLES_QUICK_TUTORIALS_DYNAMICVIEW is not set
# PTXCONF_QT5_EXAMPLES_QUICK_TUTORIALS_SAMEGAME is not set
PTXCONF_QT5_EXAMPLES_QUICK3D=y
# PTXCONF_QT5_EXAMPLES_QUICK3D_ANTIALIASING is not set
# PTXCONF_QT5_EXAMPLES_QUICK3D_CUSTOMMATERIAL is not set
# PTXCONF_QT5_EXAMPLES_QUICK3D_CUSTOMSHADERS is not set
# PTXCONF_QT5_EXAMPLES_QUICK3D_DYNAMICCREATION is not set
# PTXCONF_QT5_EXAMPLES_QUICK3D_DYNAMICTEXTURE is not set
# PTXCONF_QT5_EXAMPLES_QUICK3D_EFFECTS is not set
# PTXCONF_QT5_EXAMPLES_QUICK3D_HELLOCUBE is not set
# PTXCONF_QT5_EXAMPLES_QUICK3D_LIGHTS is not set
# PTXCONF_QT5_EXAMPLES_QUICK3D_PICKING is not set
# PTXCONF_QT5_EXAMPLES_QUICK3D_PRINCIPLEDMATERIAL is not set
# PTXCONF_QT5_EXAMPLES_QUICK3D_QUICKITEMS is not set
# PTXCONF_QT5_EXAMPLES_QUICK3D_SIMPLE is not set
# PTXCONF_QT5_EXAMPLES_QUICK3D_VIEW3D is not set
# PTXCONF_QT5_EXAMPLES_QUICKCONTROLS_CONTROLS is not set
# PTXCONF_QT5_EXAMPLES_QUICKCONTROLS_DIALOGS is not set
# PTXCONF_QT5_EXAMPLES_QUICKCONTROLS_EXTRAS is not set
# PTXCONF_QT5_EXAMPLES_QUICKCONTROLS2 is not set
# PTXCONF_QT5_EXAMPLES_QUICKCONTROLS2_CHATTUTORIAL is not set
# PTXCONF_QT5_EXAMPLES_QUICKCONTROLS2_IMAGINE is not set
# PTXCONF_QT5_EXAMPLES_REMOTEOBJECTS is not set
# PTXCONF_QT5_EXAMPLES_SCXML is not set
# PTXCONF_QT5_EXAMPLES_SENSORS is not set
# PTXCONF_QT5_EXAMPLES_SERIALBUS is not set
# PTXCONF_QT5_EXAMPLES_SERIALPORT is not set
# PTXCONF_QT5_EXAMPLES_SPEECH is not set
# PTXCONF_QT5_EXAMPLES_SQL is not set
# PTXCONF_QT5_EXAMPLES_SVG is not set
# PTXCONF_QT5_EXAMPLES_UITOOLS is not set
# PTXCONF_QT5_EXAMPLES_VIRTUALKEYBOARD is not set
# PTXCONF_QT5_EXAMPLES_VULKAN is not set
# PTXCONF_QT5_EXAMPLES_WAYLAND is not set
# PTXCONF_QT5_EXAMPLES_WEBCHANNEL is not set
# PTXCONF_QT5_EXAMPLES_WEBENGINE is not set
# PTXCONF_QT5_EXAMPLES_WEBSOCKETS is not set
# PTXCONF_QT5_EXAMPLES_WEBVIEW is not set
# PTXCONF_QT5_EXAMPLES_WIDGETS is not set
# PTXCONF_QT5_EXAMPLES_XML is not set
# PTXCONF_QWT is not set
# PTXCONF_QWT5 is not set


E-Mail: Steffen.Doster@s-i-e.de | www.s-i-e.de
Phone: +49 - 831 - 575 900 57 | Fax:
+49 - 831 - 575 900 72
Sontheim Industrie Elektronik GmbH
Wir leben
Elektronik - We live electronics
Georg-Krug-Straße 2,
87437 Kempten
Geschäftsführer Dipl.-Ing. (FH) Bruno Sontheim
UStId
DE176 865 687, Handelsregister Kempten HRB 5781

-----Ursprüngliche Nachricht-----
Von: Alexander Dahl <post@lespocky.de>
Gesendet: Donnerstag, 1. Oktober 2020 16:03
An: ptxdist@pengutronix.de
Cc: Doster, Steffen <Steffen.Doster@s-i-e.de>
Betreff: Re: [ptxdist] Support durch Pengutronix

Hallo Steffen,

Sie haben an die öffentliche ptxdist-Mailingliste geschrieben. Hier wird üblicherweise auf Englisch kommuniziert. Zum konkreten Problem siehe unten (auf Englisch dann).

You wrote to the public ptxdist mailing list, the usual language here is English. On your problem see below.

On Thu, Oct 01, 2020 at 12:31:22PM +0000, Doster, Steffen wrote:
> scheinbar hat es endlich geklappt, dass bei Ihnen Support bestellt wird. Deswegen versuche ich derzeit im Vorfeld schon ein wenig mit neueren PTXDists zu experimentieren, stolpere jedoch sowohl bei 2020.09 als auch bei 2020.08 über einen Fehler beim Kompilieren von QT5 (5.15.0):
>
> Cannot open foreign types file
> /usr/lib/metatypes/qt5gui_metatypes.json
> Cannot open foreign types file
> /usr/lib/metatypes/qt5network_metatypes.json
> Cannot open foreign types file
> /usr/lib/metatypes/qt5core_metatypes.json
>
> Was dann wohl dazu führt, dass diese Types im Source-Code undefiniert bleiben und somit das Kompilieren fehlschlägt.
> Ist dieser Fehler schon bekannt? Was kann ich dagegen unternehmen? Brauchen Sie noch mehr Informationen?

More information could indeed help.  Especially which additional options for Qt5 did you set with `ptxdist menuconfig`?  The default builds just fine here with ptxdist 2020.09.0 (on recent DistroKit BSP for arm-v7a).

Greets
Alex

--
/"\ ASCII RIBBON | »With the first link, the chain is forged. The first
\ / CAMPAIGN     | speech censured, the first thought forbidden, the
 X  AGAINST      | first freedom denied, chains us all irrevocably.«
/ \ HTML MAIL    | (Jean-Luc Picard, quoting Judge Aaron Satie)
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

  reply	other threads:[~2020-10-02  6:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-01 12:31 Doster, Steffen
2020-10-01 13:53 ` Robert Schwebel
2020-10-01 14:02 ` Alexander Dahl
2020-10-02  6:04   ` Doster, Steffen [this message]
2020-10-02 10:50     ` Alexander Dahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2ad15479cb2746f38b0934f7c9e93130@s-i-e.de \
    --to=steffen.doster@s-i-e.de \
    --cc=post@lespocky.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox