Created attachment 239557 [details] Update devel/qtcreator to 9.0.1 release, Qt6 build. Congrats and a big thank you for the porting efforts of qt6-webengine - now we can update QtCreator to 9.0.1 release. Qt6 is mandatory to build. Even though LLVM 14 is recommended (but not mandated), stick with LLVM 15 for the code models and tools. It should be compatible and is already present on most desktops as a dependency of graphics/mesa-dri. Notable port changes: The EXAMPLES option is gone, I haven't found an equivalent for Qt6 if it exists. QtCreator build explicitly disables picking up a system version of textproc/kf5-syntax-highlighting, always uses the internal one. Remove that dependency. Release Announcements: https://www.qt.io/blog/qt-creator-9-released https://www.qt.io/blog/qt-creator-9.0.1-released From brief testing and some days of use on 13.1-RELEASE I haven't found any regressions. Apply with "git am".
Moin moin Could you check whether qtcreator finds examples form this port? https://people.freebsd.org/~tcberner/patches/0001-misc-qt6-examples-new-port.patch mfg Tboias
(In reply to Tobias C. Berner from comment #1) Moin, I'm on it, but I have to adapt your patch for Qt 6.4.2 first. Will post the revised patch when I'm done. MfG Florian
Created attachment 239562 [details] Fixed build of misc/qt6-examples with Qt 6.4.2 Successful in that misc/qt6-examples builds and QtCreator shows some of the examples on the welcome screen. I'm not sure whether this is complete or which ones of the plethora should be shown. Tried four of these examples and all of them seem to work. I suppose the "examples" will be part of the USE_QT infrastructure? Didn't hook them back into the devel/qtcreator Makefile yet, but that shouldn't make a difference to the build - it's only a runtime dependency.
Created attachment 240376 [details] Hook misc/qt6-examples into USE_QT for Qt Creator Update the misc/qt6-examples patch to integrate the port into the USE_QT framework (Mk/Uses/qt.mk) - same as misc/qt5-examples. This is now a prerequisite for the following patch to Update Qt Creator to 9.0.2 release.
Created attachment 240377 [details] Update devel/qtcreator to 9.0.2 release, Qt6 build with examples. Updated patch for QtCreator 9.0.2 release. Resurrect the default dependency on examples, see patch for misc/qt6-examples which is a prerequisite now. Briefly tested on 13.1-RELEASE, no regressions found.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d5cd32cdc72dfc4937bf99638973345f052c9261 commit d5cd32cdc72dfc4937bf99638973345f052c9261 Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2022-12-31 08:25:30 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2023-03-04 05:40:23 +0000 misc/qt6-examples: new port A collection of code samples and tutorials are provided with Qt to help new users get started with Qt development. These documents cover a range of topics, from basic use of widgets to step-by-step tutorials that show how an application is put together. The update to 6.4.2 was provided by Florian Walpen <dev@submerge.ch>. PR: 269028 Mk/Uses/qt.mk | 6 +- misc/Makefile | 1 + misc/qt6-examples/Makefile (new) | 42 + misc/qt6-examples/distinfo (new) | 3 + misc/qt6-examples/pkg-descr (new) | 4 + misc/qt6-examples/pkg-plist (new) | 9200 +++++++++++++++++++++++++++++++++++++ 6 files changed, 9253 insertions(+), 3 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d3b42b27219f105f1480c773372b03d8944210b commit 0d3b42b27219f105f1480c773372b03d8944210b Author: Florian Walpen <dev@submerge.ch> AuthorDate: 2023-03-03 23:40:19 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2023-03-04 05:40:24 +0000 devel/qtcreator: Update to 9.0.2 release, Qt6 build Changelogs: * https://www.qt.io/blog/qt-creator-9-released * https://www.qt.io/blog/qt-creator-9.0.1-released * https://www.qt.io/blog/qt-creator-9.0.2-released PR: 269028 devel/qtcreator/Makefile | 39 +- devel/qtcreator/distinfo | 6 +- .../files/patch-src_libs_sqlite_CMakeLists.txt | 10 +- devel/qtcreator/pkg-plist | 767 ++++++++++++++++++++- 4 files changed, 763 insertions(+), 59 deletions(-)