diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d9ae9a..edfc539 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.24.0) +cmake_minimum_required(VERSION 3.22.0) project(ktikz) set(KTIKZ_VERSION "0.13.2") @@ -50,6 +50,7 @@ set_package_properties("Poppler-Qt5" PROPERTIES URL "http://poppler.freedesktop.org" TYPE REQUIRED PURPOSE "Support for PDF files in KTikZ.") +include_directories(${Poppler_INCLUDE_DIRS}) add_subdirectory(app) add_subdirectory(part) diff --git a/debian/control b/debian/control index 3f6607c..9e2cc3b 100644 --- a/debian/control +++ b/debian/control @@ -10,11 +10,13 @@ Build-Depends: debhelper (>= 7.3.16~), qtchooser, qt5-qmake, qtbase5-dev-tools, + qttools5-dev, qttools5-dev-tools, extra-cmake-modules, libpoppler-qt5-dev, libkf5xmlgui-dev, libkf5texteditor-dev, + libkf5doctools-dev, libkf5parts-dev, libkf5iconthemes-dev, xsltproc, diff --git a/debian/rules b/debian/rules index 8224279..e0c13dc 100755 --- a/debian/rules +++ b/debian/rules @@ -25,7 +25,7 @@ override_dh_auto_configure: dh_auto_configure # configure the Qt version (qmake) mkdir $(QTBUILD) - cd $(QTBUILD) && qmake-qt4 $(QMAKECONFIG) ../qtikz.pro + cd $(QTBUILD) && qmake $(QMAKECONFIG) ../qtikz.pro override_dh_auto_build: # build the KDE version (cmake)