mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-25 13:17:46 +00:00
Make sure to use manual moc includes
This commit is contained in:
parent
7d93024a56
commit
219bc4c582
9 changed files with 17 additions and 5 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -45,3 +45,5 @@ void QHexBuffer::read(const QByteArray &ba)
|
|||
|
||||
this->read(buffer);
|
||||
}
|
||||
|
||||
#include "moc_qhexbuffer.cpp"
|
||||
|
|
|
@ -46,3 +46,5 @@ qint64 QMemoryBuffer::lastIndexOf(const QByteArray &ba, qint64 from)
|
|||
{
|
||||
return m_buffer.lastIndexOf(ba, static_cast<int>(from));
|
||||
}
|
||||
|
||||
#include "moc_qmemorybuffer.cpp"
|
|
@ -105,3 +105,5 @@ qint64 QMemoryRefBuffer::lastIndexOf(const QByteArray &ba, qint64 from)
|
|||
}
|
||||
return findPos;
|
||||
}
|
||||
|
||||
#include "moc_qmemoryrefbuffer.cpp"
|
|
@ -175,3 +175,5 @@ void QHexCursor::switchInsertionMode()
|
|||
|
||||
Q_EMIT insertionModeChanged();
|
||||
}
|
||||
|
||||
#include "moc_qhexcursor.cpp"
|
|
@ -239,3 +239,5 @@ qint64 QHexDocument::searchBackward(const QByteArray &ba)
|
|||
}
|
||||
return findPos;
|
||||
}
|
||||
|
||||
#include "moc_qhexdocument.cpp"
|
|
@ -145,3 +145,5 @@ void QHexMetadata::setMetadata(const QHexMetadataItem &mi)
|
|||
|
||||
Q_EMIT metadataChanged(mi.line);
|
||||
}
|
||||
|
||||
#include "moc_qhexmetadata.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"
|
|
@ -645,4 +645,6 @@ int QHexView::documentSizeFactor() const
|
|||
}
|
||||
|
||||
return factor;
|
||||
}
|
||||
}
|
||||
|
||||
#include "moc_qhexview.cpp"
|
Loading…
Add table
Reference in a new issue