diff --git a/util/local_database/testlocales/CMakeLists.txt b/util/local_database/testlocales/CMakeLists.txt new file mode 100644 index 000000000..a8253798e --- /dev/null +++ b/util/local_database/testlocales/CMakeLists.txt @@ -0,0 +1,28 @@ +cmake_minimum_required(VERSION 2.8.12.2 FATAL_ERROR) + +project(testlocales CXX) + +include(FeatureSummary) + +set(CMAKE_AUTOMOC TRUE) + +find_package(Katie REQUIRED) + +add_definitions(${KATIE_DEFINITIONS}) + +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${KATIE_INCLUDES} +) + +set(testlocales_SOURCES + ${CMAKE_CURRENT_SOURCE_DIR}/localemodel.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/localewidget.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp +) + +add_executable(testlocales ${testlocales_SOURCES}) +target_link_libraries(testlocales ${KATIE_GUI_LIBRARIES}) + +feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) \ No newline at end of file diff --git a/util/local_database/testlocales/localewidget.h b/util/local_database/testlocales/localewidget.h index f44b8e325..9a86e13a3 100644 --- a/util/local_database/testlocales/localewidget.h +++ b/util/local_database/testlocales/localewidget.h @@ -42,9 +42,9 @@ #define LOCALEWIDGET_H #include +#include class LocaleModel; -class QTableView; class LocaleWidget : public QWidget { diff --git a/util/local_database/testlocales/testlocales.pro b/util/local_database/testlocales/testlocales.pro deleted file mode 100644 index a9a6247f9..000000000 --- a/util/local_database/testlocales/testlocales.pro +++ /dev/null @@ -1,4 +0,0 @@ -TARGET = testlocales -CONFIG += debug -SOURCES += localemodel.cpp localewidget.cpp main.cpp -HEADERS += localemodel.h localewidget.h \ No newline at end of file