| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When building examples in-tree in a prefix build, we set QT_NO_CREATE_TARGETS
to TRUE and that causes find_package(QtFoo) calls in example projects
not to define targets.
If the targets were not found previously as part of the find_package calls
in qtdeclarative/CMakeLists.txt, this generates warnings like
CMake Warning at lib/cmake/Qt6/Qt6Config.cmake:176 (find_package):
Found package configuration file:
lib/cmake/Qt6ShaderTools/Qt6ShaderToolsConfig.cmake
but it set Qt6ShaderTools_FOUND to FALSE so package "Qt6ShaderTools" is
considered to be NOT FOUND. Reason given by package:
Target "Qt6::ShaderTools" was not found. Possibly due to
QT_NO_CREATE_TARGETS being set to TRUE and thus
lib/cmake/Qt6ShaderTools/Qt6ShaderToolsTargets.cmake
was not included to define the target.
To avoid the warnings, search for the target ShaderTools package as an
optional component.
Amends 0d517b553bb8e94262d54439d3e16086896c1b7d
Fixes: QTBUG-96358
Change-Id: I50c2f1516ca26c099559001e74b7e25c625be6e6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 828cbe57a1690c843f4e3de258d465160e599f95)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Needed for subsequent change that will check and error out if the
version is lower than 3.16. We do that to ensure all policies
introduced by CMake up to version 3.16 have their behavior set to
NEW.
Task-number: QTBUG-95018
Change-Id: Ic92ef51132db78f07891d3bab190078e9d3078b6
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
(cherry picked from commit 5a8b5f59e4335c5e230ee179b5f680c73a3607d3)
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the _qt_internal_collect_qml_root_paths function that collects
qml root paths and sets the QT_QML_ROOT_PATH property to the target
based on the provided qml source files.
Call _qt_internal_collect_qml_root_paths when adding QML source
files to collect QML root paths for the qmlimportscanner when building
Android applications.
Task-number: QTBUG-93340
Change-Id: Ica996e6043b5d1b403665a1316eff23dc97fdf44
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 25ea9bbec2ffacf8f0554de91fb0960be28b5c8c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Pick-to: 6.1
Task-number: QTBUG-86726
Change-Id: If6e1033642d98ccd40daeb57a453c0e5bc2985da
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When building QtQuick, it only needs qsb and the
qt_internal_add_shaders CMake API from qtshadertools, it doesn't need
the ShaderTools library.
Look for the ShaderToolsTools package which is created by the host
qtshadertools build.
This will allow building target qtdeclarative without having to build
target qtshadertools first.
For the ShaderToolsTools package to be found when cross-compiling, we
need to add the QT_HOST_PATH to both CMAKE_FIND_ROOT_PATH and
CMAKE_PREFIX_PATH temporarily.
Amends 4fb84137f1c0a49d64b8bef66fef8a4384cc2a68
Fixes: QTBUG-92050
Change-Id: Ided9189e23b2c60bf7d9f189d94f4bf9fb142218
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
| |
Change-Id: Ia6879ca75750ceb54f145dab9d25ac1ed78289a2
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
| |
Task-number: QTBUG-86053
Change-Id: If58d5b69ed58ae1aa3d50737683e682d70c26c23
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
|
|
| |
Setting the QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS variable
in the project ensures we ported away from old API calls.
Task-number: QTBUG-86815
Change-Id: I3d80bf0ffcfe765472b2cd01ffc43d3af04d0261
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Includes
- renaming of internal plugin api call
- generation of QT_QMLTYPES_FILENAME
- addition of a few TARGET_DESCRIPTION
Change-Id: I72b5647b8c16af9945795ead62a075322b6bb2f6
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
| |
Needed for some benchmarks.
Change-Id: I795112bd795bd230fb4852e0aab466547bf56cb2
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
| |
Change-Id: If8daa6152a563d4309d7342414780ef75b9f5589
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
|
|
|
|
|
|
|
|
| |
Parts of declarative is still buildable without OpenGL
Change-Id: If76be1eaca03a4754d1d6a86c3d8fba3329bc773
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
| |
Change-Id: I2350df5368ee34d6c7072d456806e518ce533839
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add qt6_add_qml_module() as a public API for building QML modules.
Since the shared implementation details are small, it was easier
to just reimplement the shared code than to unmangle the more
complicated version we use to build Qt from QtBuild.
This patch includes an example conversion. Changes for pro2cmake
will follow in a separate patch in qtbase.
Change-Id: I942526cc7d978e2d8309b506e785f9c1509d0bbc
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
One of our examples depends on QtQuickTest, which has a public
dependency to QtTest. So the example does find_package(Qt6 COMPONENTS
QuickTest), which will end up calling find_dependency(QtTest). The
Qt6Test cmake config files will import the module's feature, which
requires the Qt6::Test target to exist. That however was not created
because we set the QT_NO_CREATE_TARGETS. So if we set that (which is
correct), then we do need to find Qt6::Test at the top-level.
Other modules shouldn't need this as they don't create modules that in
turn have a public dependency to testlib.
Change-Id: Ia82aaa2b2462feec81659c6e532d0a185e6819a6
Done-with: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
| |
Also fix some build issues regarding tests.
Change-Id: Ie9ba8a0b7932ae2b542614b6c824c4071ad0b548
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
|
|
|
|
|
|
|
|
| |
We decided this in a workshop a while ago, where we noticed
that the find_dependency() macro was broken in regards to finding
additional components. 3.15.0 was the version that fixed it.
Change-Id: Icdb161c983aea4f61fe705856428e5c3d443c05f
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All tests compile and run on a developer build.
These tests are failing:
tst_qqmlsqldatabase Fails due to missing sql driver
tst_qqmlsqldatabase Fails in wip/qt6
tst_ququicklayouts Fails in wip/qt6
tst_flickableinterop Fails in wip/qt6
tst_qquickpinchandler Fails in wip/qt6
tst_qquickflickable Fails in wip/qt6
tst_qquickgridview Fails in wip/qt6
tst_qquickimage Fails due to missing jpeg plugin
tst_qquicklistview Fails in wip/qt6
tst_qquicktext Fails in wip/qt6
tst_qquickcanvasitem Fails in wip/qt6
tst_scenegraph Fails due to missing jpeg plugin
tst_TestFiltering Fails in wip/qt6
Change-Id: I4b9d69c118e23c095cb72ad5a67653fc30943bb1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
| |
Change-Id: I633338f4d75f48213019b3b88fe1b6402c6005fd
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
Crude port of QtQml, QtQmlModels, QtQuick and a few tests and a few
examples.
Task-number: QTBUG-74136
Change-Id: I5de4d8215b33d1a4a72c2c0e7951e4b384f27e3e
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|