summaryrefslogtreecommitdiffstats
path: root/examples/serialbus/can/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* CAN Manager Example: fix CMakeLists.txtIvan Solovev2023-02-071-5/+4
| | | | | | | | | | | | | | * Use qt_standard_project_setup() instead of enabling AUTOMOC and AUTOUIC manually * Use PRIVATE linkage * Use versionless CMake functions Task-number: QTBUG-110890 Change-Id: Iecbc59c1dd9950de649f0694b66de4568131afab Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 29b08dfb07b4ef72804f67ec38193aa4a1ea6b7a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-231-1/+1
| | | | | | | Task-number: QTBUG-105718 Change-Id: Ibfa4f2f7788f83b7032406de634ca4fb635d2131 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-071-0/+3
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I4702aec49e940c3a480b94cf8622155b9b688b9e Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Improve examples CMakeLists.txtKai Köhne2022-02-171-8/+4
| | | | | | | | | | | | | | | | | | - Remove "# generated from xyz.pro" comment from pro2cmake - Remove automatic use of CMAKE_AUTORCC - Only opt into CMAKE_AUTOUIC if .ui files are involved - Remove explicit setting of CMAKE_INCLUDE_CURRENT_DIR where not necessary - Combine multiple find_package(Qt6 ... calls) - use REQUIRED COMPONENTS - sort components alphabetically - Fix wrong indentations - Use (only) one empty line after multi-line commands Pick-to: 6.3 Change-Id: I66b7edaf699db528ed91f738a009aaa2423e3d80 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Raise cmake_minimum_required to VERSION 3.16 in examplesJoerg Bornemann2021-08-171-1/+1
| | | | | | | Pick-to: 6.2 Task-number: QTBUG-95636 Change-Id: I821f412f9dbe11ae99ffd888a7ab2ba415ed9379 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* CMake: Fix examples to search for the Network packageAlexandru Croitor2021-08-121-0/+1
| | | | | | | | | | | | | | A previous change added an explicit link dependency to the examples without searching for the package first. Amends 4a2828a3d30fa1e4760a6778b8b58569caefb632 Pick-to: 6.2 Task-number: QTBUG-86533 Fixes: QTBUG-95387 Change-Id: I6d5fb5d3d62acc877e096951e0a6d70b5d63baa8 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* CAN Example: Add CanBusDeviceInfo dialogAndre Hartmann2021-07-271-0/+2
| | | | | | | | | | | As example for the new function QCanBusDevice::deviceInfo(). Therefore, extract the group box containing the information from the connect dialog and re-use it for the new CAN device information dialog. Change-Id: I1fd5f9b630a24c819c1fd77a4e2c05542dc15378 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* CMake: Explicitly link against the built QtNetwork libraryAlexandru Croitor2021-07-231-0/+1
| | | | | | | | | | | | | This is to ensure that the pre-existing QtNetwork library from the b2qt SDK sysroot in the CI is not picked up. This is likely a consequence of CMake not adding an -rpath-link flag when linking. See QTBUG-86533 for details. Task-number: QTBUG-86533 Pick-to: 6.2 Change-Id: Id05d49812f957c8a6c12c03f5ff633015bd63103 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* CAN example: Replace received frames edit with proper table and modelEvgeny Shtanov2021-03-191-0/+2
| | | | | | | | | | | Add a class based on QAbstractTableModel to show the received frames. Also add a configurable queue to buffer the frames before displaying them. This should avoid frames loss in flood traffic mode. Task-number: QTBUG-85611 Change-Id: Iac4671096c1cbfdc8297acf3c99be960b7eaf010 Reviewed-by: André Hartmann <aha_1980@gmx.de>
* Port to CMakeAndreas Buhr2021-01-271-0/+59
Task-number: QTBUG-90399 Change-Id: I0521231e7d61809f38c44215b5cd923b292b9e02 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>