Project

General

Profile

Actions

Support Request #3556

closed

Missing documentation for Configuration Editor regarding command line options

Added by hidden almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
EF
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
Solved Issue
Product Issue Numbers:
Affected Products:
Platform:
Topic:
ADTF::CE
FAQ Links:

Description

Supportanfrage

mit Freude hab ich im Changelog gelesen:
  • [ACORE-8901] - Provide commandline option for Configuration Editor to load adtfproject and custom cesettings

Jetzt wollt ich aber herausfinden, wie es geht...

Windows-Kommandozeile Fehlanzeige...

D:\WS\SDKs\ADTF\V3_3_2_VC14_3x64\bin>adtf_configuration_editor.exe --help
D:\WS\SDKs\ADTF\V3_3_2_VC14_3x64\bin>

Vielleicht ist Linux hier ja hilfreicher...

virtual@virtual:~/FAS/SDKs/ADTF/V3_3_2_gcc5_4_0x64/bin$ ./adtf_configuration_editor --help
2018-08-01 18:04:59 [INFO]: Try to load "/home/virtual/FAS/SDKs/ADTF/V3_3_2_gcc5_4_0x64/bin/adtf_configuration_editor.adtftool" [runtime.cpp(1704)]
2018-08-01 18:04:59 [INFO]: Loaded plugin: "/home/virtual/FAS/SDKs/ADTF/V3_3_2_gcc5_4_0x64/bin/adtf_configuration_editor.adtftool" [runtime.cpp(1825)]
2018-08-01 18:04:59 [INFO]:     Registered class "configuration_editor.ui_tool.adtf.cid". ( 1 ) [runtime.cpp(2149)]
2018-08-01 18:04:59 [INFO]:     Unregistered class "configuration_editor.ui_tool.adtf.cid". ( 0 ) [runtime.cpp(2192)]
2018-08-01 18:04:59 [INFO]: Unloading plugin: "ADTF Configuration Editor Plugin" [runtime.cpp(1839)]
2018-08-01 18:04:59 [INFO]: Stopped UCOM runtime [runtime.cpp(1076)]
virtual@virtual:~/FAS/SDKs/ADTF/V3_3_2_gcc5_4_0x64/bin$

Immerhin kann ich unter Linux dank

export QMLSCENE_DEVICE=softwarecontext

auch in meiner VirtualBox den CE verwenden.

Aber auch darauf habe ich keinen Hinweis finden können, insbesondere nicht hier: Dabei wäre das doch die Lösung für:

Aber beim Starten gibt's auch ein paar Fehlermeldungen...

virtual@virtual:~/FAS/SDKs/ADTF/V3_3_2_gcc5_4_0x64/bin$ ./adtf_configuration_editor
2018-08-01 17:56:09 [INFO]: Try to load "/home/virtual/FAS/SDKs/ADTF/V3_3_2_gcc5_4_0x64/bin/adtf_configuration_editor.adtftool" [runtime.cpp(1704)]
2018-08-01 17:56:09 [INFO]: Loaded plugin: "/home/virtual/FAS/SDKs/ADTF/V3_3_2_gcc5_4_0x64/bin/adtf_configuration_editor.adtftool" [runtime.cpp(1825)]
2018-08-01 17:56:09 [INFO]:     Registered class "configuration_editor.ui_tool.adtf.cid". ( 1 ) [runtime.cpp(2149)]
2018-08-01 17:56:09 [ERROR]: Found a empty object name [modelutil.cpp(36)]
2018-08-01 17:56:09 [ERROR]: Found a empty object name [modelutil.cpp(36)]
2018-08-01 17:56:09 [INFO]: Initialize Qml [ce_starter.cpp(650)]
qml: Starting main window loader...
qml: Hiding splash screen...
file:///home/virtual/FAS/SDKs/ADTF/V3_3_2_gcc5_4_0x64/3rdparty/qt5/qml/QtQuick/Controls/ComboBox.qml:567: TypeError: Cannot read property '__dropDownStyle' of null
file:///home/virtual/FAS/SDKs/ADTF/V3_3_2_gcc5_4_0x64/3rdparty/qt5/qml/QtQuick/Controls/ComboBox.qml:567: TypeError: Cannot read property '__dropDownStyle' of null
file:///home/virtual/FAS/SDKs/ADTF/V3_3_2_gcc5_4_0x64/3rdparty/qt5/qml/QtQuick/Controls/ComboBox.qml:567: TypeError: Cannot read property '__dropDownStyle' of null
file:///home/virtual/FAS/SDKs/ADTF/V3_3_2_gcc5_4_0x64/3rdparty/qt5/qml/QtQuick/Controls/ComboBox.qml:567: TypeError: Cannot read property '__dropDownStyle' of null
file:///home/virtual/FAS/SDKs/ADTF/V3_3_2_gcc5_4_0x64/3rdparty/qt5/qml/QtQuick/Controls/ComboBox.qml:567: TypeError: Cannot read property '__dropDownStyle' of null
file:///home/virtual/FAS/SDKs/ADTF/V3_3_2_gcc5_4_0x64/3rdparty/qt5/qml/QtQuick/Controls/ComboBox.qml:567: TypeError: Cannot read property '__dropDownStyle' of null
file:///home/virtual/FAS/SDKs/ADTF/V3_3_2_gcc5_4_0x64/3rdparty/qt5/qml/QtQuick/Controls/ComboBox.qml:567: TypeError: Cannot read property '__dropDownStyle' of null
file:///home/virtual/FAS/SDKs/ADTF/V3_3_2_gcc5_4_0x64/3rdparty/qt5/qml/QtQuick/Controls/ComboBox.qml:567: TypeError: Cannot read property '__dropDownStyle' of null
qrc:/qml/qtproject/StandaloneMain.qml:57: ReferenceError: mockModel is not defined
2018-08-01 17:56:12 [INFO]:     Unregistered class "configuration_editor.ui_tool.adtf.cid". ( 0 ) [runtime.cpp(2192)]
2018-08-01 17:56:12 [INFO]: Unloading plugin: "ADTF Configuration Editor Plugin" [runtime.cpp(1839)]
2018-08-01 17:56:12 [INFO]: Stopped UCOM runtime [runtime.cpp(1076)]

Auch im Ticket https://www.cip.audi.de/jira/browse/ACORE-8901 finde ich keine Hinweise, wie die Parameter anzugeben sind.

Erst der Blick in die Commits hat geholfen:

%ADTF_DIR%\bin\adtf_configuration_editor -project=%CONFIGURATION_DIR%/ADTF3_AllInOne.adtfproject

Funktioniert schonmal unter Windows :) (um Linux kümmere ich mich später)

Lösung

Thema 1) Doku für CE Kommandozeilenparameter

der CE schluckt leider alle Logausgaben, wir haben hierfür grundsätzlich noch keine Lösung...
Deshalb gebe ich dir recht, das muss dokumentiert werden, das ist für die ADTF3 Guides (SDK Doku wird reine Code Docu) geplant aber noch nicht umgesetzt.
Deshalb habe ich es in die Release Mail aufgenommen, siehe ADTF 3.3.2 is now available

Thema 2) export QMLSCENE_DEVICE=softwarecontext

Durch setzen der Umgebungsvariable QMLSCENE_DEVICE=softwarecontext (legacy) bzw. QT_QUICK_BACKEND=software (neu) kann man Software-Rendering für QtQuick erzwingen.
Das ist uns bekannt und hilft in Situationen, wo kein zuverlässiger OpenGL-Support vorhanden ist (z.B. manche VM-Konfigurationen).
Das Ganze findet u.a. im Ticket https://www.cip.audi.de/jira/browse/ACORE-9518 Erwähnung.
Leider führt Software-Rendering zu anderen Problemen, siehe https://www.cip.audi.de/jira/browse/ACORE-9523.

Afaik haben wir das Software-Rendering deshalb nicht standardmäsig aktiviert.

Mit HighDPI hat das alles nichts zu tun.

Siehe auch Q: The ADTF Configuration Editor starts but the window content is either black or corrupted

Actions

Also available in: Atom PDF