Keep only files that are used in both Input and QField in QgsQuick as basis of the QML library that can grow further.
Co-authored-by: Denis Rouzaud <denis.rouzaud@gmail.com>
* [cmake] generalize Python output directory in UseTest macro
this is helpful in case we set up another python output directory (eg PySide2)
* define python output directories to the parent scope
* try with target_include_directories
* define vars on top level
* Update UsePythonTest.cmake
* some cleanup
* more cleanup
* fix uic
* fix path for all platforms
* fix var
qgis_core is linked again, whenever cmake is run, because qgsversion.h is regenerated every time.
This commit only touches the file if the content actually changed and speeds up compliation in some cases
Laz-perf is a relatively "underground" library, and is not packaged
for many major distributions. Its also tiny and trivial to include with
the other external libraries.
This avoids requiring users who want point cloud support to have to
compile their own laz-perf
when dependancies are missing (libzstd, lazperf) to an explicit
WITH_EPT optional cmake switch which requires those dependancies
This makes it easier people to determine whether they have the
complete set of necessary dependancies to build Entwine point
cloud support, as cmake will show an error if they enable WITH_EPT
but don't have them...
As written, the FindPyQt5.cmake and FindPyQt5.py scripts will succeed even if
PyQt5 is not installed. In FindPyQt5.cmake, we have PYQT5_FIND_REQUIRED rather
than PyQt5_FIND_REQUIRED, so the package is always treated as though it is
optional. In FindPyQt5.py, the script will succeed with a default location for
the sip directory, even if the PyQt5 directory is not located.
For some systems, if enough other dependencies are installed, the build can
get about halfway complete without the main PyQt5 dependency, and then fail
with a message like:
sip: Unable to find file "QtXml/QtXmlmod.sip"
I hit this building on Ubuntu, and there have been a few similar bug reports in
the past.