diff --git a/CMakeLists.txt b/CMakeLists.txt index 856afaf..44d1a30 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,10 +4,6 @@ cmake_minimum_required(VERSION 3.25) project(Novus VERSION 0.1.0 LANGUAGES CXX) -set(CMAKE_AUTOUIC ON) -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) - set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/parts/hex/document/buffer/qhexbuffer.cpp b/parts/hex/document/buffer/qhexbuffer.cpp index 262bf40..671d0a7 100644 --- a/parts/hex/document/buffer/qhexbuffer.cpp +++ b/parts/hex/document/buffer/qhexbuffer.cpp @@ -45,3 +45,5 @@ void QHexBuffer::read(const QByteArray &ba) this->read(buffer); } + +#include "moc_qhexbuffer.cpp" diff --git a/parts/hex/document/buffer/qmemorybuffer.cpp b/parts/hex/document/buffer/qmemorybuffer.cpp index 8a45abe..64e7912 100644 --- a/parts/hex/document/buffer/qmemorybuffer.cpp +++ b/parts/hex/document/buffer/qmemorybuffer.cpp @@ -46,3 +46,5 @@ qint64 QMemoryBuffer::lastIndexOf(const QByteArray &ba, qint64 from) { return m_buffer.lastIndexOf(ba, static_cast(from)); } + +#include "moc_qmemorybuffer.cpp" \ No newline at end of file diff --git a/parts/hex/document/buffer/qmemoryrefbuffer.cpp b/parts/hex/document/buffer/qmemoryrefbuffer.cpp index b40b434..a358906 100644 --- a/parts/hex/document/buffer/qmemoryrefbuffer.cpp +++ b/parts/hex/document/buffer/qmemoryrefbuffer.cpp @@ -105,3 +105,5 @@ qint64 QMemoryRefBuffer::lastIndexOf(const QByteArray &ba, qint64 from) } return findPos; } + +#include "moc_qmemoryrefbuffer.cpp" \ No newline at end of file diff --git a/parts/hex/document/qhexcursor.cpp b/parts/hex/document/qhexcursor.cpp index 0bf163e..7e4d7a9 100644 --- a/parts/hex/document/qhexcursor.cpp +++ b/parts/hex/document/qhexcursor.cpp @@ -175,3 +175,5 @@ void QHexCursor::switchInsertionMode() Q_EMIT insertionModeChanged(); } + +#include "moc_qhexcursor.cpp" \ No newline at end of file diff --git a/parts/hex/document/qhexdocument.cpp b/parts/hex/document/qhexdocument.cpp index 2ce1b7b..4a841c8 100644 --- a/parts/hex/document/qhexdocument.cpp +++ b/parts/hex/document/qhexdocument.cpp @@ -239,3 +239,5 @@ qint64 QHexDocument::searchBackward(const QByteArray &ba) } return findPos; } + +#include "moc_qhexdocument.cpp" \ No newline at end of file diff --git a/parts/hex/document/qhexmetadata.cpp b/parts/hex/document/qhexmetadata.cpp index 95fcebc..996268a 100644 --- a/parts/hex/document/qhexmetadata.cpp +++ b/parts/hex/document/qhexmetadata.cpp @@ -145,3 +145,5 @@ void QHexMetadata::setMetadata(const QHexMetadataItem &mi) Q_EMIT metadataChanged(mi.line); } + +#include "moc_qhexmetadata.cpp" \ No newline at end of file diff --git a/parts/hex/document/qhexrenderer.cpp b/parts/hex/document/qhexrenderer.cpp index 2471033..056a93d 100644 --- a/parts/hex/document/qhexrenderer.cpp +++ b/parts/hex/document/qhexrenderer.cpp @@ -498,3 +498,5 @@ void QHexRenderer::drawHeader(QPainter *painter, const QPalette &palette) painter->drawText(asciirect, Qt::AlignHCenter | Qt::AlignVCenter, QStringLiteral("Ascii")); painter->restore(); } + +#include "moc_qhexrenderer.cpp" \ No newline at end of file diff --git a/parts/hex/qhexview.cpp b/parts/hex/qhexview.cpp index c4b5662..4f0f3d1 100644 --- a/parts/hex/qhexview.cpp +++ b/parts/hex/qhexview.cpp @@ -645,4 +645,6 @@ int QHexView::documentSizeFactor() const } return factor; -} \ No newline at end of file +} + +#include "moc_qhexview.cpp" \ No newline at end of file