blob: 38aac74d9efe12e770432f376238bb52e9a56086 [file] [log] [blame]
Michael Weghorn88d57cf2021-09-29 11:09:51 +02001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#
Michael Meeksd037b812026-03-26 15:06:16 +00003# This file is part of the Collabora Office project.
Michael Weghorn88d57cf2021-09-29 11:09:51 +02004#
5# This Source Code Form is subject to the terms of the Mozilla Public
6# License, v. 2.0. If a copy of the MPL was not distributed with this
7# file, You can obtain one at http://mozilla.org/MPL/2.0/.
8#
9
10$(eval $(call gb_CustomTarget_CustomTarget,vcl/qt6))
11
12$(call gb_CustomTarget_get_target,vcl/qt6) : \
Michael Weghorne5e48732025-05-01 21:59:51 +020013 $(gb_CustomTarget_workdir)/vcl/qt6/QtAccessibleWidget.moc \
Christian Lohmaier0c4c84a2024-05-02 11:19:38 +020014 $(gb_CustomTarget_workdir)/vcl/qt6/QtClipboard.moc \
Michael Weghorn6ab6dcf2024-11-27 17:39:02 +010015 $(gb_CustomTarget_workdir)/vcl/qt6/QtDoubleSpinBox.moc \
Michael Weghornd257afb2025-06-27 15:38:59 +020016 $(gb_CustomTarget_workdir)/vcl/qt6/QtDragAndDrop.moc \
Michael Weghorn9ca43e72024-11-24 00:07:44 +010017 $(gb_CustomTarget_workdir)/vcl/qt6/QtExpander.moc \
Christian Lohmaier0c4c84a2024-05-02 11:19:38 +020018 $(gb_CustomTarget_workdir)/vcl/qt6/QtFilePicker.moc \
19 $(gb_CustomTarget_workdir)/vcl/qt6/QtFrame.moc \
Michael Weghorn5d5b1c02025-03-10 12:58:52 -070020 $(gb_CustomTarget_workdir)/vcl/qt6/QtHyperlinkLabel.moc \
Christian Lohmaier0c4c84a2024-05-02 11:19:38 +020021 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstance.moc \
Michael Weghornffd236b2025-02-22 18:30:30 +010022 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceAssistant.moc \
Michael Weghornd7fd4f22025-01-22 21:54:37 +010023 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceBox.moc \
Michael Weghornbe3e1d32025-05-29 15:32:54 +020024 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceCalendar.moc \
Michael Weghorn3e65d082024-11-23 00:57:37 +010025 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceCheckButton.moc \
Michael Weghorn07201012025-07-25 15:09:25 +020026 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceColorChooserDialog.moc \
Michael Weghorn8c8a48e2024-10-23 22:26:10 +020027 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceComboBox.moc \
Michael Weghorn028a5252024-11-08 23:03:28 +010028 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceContainer.moc \
Michael Weghorn169c5652024-10-02 09:13:05 +020029 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceDialog.moc \
Michael Weghorn5c85ef32024-11-06 21:51:46 +010030 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceDrawingArea.moc \
Michael Weghorn2db9f1c2024-10-24 12:27:27 +020031 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceEntry.moc \
Michael Weghorne61a6f92025-04-18 23:00:09 +020032 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceEntryTreeView.moc \
Michael Weghornec760b22024-11-24 01:20:31 +010033 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceExpander.moc \
Michael Weghorn2bd9ff72025-02-18 19:07:07 +010034 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceFormattedSpinButton.moc \
Michael Weghornfb3f9d72024-12-18 16:48:13 +010035 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceGrid.moc \
Michael Weghorn995866e2024-12-09 21:24:30 +010036 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceIconView.moc \
Michael Weghorn2d0d3502024-12-04 23:41:22 +010037 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceImage.moc \
38 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceLabel.moc \
Michael Weghornd247f2e2024-10-29 21:13:26 +010039 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceLevelBar.moc \
Michael Weghornec59d5a2024-10-25 23:36:49 +020040 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceLinkButton.moc \
Michael Weghornb8ca6422024-12-20 21:34:46 +010041 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceMenu.moc \
Michael Weghorna6f206c2024-12-20 21:05:20 +010042 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceMenuButton.moc \
Christian Lohmaier0c4c84a2024-05-02 11:19:38 +020043 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceMessageDialog.moc \
Michael Weghorn6c957f12024-11-09 22:03:16 +010044 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceNotebook.moc \
Michael Weghorna7428732024-12-22 01:03:14 +010045 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstancePopover.moc \
Michael Weghornef1eaad2024-10-30 09:54:55 +010046 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceProgressBar.moc \
Michael Weghorn8bf22f62024-10-29 20:12:53 +010047 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceRadioButton.moc \
Michael Weghorn9bce3ab2024-12-19 21:19:31 +010048 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceScale.moc \
Michael Weghorn7d467fa2025-03-02 01:26:50 +010049 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceScrollbar.moc \
Michael Weghorndc7e8be2024-12-14 23:43:22 +010050 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceScrolledWindow.moc \
Michael Weghorndf32eb62024-11-27 22:38:22 +010051 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceSpinButton.moc \
Michael Weghorn6835fbc2025-07-26 09:49:33 +020052 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceSpinner.moc \
Michael Weghorn2d0d3502024-12-04 23:41:22 +010053 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceTextView.moc \
Michael Weghornfeaf0802024-12-19 22:42:04 +010054 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceToggleButton.moc \
Michael Weghornbcc51812025-01-07 13:24:26 +010055 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceToolbar.moc \
Michael Weghornd0ea15a2024-11-09 00:28:06 +010056 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceTreeView.moc \
Michael Weghorn2d0d3502024-12-04 23:41:22 +010057 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceWidget.moc \
Michael Weghorn028a5252024-11-08 23:03:28 +010058 $(gb_CustomTarget_workdir)/vcl/qt6/QtInstanceWindow.moc \
Christian Lohmaier0c4c84a2024-05-02 11:19:38 +020059 $(gb_CustomTarget_workdir)/vcl/qt6/QtMainWindow.moc \
60 $(gb_CustomTarget_workdir)/vcl/qt6/QtMenu.moc \
Michael Weghornbe113bc2024-09-19 11:02:48 +020061 $(gb_CustomTarget_workdir)/vcl/qt6/QtTransferable.moc \
Christian Lohmaier0c4c84a2024-05-02 11:19:38 +020062 $(gb_CustomTarget_workdir)/vcl/qt6/QtObject.moc \
63 $(gb_CustomTarget_workdir)/vcl/qt6/QtTimer.moc \
64 $(gb_CustomTarget_workdir)/vcl/qt6/QtWidget.moc \
65 $(gb_CustomTarget_workdir)/vcl/qt6/QtXAccessible.moc \
Michael Weghorn88d57cf2021-09-29 11:09:51 +020066
67# For now, the headers in vcl/inc/qt6 just '#include' the ones
68# in 'vcl/inc/qt5'.
69# Since moc does not process classes from the included headers,
70# it needs to be run on the headers in the qt5 dir.
71# That will have to be adapted in case the qt6 VCL plugin
72# uses "own" headers
Christian Lohmaier0c4c84a2024-05-02 11:19:38 +020073$(gb_CustomTarget_workdir)/vcl/qt6/%.moc : \
Michael Weghorn88d57cf2021-09-29 11:09:51 +020074 $(SRCDIR)/vcl/inc/qt5/%.hxx \
Christian Lohmaier0c4c84a2024-05-02 11:19:38 +020075 | $(gb_CustomTarget_workdir)/vcl/qt6/.dir
Michael Weghorn88d57cf2021-09-29 11:09:51 +020076 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),MOC,1)
77 $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),MOC)
78 $(MOC6) $< -o $@
79 $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),MOC)
80
81# vim: set noet sw=4: