diff options
Diffstat (limited to 'tikzit.pro')
-rw-r--r-- | tikzit.pro | 46 |
1 files changed, 38 insertions, 8 deletions
@@ -1,11 +1,9 @@ -#------------------------------------------------- -# -# Project created by QtCreator 2017-01-11T17:30:16 -# -#------------------------------------------------- +# CONFIG += debug QT += core gui widgets network +VERSION = 2.1 + test { CONFIG += testcase } @@ -29,6 +27,8 @@ win32:RC_ICONS += images/tikzdoc.ico macx:ICON = images/tikzit.icns # linux-g++:QMAKE_CXXFLAGS += -Wsuggest-override +QMAKE_INFO_PLIST = Info.plist + # Qt 5.8 and above drop support for Mountain Lion contains(QT_VERSION, ^5\\.[5-7].*) { macx:QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8 @@ -75,7 +75,14 @@ SOURCES += src/gui/mainwindow.cpp \ src/data/tikzstyles.cpp \ src/data/style.cpp \ src/gui/styleeditor.cpp \ - src/data/stylelist.cpp + src/data/stylelist.cpp \ + src/gui/previewwindow.cpp \ + src/gui/latexprocess.cpp \ + src/data/pdfdocument.cpp \ + src/gui/exportdialog.cpp \ + src/data/delimitedstringvalidator.cpp \ + src/gui/delimitedstringitemdelegate.cpp \ + src/gui/preferencedialog.cpp HEADERS += src/gui/mainwindow.h \ src/gui/toolpalette.h \ @@ -101,16 +108,39 @@ HEADERS += src/gui/mainwindow.h \ src/data/tikzstyles.h \ src/data/style.h \ src/gui/styleeditor.h \ - src/data/stylelist.h + src/data/stylelist.h \ + src/gui/previewwindow.h \ + src/gui/latexprocess.h \ + src/data/pdfdocument.h \ + src/gui/exportdialog.h \ + src/data/delimitedstringvalidator.h \ + src/gui/delimitedstringitemdelegate.h \ + src/gui/preferencedialog.h FORMS += src/gui/mainwindow.ui \ src/gui/propertypalette.ui \ src/gui/mainmenu.ui \ src/gui/stylepalette.ui \ - src/gui/styleeditor.ui + src/gui/styleeditor.ui \ + src/gui/previewwindow.ui \ + src/gui/exportdialog.ui \ + src/gui/preferencedialog.ui INCLUDEPATH += src src/gui src/data +# link to pre-compiled poppler libs on windows +win32 { + INCLUDEPATH += win32-deps/include + LIBS += -L"$$PWD/win32-deps/bin" +} + +macx { + INCLUDEPATH += /usr/local/opt/poppler/include + LIBS += -L/usr/local/opt/poppler/lib +} + +LIBS += -lpoppler-qt5 + DISTFILES += RESOURCES += tikzit.qrc |