This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
troubleshooting:app-recipes [2016/12/28 17:24] jsmoeller |
troubleshooting:app-recipes [2019/02/08 13:31] (current) claneys [Autobuild migration] |
||
---|---|---|---|
Line 71: | Line 71: | ||
===== Example: CMakelists.txt ===== | ===== Example: CMakelists.txt ===== | ||
+ | No example yet. Things are discussed on Jira: | ||
+ | - https://jira.automotivelinux.org/browse/SPEC-495 | ||
+ | - https://jira.automotivelinux.org/browse/SPEC-503 | ||
===== Example: qmake.pro ===== | ===== Example: qmake.pro ===== | ||
+ | The HVAC application is built using Qt and qmake. | ||
+ | Check this example: [[https://git.automotivelinux.org/apps/hvac/tree/]]. | ||
+ | ===== Autobuild migration ===== | ||
+ | A warning is issued on old wgt build: | ||
+ | |||
+ | <code> | ||
+ | WARNING: navigation-git-r0 do_aglwgt_package: OBSOLETE: You must have an autobuild script located in: | ||
+ | WARNING: navigation-git-r0 do_aglwgt_package: autobuild/agl/ from the project root source folder | ||
+ | WARNING: navigation-git-r0 do_aglwgt_package: with filename autobuild which should generate | ||
+ | WARNING: navigation-git-r0 do_aglwgt_package: a .wgt file using wgtpack in the build | ||
+ | WARNING: navigation-git-r0 do_aglwgt_package: root folder calling: | ||
+ | WARNING: navigation-git-r0 do_aglwgt_package: ./autobuild/agl/autobuild package DEST=<BUILDDIR> | ||
+ | WARNING: navigation-git-r0 do_aglwgt_package: Fix your package as it will not work within the SDK | ||
+ | WARNING: navigation-git-r0 do_aglwgt_package: See: https://wiki.automotivelinux.org/troubleshooting/app-recipes | ||
+ | </code> | ||
+ | |||
+ | This warning is about the migration of **wgt** package build from various methods to only one, the **autobuild** script. | ||
+ | |||
+ | This script was originally located in **<ROOT-FOLDER>/conf.d/autobuild/{agl,linux}/autobuild** but now it should be located directly at the project root folder **<ROOT-FOLDER>/autobuild/{agl,linux}/autobuild**. Yocto takes the **autobuild** in the **agl** subdirectory. So you need the script **<ROOT-FOLDER>/autobuild/agl/autobuild**. | ||
+ | |||
+ | An example can be found in gerrit [[https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/cmake-apps-module.git;a=blob_plain;f=src/template.d/autobuild/agl/autobuild.in;hb=HEAD|cmake-apps-module]] repository and use the CMake module to build the **wgt** so you maybe have to tweak it a little bit. |