Commit 33833901 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau Committed by Michael Reeves

Do not use AUTOUIC, but ki18n_wrap_ui, as needed to integrate with ki18n

Summary:
Currently makes no difference as there are no translated strings yet
in the only UI file existing so far.
But can be a trap in the future, so prevent falling into that.

Reviewers: mreeves

Reviewed By: mreeves

Differential Revision: https://phabricator.kde.org/D27825
parent aab6c356
......@@ -4,7 +4,6 @@ cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
project(kdiff3)
#No documented defaults for these make sure they're on
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_CXX_EXTENSIONS ON ) #disable trigraphs in clang/gcc -- offically removed in c++17
......
......@@ -31,6 +31,10 @@ set(kdiff3part_PART_SRCS
Logging.cpp
FileNameLineEdit.cpp )
ki18n_wrap_ui(kdiff3part_PART_SRCS
scroller.ui
)
add_library(kdiff3part MODULE ${kdiff3part_PART_SRCS})
set_target_properties(kdiff3part PROPERTIES DEFINE_SYMBOL KDIFF3_PART)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment