aboutsummaryrefslogtreecommitdiffstats
path: root/meta-boot2qt/files/qbsp
Commit message (Collapse)AuthorAgeFilesLines
* qbsp: add clangd executable path for docker deviceSamuli Piippo2023-11-221-0/+1
| | | | | | | | Qt Creator needs to know the clangd executable path in the docker. Pick-to: mickledore langdale kirkstone Change-Id: Ie4027c3ce73b73acf67c0b87b21636a1206d44a3 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: add dependency to embedded.toolsSamuli Piippo2023-11-091-1/+1
| | | | | | | | | This makes sure that needed tools from online installer are installed with the QBSP. Pick-to: mickledore langdale kirkstone Change-Id: I4db3d83960d01e1fdb291b3e56f74a445b0d0fb1 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: add clangd to docker imageSamuli Piippo2023-10-041-1/+1
| | | | | | | | | Qt Creator uses clangd to scan the projects and it needs to be in the docker container. Pick-to: mickledore langdale kirkstone Change-Id: If8995ed784f769f993116ae058f879fd014b6d5a Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: add Yocto version information to QBSPSamuli Piippo2023-06-151-1/+1
| | | | | | | | Show the Yocto version information in the online installer. Pick-to: mickledore langdale kirkstone Change-Id: Idcbb3632e6e4158e560237d899bc16a0a7fa0676 Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
* qbsp: try to find dockerSamuli Piippo2023-03-271-3/+21
| | | | | | | | | Try few extra paths were docker might be in case those are not set in PATH. Change-Id: I5a27c2c4829e1caf8e860032555493866f1eba8f Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> (cherry picked from commit 349cea8182f9eedc7015612996c172fb5dc44d88) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QBSP: add docker prefix for the sysrootSamuli Piippo2023-03-031-1/+1
| | | | | | | | | | QtCreator Kit configuration should have the docker prefix also for the sysroot, otherwise QtCreator gives warning about missing sysroot. Pick-to: 6.5 6.5.0 6.4 Change-Id: I30b095435f2f5976fe9b92254ce5dbd5c21a663b Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: don't set packages as defaultSamuli Piippo2023-02-153-3/+3
| | | | | | | | | | | If installer components are marked as default, they are by default selected in the online installer. Since we are starting to use the QBSP content for the online repositories, that would make every target selected by default for each Qt version. Pick-to: 6.5 6.4 6.2 Change-Id: I4034adfbe5086c934563edc77cf0005a72c1a83a Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: add option to force docker toolchainSamuli Piippo2023-02-071-1/+1
| | | | | | | | | | Environment variable FORCE_CONTAINER_TOOLCHAIN can be used when installing a QBSP on linux to for it's installation as a container toolchain instead of native toolchain. Pick-to: 6.5 Change-Id: I407010b550e041e0f1fe052a09d420af4d3ab475 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: add mkspec to container toolchain kitSamuli Piippo2023-01-311-12/+8
| | | | | | | | | | | QtCreator has been fixed, so mkspec can be added also to container toolchain. Also use empty build device for non-container toolchain, which defaults to desktop device. This allows simpler installer script to be maintained. Pick-to: 6.5 Change-Id: I249b8ee56fc4e4600c85c668ae2addf33c4c2686 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* QBSP: update docker image to Ubuntu 22.04Samuli Piippo2023-01-231-1/+1
| | | | | | | | | Use Ubuntu 22.04 as the base image for Docker toolchains. It's LTS and provides support longer than 20.04. Pick-to: 6.5 Change-Id: I2277746204cc72b788877305fb699c1733560bfd Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* QBSP: add support for using containersSamuli Piippo2022-11-186-70/+110
| | | | | | | | | | | | | | | | Update QBSP scripts so that it can use Docker containers if needed. A linux host QBSP can now be installed also on Windows and macOS hosts, where it will create a Docker container and register that to QtCreator. The QBSP can also be set to use container toolchain on linux host with variable QBSP_FORCE_CONTAINER_TOOLCHAIN = "true". For ARM hosts, aarch64 toolchain can be used when building with SDKMACHINE=aarch64. Runnig x86 toolchain on ARM host would use QEMU which make it too slow for practical use. Task-number: QTBUG-106692 Change-Id: Iff3f60ce7ad34c4652e1a90aaa28b178e21b3a8b Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
* qbsp: unify Kit registration for linux and windowsSamuli Piippo2022-03-171-10/+5
| | | | | | | | The extra CMake argument is no longer needed for Windos toolchain. Pick-to: 6.3 6.2 Change-Id: I9bab2d03a3b2e8043f9fe6746e6820b6440b59b9 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: update cmake configs for the toolchain registrationSamuli Piippo2022-03-101-1/+4
| | | | | | | | | | Keep QtCreator happy and warning free by adding the default CMake configuration that would be there if we didn't add any of our own and use the correct toolchain file. Pick-to: 6.3 6.2 Change-Id: I5d3831837a818761076b6047009b9ed4ffa91683 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: use correct toolchain fileSamuli Piippo2022-02-081-1/+1
| | | | | | | | | SDKs are now set up to use the Qt generated qt.toolchain.cmake, which will chainload to previous Qt6Toolchain.cmake. Pick-to: 6.3 6.2 Change-Id: I3c04204377ba9ba0121df4fb2d1c162048518974 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* sdk: switch mingw toolchain package to tar.xzSamuli Piippo2021-11-051-1/+0
| | | | | | | | | | | | | | | | Use the default archive type (tar.xz) for the mingw toolchain, as Qt Installer Framework can now handle more package formats. This allows us to get rid of the symlink conversion and avoid running out of memory during the installations. Move remaining populate_sdk parts into single class, no need to have two class for the same thing.. Task-number: QTBUG-96576 Fixes: QTBUG-97077 Pick-to: 6.2 Change-Id: Iea5dff146eeb3f4d0ce3aa275ac2812c20be62a7 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: replace windows path separatorsSamuli Piippo2021-10-061-0/+3
| | | | | | | | | | | | Bring back workaround for issue where IFW may give out paths that contain Windows path separators. This was done already previously, but it was hidden in the qt.conf patching that was subsequently removed. Task-number: QTIFW-2344 Pick-to: 6.2 Change-Id: I1b2223dc4bfa9e1d9086eb624d750cb9dce907ae Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: no need to patch qt.conf in windowsSamuli Piippo2021-09-241-5/+0
| | | | | | | | | qt.conf is now using relative paths, so there is no need to patch it anymore on windows. Task-number: 6.2 Change-Id: I2344420145d7873cca2337881d17607874f63a59 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: don't repackage image and toolchainSamuli Piippo2021-04-223-1/+11
| | | | | | | | | Update installer framework tools and use its new Extract operation to include the image and toolchain 7z as-is without repackaging them. Task-number: QTBUG-92540 Change-Id: Icd3db7a9fb755b9664c5c9b6badf5d104a6fc27c Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Fix toolchain registrationsSamuli Piippo2021-04-211-2/+2
| | | | | | | | | | sdktool has changed the syntax for the C and C++ compiler registrations to Qt Creator. Instead of language 1 and 2, they are now C and Cxx. Task-number: QTBUG-92949 Pick-to: 6.1 6.0 Change-Id: I7e9130e57527b2fdb8e6b7fae546bfee46e52c3b Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: update installer scriptSamuli Piippo2020-09-241-16/+15
| | | | | | | Correct options for cmake and mingw support. Change-Id: Iedb55a3579952928a463cc00b1437352284035df Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* QBSP: use upstream nxp eulaSamuli Piippo2020-09-081-659/+0
| | | | | | | | Remove our copy of the NXP EULA and instead use it directly from the meta-freescale layer. Change-Id: Ic579fdf7f0917b20f72616f3a8af24bf3d423415 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Update NXP EULA to latest versionSamuli Piippo2020-02-241-241/+298
| | | | | | | Use latest versio of NXP EULA from meta-freescale for QBSPs. Change-Id: Ia468d940ab799615fd0d7730237c6e014804f9d9 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: use correct host sdk sysrootSamuli Piippo2019-05-141-13/+12
| | | | | | | | The host sysroot changed depending on bitness of the build. Don't hardcode it, but change it according to the build. Change-Id: I25bf346c8d674e6e990e7e29e27fefffe442f92f Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Use ABI flavor with QtCreatorSamuli Piippo2018-12-181-1/+7
| | | | | | | | | | | QtCreator 4.8 allows adding new ABI flavors that can be used to differentiate otherwise identical tools. Using our own abi flavor prevents QtCreator from mixing incompatible tools with one from yocto toolchain. Task-number: QTAUTO-793 Change-Id: Ibba6e42b25e404aff2a20a021fe7833455f0de9b Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* QBSP: add correct cmake generator for windows toolchainSamuli Piippo2018-12-181-0/+1
| | | | | Change-Id: I7589e2d503052861cceabd8bc7094d9a992f2ff7 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* QBSP: add cmake generator type to QtCreator configsSamuli Piippo2018-12-051-0/+2
| | | | | | | | QtCreator default to ninja if that's available in the system, but it won't work with CMAKE_MAKE_PROGRAM which we set as make. Change-Id: Id07b4f71b029245432975c02fac4d8475c695670 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* cmake: fix cmake configurations for QtCreatorSamuli Piippo2018-10-301-0/+18
| | | | | | | | | | Include cmake and make as explicitly to the toolchain. Fix nativesdk-cmake compilation for mingw toolchain. Add CMake registration code to the QBSP installer scripts. Task-number: QTBUG-71315 Change-Id: If29e12d6ce24546ba8a834969b6f60e3216e6962 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* QBSP: add check for supported host systemSamuli Piippo2018-10-235-1/+63
| | | | | | | | | | Warn user if they try to use windows QBSP on a linux system or vice versa. Set package as Default, so they are selected automatically when using command line options, and disable components if host system is not compatible so that user cannot continue with the installation. Change-Id: I84d963b8faee00c6fbaa622cb7347606a18c7c6f Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Split meta-boot2qt layerSamuli Piippo2018-03-126-0/+763
Move distro specific recipes to own layer and leave only new recipes and bbclasses to meta-boot2qt layer. This makes it easier to include meta-boot2qt to your own distro layer to get access e.g., QDB and QBSP recipes that might be useful even without boot2qt distro. Task-number: QTBUG-65871 Change-Id: I6c353774dd1668b00f2d05aa262ad866b90bdef6 Reviewed-by: Timo Aarnipuro <timo.aarnipuro@qt.io>