forked from qt-creator/qt-creator
Fix namespaced build
Change-Id: Idf7716093c0fdaeb494d9427a894a4ea44cab95a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -8281,9 +8281,13 @@ IEditor *BaseTextEditor::duplicate()
|
|||||||
|
|
||||||
} // namespace TextEditor
|
} // namespace TextEditor
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
uint qHash(const QColor &color)
|
uint qHash(const QColor &color)
|
||||||
{
|
{
|
||||||
return color.rgba();
|
return color.rgba();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#include "texteditor.moc"
|
#include "texteditor.moc"
|
||||||
|
@@ -672,6 +672,10 @@ private:
|
|||||||
|
|
||||||
} // namespace TextEditor
|
} // namespace TextEditor
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
uint qHash(const QColor &color);
|
uint qHash(const QColor &color);
|
||||||
|
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(TextEditor::TextEditorWidget::Link)
|
Q_DECLARE_METATYPE(TextEditor::TextEditorWidget::Link)
|
||||||
|
Reference in New Issue
Block a user