diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml
index 4000ef02..3064dd3a 100644
--- a/.github/workflows/ccpp.yml
+++ b/.github/workflows/ccpp.yml
@@ -80,7 +80,8 @@ jobs:
brew install pkg-config
- name: py dependencies
run: |
- pip install meson
+ # 0.56.1 doesn't work with python 3.5 on Ubuntu 16.04
+ pip install meson==0.56.0
- name: cmake ubuntu
if: contains(matrix.os, 'ubuntu')
run: |
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06dcf149..dc726da7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,20 +32,9 @@ if(NOT CUTTER_ENABLE_PYTHON)
set(CUTTER_ENABLE_PYTHON_BINDINGS OFF)
endif()
-# Parse Cutter.pro to get filenames
-include(QMakeProParse)
-configure_file("${CMAKE_CURRENT_SOURCE_DIR}/src/Cutter.pro"
- "${CMAKE_CURRENT_BINARY_DIR}/src/Cutter.pro"
- COPYONLY) # trigger reconfigure if Cutter.pro changes
-parse_qmake_pro("${CMAKE_CURRENT_BINARY_DIR}/src/Cutter.pro" CUTTER_PRO)
-# TODO: These variables, exception the versions should be moved to src/CMakeLists.txt after qmake was removed
-set(SOURCE_FILES ${CUTTER_PRO_SOURCES})
-set(HEADER_FILES ${CUTTER_PRO_HEADERS})
-set(UI_FILES ${CUTTER_PRO_FORMS})
-set(QRC_FILES ${CUTTER_PRO_RESOURCES})
-set(CUTTER_VERSION_MAJOR "${CUTTER_PRO_CUTTER_VERSION_MAJOR}")
-set(CUTTER_VERSION_MINOR "${CUTTER_PRO_CUTTER_VERSION_MINOR}")
-set(CUTTER_VERSION_PATCH "${CUTTER_PRO_CUTTER_VERSION_PATCH}")
+set(CUTTER_VERSION_MAJOR 1)
+set(CUTTER_VERSION_MINOR 12)
+set(CUTTER_VERSION_PATCH 0)
set(CUTTER_VERSION_FULL "${CUTTER_VERSION_MAJOR}.${CUTTER_VERSION_MINOR}.${CUTTER_VERSION_PATCH}")
diff --git a/build.bat b/build.bat
deleted file mode 100644
index aa5d5bbe..00000000
--- a/build.bat
+++ /dev/null
@@ -1,46 +0,0 @@
-@ECHO off
-SETLOCAL ENABLEDELAYEDEXPANSION
-SETLOCAL ENABLEEXTENSIONS
-
-IF "%VisualStudioVersion%" == "14.0" ( IF NOT DEFINED Platform SET "Platform=X86" )
-FOR /F %%i IN ('powershell -c "\"%Platform%\".toLower()"') DO SET PLATFORM=%%i
-powershell -c "if ('%PLATFORM%' -notin ('x86', 'x64')) {Exit 1}"
-IF !ERRORLEVEL! NEQ 0 (
- ECHO Unknown platform: %PLATFORM%
- EXIT /B 1
-)
-
-SET "RZDIST=rz_dist"
-SET "BUILDDIR=build_%PLATFORM%"
-SET "BREAKPAD_SOURCE_DIR=%CD%\src\breakpad\src\src"
-
-ECHO Preparing directory
-RMDIR /S /Q %BUILDDIR%
-MKDIR %BUILDDIR%
-
-ECHO Prepare translations
-FOR %%i in (src\translations\*.ts) DO lrelease %%i
-
-CD %BUILDDIR%
-
-IF NOT DEFINED CUTTER_ENABLE_CRASH_REPORTS (
-SET "CUTTER_ENABLE_CRASH_REPORTS=false"
-)
-
-ECHO Building cutter
-qmake BREAKPAD_SOURCE_DIR=%BREAKPAD_SOURCE_DIR% CUTTER_ENABLE_CRASH_REPORTS=%CUTTER_ENABLE_CRASH_REPORTS% %* ..\src\cutter.pro -config release
-IF !ERRORLEVEL! NEQ 0 EXIT /B 1
-nmake
-IF !ERRORLEVEL! NEQ 0 EXIT /B 1
-
-ECHO Deploying cutter
-MKDIR cutter
-COPY release\cutter.exe cutter\cutter.exe
-XCOPY /S /I ..\%RZDIST%\share cutter\share
-XCOPY /S /I ..\%RZDIST%\lib cutter\lib
-DEL cutter\lib\*.lib
-COPY ..\%RZDIST%\bin\*.dll cutter\
-windeployqt cutter\cutter.exe
-FOR %%i in (..\src\translations\*.qm) DO MOVE "%%~fi" cutter\translations
-
-ENDLOCAL
diff --git a/cmake/QMakeConfigureFile.cmake b/cmake/QMakeConfigureFile.cmake
deleted file mode 100644
index 83556617..00000000
--- a/cmake/QMakeConfigureFile.cmake
+++ /dev/null
@@ -1,26 +0,0 @@
-# ------------------------
-# QMakeConfigureFile.cmake
-# ------------------------
-
-function(_prepare_qmake_configure_file INPUT OUTPUT)
- # copyonly configure once to trigger re-running cmake on changes
- configure_file("${INPUT}" "${OUTPUT}.qmake.in" COPYONLY)
- file(READ "${INPUT}" CONTENT)
-
- # replace \" with "
- string(REPLACE "\\\"" "\"" CONTENT "${CONTENT}")
- # replace variables
- string(REGEX REPLACE "\\\$\\\$([A-Za-z0-9_]+)" "\${\\1}" CONTENT "${CONTENT}")
- string(REGEX REPLACE "\\\$\\\${([A-Za-z0-9_]+)}" "\${\\1}" CONTENT "${CONTENT}")
-
- file(WRITE "${OUTPUT}.cmake.in" "${CONTENT}")
-endfunction()
-
-# qmake_configure_file(