Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
Qt6 CMake API Review
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexandru Croitor
Qt6 CMake API Review
Compare revisions
c26dfbc1fe45fddeb8d15f726e35ad8953c3cc25 to 3a4bed58fe6f1ed7d303f06f552beee59ae3dade
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
alcroito/qt6-cmake-api-review
Select target project
No results found
3a4bed58fe6f1ed7d303f06f552beee59ae3dade
Select Git revision
Branches
master
Swap
Target
alcroito/qt6-cmake-api-review
Select target project
torarne/qt6-cmake-api-review
Sami.Shalayel/qt6-cmake-api-review
aledelev/qt6-cmake-api-review
crscott/qt6-cmake-api-review
alcroito/qt6-cmake-api-review
5 results
c26dfbc1fe45fddeb8d15f726e35ad8953c3cc25
Select Git revision
Branches
master
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Add preliminary Qt 6.8 CMake API Review
· 39be05e4
Alexandru Croitor
authored
1 year ago
39be05e4
Add translations doc section
· 3a4bed58
Alexandru Croitor
authored
1 year ago
3a4bed58
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
api_review_qt_6.8.md
+132
-0
132 additions, 0 deletions
api_review_qt_6.8.md
api_review_qt_6_7.md
+26
-0
26 additions, 0 deletions
api_review_qt_6_7.md
with
158 additions
and
0 deletions
api_review_qt_6.8.md
0 → 100644
View file @
3a4bed58
# Changes
## more submodules
Still to be processed:
-
-
-
## qtbase
### `qt_wrap_cpp` - Behavior change
`qt_wrap_cpp`
will accept .cpp files from now
on. When .cpp a file is passed to
`qt_wrap_cpp`
,
`TARGET`
parameter
becomes required. Generated .moc files are added to target's sources
inside
`qt_wrap_cpp`
. That's why the output parameter will not contain
generated .moc files.
https://codereview.qt-project.org/c/qt/qtbase/+/492315
https://doc-snapshots.qt.io/qt6-dev/qt-wrap-cpp.html
Signature
```
cmake
qt_wrap_cpp
(
<VAR> src_file1 [src_file2 ...]
[TARGET target]
[OPTIONS ...]
[DEPENDS ...]
)
```
Documented.
Has example snippet.
Has "since qt version" blurb.
**Notes:**
**Action points:**
## qtprotobuf
### `qt_add_protobuf` - New API out of TP
https://doc-snapshots.qt.io/qt6-dev/qt-add-protobuf.html
https://doc-snapshots.qt.io/qt6-dev/qtprotobufgen-qt-tool.html
Signature
```
cmake
qt_add_protobuf
(
<target>
PROTO_FILES <file> ...
[COPY_COMMENTS]
[GENERATE_PACKAGE_SUBFOLDERS]
[EXTRA_NAMESPACE <namespace>]
[EXPORT_MACRO <infix>]
[QML [QML_URI <uri>]]
[PROTO_INCLUDES <path> ...]
[OUTPUT_DIRECTORY <dir>]
[OUTPUT_HEADERS <var>]
[OUTPUT_TARGETS <var>]
)
```
Documented?
Example snippets?
Has "since qt version" blurb?
Still in TP?
Should it link to grpc docs as well?
**Notes:**
**Action points:**
## qtgrpc
### `qt_add_grpc` - New API out of TP
https://doc-snapshots.qt.io/qt6-dev/qt-add-grpc.html
https://doc-snapshots.qt.io/qt6-dev/qtgrpcgen-qt-tool.html
Signature
```
cmake
qt_add_grpc
(
<target> <TARGET_TYPE>
PROTO_FILES <file> ...
[COPY_COMMENTS]
[GENERATE_PACKAGE_SUBFOLDERS]
[EXTRA_NAMESPACE <namespace>]
[EXPORT_MACRO <infix>]
[PROTO_INCLUDES <path> ...]
[OUTPUT_DIRECTORY <dir>]
[OUTPUT_HEADERS <var>]
[OUTPUT_TARGETS <var>]
)
```
Documented?
Example snippets?
Has "since qt version" blurb?
Still in TP?
Should it link to protobuf docs as well?
**Notes:**
**Action points:**
This diff is collapsed.
Click to expand it.
api_review_qt_6_7.md
View file @
3a4bed58
# Changes
## qbase
### `qt_standard_project_setup` - API Change and new variables
...
...
@@ -592,3 +594,27 @@ No "since qt version" blurb for new options.
**Notes:**
**Action points:**
### Overall translations documentation page
We are missing a more general adding translations page after all the new API was added.
The most prominent CMake one is
https://doc-snapshots.qt.io/qt6-dev/cmake-get-started.html#adding-translations
which is quite short.
And the generic ones at
https://doc-snapshots.qt.io/qt6-dev/internationalization.html
https://doc-snapshots.qt.io/qt6-dev/localization.html
don't mention very much about build systems.
**Notes:**
**Action points:**
This diff is collapsed.
Click to expand it.