.sconsign*
*.moc
/pykit
+/Makefile
+++ /dev/null
-[submodule "site_scons/qtscons"]
- path = site_scons/qtscons
- url = git://git.j32.de/qtscons.git
+++ /dev/null
-# -*- python -*-
-
-import os.path
-Import('env')
-
-env.Tool('qt4', [ os.path.join('site_scons','qtscons') ])
-
-# QtSvg and QtXml are needed by some plugins ...
-env.EnableQt4Modules([ 'QtWebKit', 'QtNetwork', 'QtSvg', 'QtXml', 'QtGui', 'QtCore' ])
-
-env.Append(
- CXXFLAGS = [ '-Wall', '-Wextra' ],
- LIBS = [ '$BOOSTPYLIBS', '$POPPLERLIBS' ],
-)
-
-pykit = env.Program('pykit', env.Qt4Glob())
-env.Default(pykit)
+++ /dev/null
-# -*- python -*-
-
-import os
-
-env = Environment(ENV = os.environ)
-
-env.SetDefault(
- BOOSTPYLIBS = [ 'boost_python' ],
- POPPLERLIBS = [ 'poppler', 'poppler-qt4' ],
-)
-
-env.MergeFlags('!python-config --cflags')
-env.MergeFlags('!python-config --ldflags')
-
-Export('env')
-env.SConscript("SConscript")
--- /dev/null
+TEMPLATE = app
+TARGET = pykit
+DEPENDPATH += .
+INCLUDEPATH += .
+QT += webkit network gui core
+
+# boost_python
+LIBS += -lboost_python
+
+# python
+QMAKE_CXXFLAGS += $$system(python-config --cflags)
+QMAKE_CFFLAGS += $$system(python-config --cflags)
+LIBS += $$system(python-config --ldflags)
+
+# poppler
+LIBS += -lpoppler-qt4 -lpoppler
+
+# Input
+HEADERS += MainWindow.hh \
+ Publisher.hh \
+ PythonPublisher.hh \
+ Viewer.hh \
+ PDFWidget.hh
+SOURCES += main.cc \
+ MainWindow.cc \
+ Publisher.cc \
+ PythonPublisher.cc \
+ Viewer.cc \
+ PDFWidget.cc
+++ /dev/null
-Subproject commit d2af983e689640420972f36d446dab0ed0c2e22e