Separate Viewer from MainWindow and implement PDF embedding
[pykit.git] / SConscript
1 # -*- python -*-
2
3 import os.path
4 Import('env')
5
6 env.Tool('qt4', [ os.path.join('site_scons','qtscons') ])
7
8 # QtSvg and QtXml are needed by some plugins ...
9 env.EnableQt4Modules([ 'QtWebKit', 'QtNetwork', 'QtSvg', 'QtXml', 'QtGui', 'QtCore' ])
10
11 env.Append(
12     CXXFLAGS = [ '-Wall', '-Wextra' ],
13     LIBS     = [ '$BOOSTPYLIBS', '$POPPLERLIBS' ],
14 )
15
16 pykit = env.Program('pykit', env.Qt4Glob())
17 env.Default(pykit)