Репозиторий Sisyphus
Последнее обновление: 24 октября 2021 | Пакетов: 17375 | Посещений: 22155313
en ru br
Репозитории ALT

Группа :: Издательство
Пакет: comparepdf

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: alt-qt5.patch
Скачать


--- a/main.cpp~
+++ b/main.cpp
@@ -17,7 +17,7 @@
 #include <tr1/memory>
 #endif
 #include <poppler-version.h>
-#include <poppler-qt4.h>
+#include <poppler-qt5.h>
 #include <QApplication>
 #include <QImage>
 #include <QTextStream>
--- a/comparepdf.pro
+++ b/comparepdf.pro
@@ -1,16 +1,18 @@
+TEMPLATE = app
+QT += widgets
 SOURCES     += main.cpp
 HEADERS	    += option_parser.hpp
 SOURCES     += option_parser.cpp
-LIBS	    += -lpoppler-qt4
+LIBS	    += -lpoppler-qt5
 exists($(HOME)/opt/poppler018/) {
     message(Using locally built Poppler library)
     INCLUDEPATH += $(HOME)/opt/poppler018/include/poppler/cpp
     INCLUDEPATH += $(HOME)/opt/poppler018/include/poppler/qt4
     LIBS += -Wl,-rpath -Wl,$(HOME)/opt/poppler018/lib -Wl,-L$(HOME)/opt/poppler018/lib
 } else {
-    exists(/usr/include/poppler/qt4) {
+    exists(/usr/include/poppler/qt5) {
 	INCLUDEPATH += /usr/include/poppler/cpp
-	INCLUDEPATH += /usr/include/poppler/qt4
+	INCLUDEPATH += /usr/include/poppler/qt5
     } else {
 	INCLUDEPATH += /usr/local/include/poppler/cpp
 	INCLUDEPATH += /usr/local/include/poppler/qt4
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin