diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-02-04 10:14:33 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-02-04 11:55:46 +0900 |
| commit | e2f44208d4d8577ece71fdc6e822cbec0d8364ab (patch) | |
| tree | 248531bbe735c08c16020a6bde2fd881a155baed /src/modules/raweditor | |
| parent | ed184e8a40a61c38536ba6b2ab3453dffe7937e5 (diff) | |
| download | kvirc-feat/moc-files-modules.tar.gz kvirc-feat/moc-files-modules.zip | |
Include moc files directly from the related source files (modules)feat/moc-files-modules
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/modules/raweditor')
| -rw-r--r-- | src/modules/raweditor/Makefile.am | 8 | ||||
| -rw-r--r-- | src/modules/raweditor/raweditor.cpp | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/modules/raweditor/Makefile.am b/src/modules/raweditor/Makefile.am index 07ba37b3..34612156 100644 --- a/src/modules/raweditor/Makefile.am +++ b/src/modules/raweditor/Makefile.am @@ -6,12 +6,12 @@ pluglib_LTLIBRARIES = libkviraweditor.la libkviraweditor_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS) libkviraweditor_la_SOURCES = libkviraweditor.cpp raweditor.cpp -nodist_libkviraweditor_la_SOURCES = moc_raweditor.cpp -noinst_HEADERS = raweditor.h libkviraweditor_la_LIBADD = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la -# noinst_HEADERS= +noinst_HEADERS = raweditor.h -moc_raweditor.cpp: raweditor.h +%.moc: %.h $(SS_QT_MOC) $< -o $@ + +raweditor.cpp: raweditor.moc diff --git a/src/modules/raweditor/raweditor.cpp b/src/modules/raweditor/raweditor.cpp index 9b3662c6..14f00342 100644 --- a/src/modules/raweditor/raweditor.cpp +++ b/src/modules/raweditor/raweditor.cpp @@ -556,3 +556,5 @@ void KviRawEditorWindow::loadProperties(KviConfig *cfg) #endif // COMPILE_SCRIPTTOOLBAR */ } + +#include "raweditor.moc" |
