aboutsummaryrefslogtreecommitdiffstats
path: root/classes/cmake_qt5.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* qt5: remove all references to qtquick1 import pathSamuli Piippo2018-07-031-1/+0
| | | | | | | Since qtquick1 recipes have been removed, there is no need to have OE_QMAKE_PATH_IMPORTS anymore. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* cmake_qt5.bbclass: add qtbase-native to DEPENDSAnders Darander2017-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building with recipe-specific-sysroot's, qmake can't be found: | CMake Error at WORKDIR/recipe-sysroot/usr/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:32 (message): | The imported target Qt5::Core references the file | | WORKDIR/recipe-sysroot-native/usr/bin/qt5/qmake | | but this file does not exist. Possible reasons include: | | * The file was deleted, renamed, or moved to another location. | | * An install or uninstall procedure did not complete successfully. | | * The installation package was faulty and contained | | WORKDIR/recipe-sysroot/usr/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake | | but not all the files it references. | | Call Stack (most recent call first): | WORKDIR/recipe-sysroot/usr/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:6 (_qt5_Core_check_file_exists) | WORKDIR/recipe-sysroot/usr/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:163 (include) | WORKDIR/recipe-sysroot/usr/lib/cmake/Qt5/Qt5Config.cmake:31 (find_package) | CMakeLists.txt:56 (find_package) | This is solved by adding qtbase-native to the exported DEPENDS. Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* cmake_qt5.bbclass: when using _prepend don't forget to add space at the endDenys Dmytriyenko2016-08-031-1/+2
| | | | | | | | | Previous commit 0717c65abc24d67887c93b773129156f714d033b introduced a bug by using _prepend w/o a space at the end, resulting in corrupted EXTRA_OEMAKE variable in packages that inherit cmake_qt5.bbclass. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* cmake_qt5: prepend the Qt5 specific CMake variables to EXTRA_OECMAKEPascal Bach2016-05-181-1/+1
| | | | | | | | | | | | Using the prepend function instead of "=+" makes sure the variables are set even if the user overrides EXTRA_OECMAKE with "=" instead of just appending to it. Prepending also allows overriding because later arguments take precedence ever earlier ones in CMake. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* cmake_qt5.bbclass: add DEPENDS to qtbaseMikko Rapeli2015-12-151-0/+2
| | | | | | | | All packages using this class need it and it is too easy for developers to miss and leave race conditions into builds. Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* classes: cmake_qt5: export all qt5 related paths to cmakeSimon Busch2013-08-021-1/+28
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* classes: add new cmake_qt5 classSimon Busch2013-07-251-0/+6
A cmake specific qt5 class which sets all required configuration parameters to successfully compile cmake based applications. Signed-off-by: Simon Busch <morphis@gravedo.de>