Every plugin now built

This commit is contained in:
Tom Tanner
2015-03-17 16:31:15 +00:00
parent b8118074c0
commit 77f074f59e
2 changed files with 23 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
Import('qt_env')
env = qt_env.Clone()
modules = [
'Core',
'Gui'
]
if env['QT_MAJOR_VERSION'] > 4:
modules += [ 'Widgets' ]
env.EnableQt4Modules(['Qt' + n for n in modules],
debug = env['CONFIG'] == 'debug')
env.AppendUnique(CPPDEFINES = [ 'PREVIEWBASE_LIBRARY' ])
env.RequireLibraries('uibase')
lib = env.SharedLibrary('previewBase', env.Glob('*.cpp'))
env.InstallPlugin(lib)
+2 -1
View File
@@ -22,4 +22,5 @@ HEADERS += previewbase.h
include(../plugin_template.pri)
OTHER_FILES += \
previewbase.json
previewbase.json\
SConscript