You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
qt-build-utils: build system changes to have a QtInstallation (#1286)
* qt-build-utils: use u64 as major type this allows us to move to SemVer
* qt-build-utils: add anyhow and semver crates for later
* qt-build-utils: add a QtTool enum for later
* qt-build-utils: add QtInstallation trait
* qt-build-utils: add qmake implementation of QtInstallation
* qt-build-utils: create a QtInstallation but don't use it
This is just to test what we can do still with the old API
* cxx-qt-build: use version from QtInstallation
* qt-build-utils: ask QtInstallation for location of Qt tools
* qt-build-utils: split out common is_*_target
* qt-build-utils: move linking of Qt modules to Qt Installation
* qt-build-utils: move include paths to qmake installation
* qt-build-utils: remove qmake executable path as it is in installation
* qt-build-utils: parse_cflags is now only needed for qmake builds
* qt-build-utils: fix docs and add new method with QtInstallation arg
* qt-build-utils: add back a cache for finding the Qt tool
* qt-build-utils: split error into separate module
* qt-build-utils: split initialiser into module
* qt-build-utils: move tool to a folder
* qt-build-utils: split out rcc into a tool
* qt-build-utils: split Moc into a separate tool
* qt-build-utils: have a command writable path method for tools
* qt-build-utils: split out qmltyperegistrar into a separate tool
* qt-build-utils: split out qmlcachegen into a separate tool
* cxx-qt-build: use new rcc method instead of qrc
* cxx-qt-build: use moc() method to retrieve the tool not compile
* qt-build-utils: Return Result in try_find_tool
This now also prints out the paths that were attempted.
* qt-build-utils: new_with_default/new -> new/with_installation
Also only compile in the `new` function if the `qmake` feature is
provided.
Previously this function would not run anyhow.
If we add a `cmake` feature, we can conditionally enable the function if
either `cmake` or `qmake` is enabled.
---------
Co-authored-by: Andrew Hayzen <[email protected]>
0 commit comments