diff options
author | Adriaan de Groot <adridg@FreeBSD.org> | 2020-06-04 21:02:12 +0000 |
---|---|---|
committer | Adriaan de Groot <adridg@FreeBSD.org> | 2020-06-04 21:02:12 +0000 |
commit | 273e40a2930b4d3817726920f0b7d73a557c3855 (patch) | |
tree | 9b2ceb5a3adcd2b73e9260ccdeb9a22bbe419c31 /textproc/kreport/files/KReportGroupTracker.cpp | |
parent | Tools/scripts/mfh: revert accidental tab expansion (diff) |
Pre Qt 5.15 housekeeping: textproc/kreport
This is probably a conflagration of CMake, Qt and other updates all
happening at once. In poudriere, build of databases/kexi fails with
ld: error: undefined symbol: KReportGroupTracker::qt_metacast(char const*)
>>> referenced by mocs_compilation.cpp
>>> src/plugins/reports/CMakeFiles/kexi_reportplugin.dir/kexi_reportplugin_autogen/mocs_compilation.cpp.o:(KRScriptFunctions::qt_metacast(char const*))
The problem lies in textproc/kreport, which has a QObject-derived
class with no out-of-line virtual methods, and no clear path
to have moc called on it. This patch splits out the virtual
destructor, adds a .cpp file containing it, and causes automoc
to run normally on the class. This makes all the QObject machinery
appear in the shared library, and kexi can use it.
Notes
Notes:
svn path=/head/; revision=537960
Diffstat (limited to 'textproc/kreport/files/KReportGroupTracker.cpp')
-rw-r--r-- | textproc/kreport/files/KReportGroupTracker.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/textproc/kreport/files/KReportGroupTracker.cpp b/textproc/kreport/files/KReportGroupTracker.cpp new file mode 100644 index 000000000000..eadae46c08ec --- /dev/null +++ b/textproc/kreport/files/KReportGroupTracker.cpp @@ -0,0 +1,2 @@ +#include "KReportGroupTracker.h" +KReportGroupTracker::~KReportGroupTracker() {} |