Created attachment 231973 [details] Update devel/qtcreator to 6.0.2, build with CMake. Update Qt Creator to 6.0.2, see the official changelogs: https://code.qt.io/cgit/qt-creator/qt-creator.git/plain/dist/changes-6.0.0.md https://code.qt.io/cgit/qt-creator/qt-creator.git/plain/dist/changes-6.0.1.md https://code.qt.io/cgit/qt-creator/qt-creator.git/plain/dist/changes-6.0.2.md Port changes: Build with CMake instead of QMake, as advised by upstream. Add missing libraries and dependencies. Use textproc/kf5-syntax-highlighting for syntax highlighting instead of an internal copy. Clang code model depends on LLVM 13 now. Testing was done on FreeBSD 13.0-RELEASE / amd64, with poudriere testport, all options on and off, portlint and portclippy, some manual poking around, and using it on my own projects for ~2 days. Please note that this introduces some major changes, mostly related to CMake build. The support for QMake (and QMake in general) is phasing out.
@Adriaan de Groot: Hope it's ok to add you here, since you're already familiar with devel/qtcreator.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b1bbeb2f9c6aff674198e27089a05ff85518918 commit 3b1bbeb2f9c6aff674198e27089a05ff85518918 Author: Adriaan de Groot <adridg@FreeBSD.org> AuthorDate: 2022-03-15 20:27:18 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2022-03-15 20:32:43 +0000 devel/qtcreator: update to 6.0.2, cmake build Update to most-recent release and switch the build to CMake (which matches the general migration of Qt to using CMake for builds). While here, drop the qbs dependency because qbs is broken with newer clang. Thanks to Florian for a carefully-written update and PR. Obtained From: Florian Walpen PR: 262078 devel/qtcreator/Makefile | 118 ++++++------- devel/qtcreator/distinfo | 6 +- ...atch-src_libs_3rdparty_sqlite_sqlite.pri (gone) | 10 -- .../patch-src_libs_sqlite_CMakeLists.txt (new) | 11 ++ devel/qtcreator/pkg-plist | 192 ++++++++------------- 5 files changed, 142 insertions(+), 195 deletions(-)
Thanks! I modified your work just a tiny bit to just rip out qbs. That saves us a bunch of tweaking, and since qbs doesn't build right now except on 12.1 (all newer releases have clang13 or later) the packages can be built again.