diff --git a/DesktopEditor/raster/Metafile/test/MetafileConversionTest/MetafileConversionTest.pro b/DesktopEditor/raster/Metafile/test/MetafileConversionTest/MetafileConversionTest.pro deleted file mode 100644 index dee1fa782a..0000000000 --- a/DesktopEditor/raster/Metafile/test/MetafileConversionTest/MetafileConversionTest.pro +++ /dev/null @@ -1,27 +0,0 @@ -QT -= core - -QT -= gui - -TARGET = metafile -CONFIG += console -CONFIG -= app_bundle -TEMPLATE = app - -CONFIG += c++14 cmdline - -CORE_ROOT_DIR = $$PWD/../../../../.. -PWD_ROOT_DIR = $$PWD - -include($$CORE_ROOT_DIR/Common/base.pri) - -ADD_DEPENDENCY(kernel, graphics, UnicodeConverter) - -core_linux:include($$CORE_ROOT_DIR/Common/3dParty/icu/icu.pri) -core_windows:LIBS += -lgdi32 -ladvapi32 -luser32 -lshell32 -core_linux:LIBS += -lz - -SOURCES += \ - main.cpp - -DESTDIR = $$PWD_ROOT_DIR/build/$$CORE_BUILDS_PLATFORM_PREFIX/$$CORE_BUILDS_CONFIGURATION_PREFIX - diff --git a/Test/Applications/MetafileTester/MetafileTester.pro b/Test/Applications/MetafileTester/MetafileTester.pro new file mode 100644 index 0000000000..7c0521391b --- /dev/null +++ b/Test/Applications/MetafileTester/MetafileTester.pro @@ -0,0 +1,18 @@ +TEMPLATE = app +CONFIG += console c++11 +CONFIG -= app_bundle +CONFIG -= qt + +TARGET = metafiletester + +CORE_ROOT_DIR = $$PWD/../../../ +PWD_ROOT_DIR = $$PWD + +include($$CORE_ROOT_DIR/Common/base.pri) +include($$CORE_ROOT_DIR/Common/3dParty/icu/icu.pri) + +ADD_DEPENDENCY(kernel, graphics, UnicodeConverter) + +SOURCES += main.cpp + +DESTDIR = $$CORE_BUILDS_BINARY_PATH diff --git a/DesktopEditor/raster/Metafile/test/MetafileConversionTest/main.cpp b/Test/Applications/MetafileTester/main.cpp similarity index 96% rename from DesktopEditor/raster/Metafile/test/MetafileConversionTest/main.cpp rename to Test/Applications/MetafileTester/main.cpp index e562f9b4b3..ffa8dffd28 100644 --- a/DesktopEditor/raster/Metafile/test/MetafileConversionTest/main.cpp +++ b/Test/Applications/MetafileTester/main.cpp @@ -2,10 +2,10 @@ #include #include -#include "../../../../graphics/pro/Fonts.h" -#include "../../../../graphics/pro/Graphics.h" -#include "../../../../fontengine/ApplicationFontsWorker.h" -#include "../../../../common/Directory.h" +#include "../../../DesktopEditor/graphics/pro/Fonts.h" +#include "../../../DesktopEditor/graphics/pro/Graphics.h" +#include "../../../DesktopEditor/fontengine/ApplicationFontsWorker.h" +#include "../../../DesktopEditor/common/Directory.h" #define METAFILE_SUCCESSFUL_CONVERSION 0 #define METAFILE_UNSUCCESSFUL_CONVERSION -1