Bug 269028 - devel/qtcreator: Update to 9.0.2 release, Qt6 build.
Summary: devel/qtcreator: Update to 9.0.2 release, Qt6 build.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL: https://www.qt.io/blog/qt-creator-9.0...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-18 15:10 UTC by Florian Walpen
Modified: 2023-03-20 16:49 UTC (History)
1 user (show)

See Also:
tcberner: maintainer-feedback+


Attachments
Update devel/qtcreator to 9.0.1 release, Qt6 build. (65.71 KB, patch)
2023-01-18 15:10 UTC, Florian Walpen
no flags Details | Diff
Fixed build of misc/qt6-examples with Qt 6.4.2 (575.05 KB, patch)
2023-01-18 18:21 UTC, Florian Walpen
no flags Details | Diff
Hook misc/qt6-examples into USE_QT for Qt Creator (576.12 KB, patch)
2023-02-24 14:37 UTC, Florian Walpen
no flags Details | Diff
Update devel/qtcreator to 9.0.2 release, Qt6 build with examples. (65.71 KB, patch)
2023-02-24 14:42 UTC, Florian Walpen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Walpen 2023-01-18 15:10:26 UTC
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".
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2023-01-18 15:37:55 UTC
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
Comment 2 Florian Walpen 2023-01-18 17:21:22 UTC
(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
Comment 3 Florian Walpen 2023-01-18 18:21:30 UTC
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.
Comment 4 Florian Walpen 2023-02-24 14:37:41 UTC
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.
Comment 5 Florian Walpen 2023-02-24 14:42:37 UTC
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.
Comment 6 commit-hook freebsd_committer freebsd_triage 2023-03-04 05:43:21 UTC
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(-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2023-03-04 05:43:22 UTC
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(-)