summaryrefslogtreecommitdiffstats
path: root/examples/sql/sqlbrowser/main.cpp
diff options
context:
space:
mode:
authorOrkun Tokdemir <orkun.tokdemir@qt.io>2023-07-21 16:41:48 +0200
committerOrkun Tokdemir <orkun.tokdemir@qt.io>2024-01-19 16:16:51 +0100
commitdc4159286b8571a3f3543e457fe1b51b9f5965b7 (patch)
tree695e999bbda78b6e85cccaa7e8ad7b2fae738682 /examples/sql/sqlbrowser/main.cpp
parentbcdd51cfae24731a73d008add23d3c1e85bbd8d0 (diff)
qt6_wrap_cpp: Add .moc generation
When a `.moc` file is included in a source file and that source passed to `qt_wrap_cpp`, Users should add the generated `.moc`s path to the target's include path. Since we don't share anything about the output path of generated files by `qt_wrap_cpp`, it makes sense to add in inside `qt_wrap_cpp`. And also, the generated `.moc` file is added to target's source to complete the dependency graph. Otherwise, Users need to get output variable and pass it to target's sources. * Update docs * Add test [ChangeLog][Build System] 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. Fixes: QTBUG-113402 Change-Id: I54dd2b1ff8e5c9ba457b1eb4f73b0a8190d9c659 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/sql/sqlbrowser/main.cpp')
0 files changed, 0 insertions, 0 deletions