2012-02-18 19:20:07 +01:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# QupZilla - QtWebKit browser
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2010-12-18T14:53:41
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
2017-02-06 18:38:32 +01:00
|
|
|
lessThan(QT_VERSION, 5.8) {
|
|
|
|
error("QupZilla requires at least Qt 5.8!")
|
2012-02-18 14:47:38 +01:00
|
|
|
}
|
|
|
|
|
2017-02-06 18:38:32 +01:00
|
|
|
lessThan(QT.webengine.VERSION, 5.8) {
|
|
|
|
error("QupZilla requires at least QtWebEngine 5.8!")
|
2015-10-21 11:04:21 +02:00
|
|
|
}
|
|
|
|
|
2012-03-20 17:05:57 +01:00
|
|
|
# Create plugins directory first on Mac / Linux
|
2012-03-21 13:00:30 +01:00
|
|
|
mac|unix: system(test -d bin/plugins || mkdir bin/plugins)
|
2012-03-20 17:05:57 +01:00
|
|
|
|
2011-12-05 17:27:49 +01:00
|
|
|
TEMPLATE = subdirs
|
2012-12-20 14:45:35 +01:00
|
|
|
|
2014-09-23 22:57:42 +02:00
|
|
|
src_lib.subdir = src/lib
|
|
|
|
src_lib.target = sub-src-lib
|
|
|
|
|
|
|
|
src_main.subdir = src/main
|
|
|
|
src_main.depends = sub-src-lib
|
|
|
|
|
|
|
|
src_plugins.subdir = src/plugins
|
|
|
|
src_plugins.depends = sub-src-lib
|
|
|
|
|
2015-05-22 18:14:16 +02:00
|
|
|
SUBDIRS += src_lib src_main src_plugins
|
2017-03-18 16:48:11 +01:00
|
|
|
|
|
|
|
mac: {
|
|
|
|
macdeploysh.target = bundle
|
|
|
|
macdeploysh.commands = mac/macdeploy.sh $$[QT_INSTALL_BINS]/macdeployqt
|
|
|
|
QMAKE_EXTRA_TARGETS += macdeploysh
|
|
|
|
}
|