Description: Use synctex provided by libsynctex-dev
Author: Sebastian Ramacher <sramacher@debian.org>
Last-Update: 2014-07-05

--- a/pdfviewer.h
+++ b/pdfviewer.h
@@ -39,7 +39,7 @@
 #include <QKeySequence>
 
 #include "documentview.h"
-#include "synctex_parser.h"
+#include <synctex_parser.h>
 #include "browser.h"
 
 
--- a/pdfviewerwidget.h
+++ b/pdfviewerwidget.h
@@ -40,7 +40,7 @@
 #include <QSplitter>
 
 #include "documentview.h"
-#include "synctex_parser.h"
+#include <synctex_parser.h>
 #include "minisplitter.h"
 #include "browser.h"
 
--- a/texmaker.pro
+++ b/texmaker.pro
@@ -19,11 +19,11 @@
 unix:!macx {
 contains( QT_VERSION, "^5.*" ) {
 CONFIG		+= link_pkgconfig
-PKGCONFIG 	= poppler-qt5
+PKGCONFIG 	= poppler-qt5 synctex
 DEFINES += POPPLER24
 } else {
 CONFIG		+= link_pkgconfig
-PKGCONFIG 	= poppler-qt4
+PKGCONFIG 	= poppler-qt4 synctex
 DETECTEDPOPPLER=$$system(pkg-config --modversion poppler)
 contains( DETECTEDPOPPLER, "^0.18.*" ){
 DEFINES += OLDPOPPLER
@@ -89,8 +89,6 @@
 	textblockselection.h \
 	scandialog.h \
 	exportdialog.h \
-	synctex_parser.h \
-	synctex_parser_utils.h \
 	usertagslistwidget.h \
 	addtagdialog.h \
 	versiondialog.h \
@@ -201,8 +199,6 @@
 	texdocdialog.cpp \
 	scandialog.cpp \
 	exportdialog.cpp \
-	synctex_parser.c \
-	synctex_parser_utils.c \
 	usertagslistwidget.cpp \
 	addtagdialog.cpp \
 	versiondialog.cpp \
