2015-07-10 11:28:30 +02:00
|
|
|
include(common.pri)
|
2014-05-07 10:47:53 +02:00
|
|
|
|
2023-08-12 11:03:28 +02:00
|
|
|
#Check if Qt version >= 5.6.0
|
|
|
|
!minQtVersion(5, 6, 0) {
|
2014-05-07 10:47:53 +02:00
|
|
|
message("Cannot build Valentina with Qt version $${QT_VERSION}.")
|
2023-08-12 11:03:28 +02:00
|
|
|
error("Use at least Qt 5.6.0.")
|
2014-05-07 10:47:53 +02:00
|
|
|
}
|
|
|
|
|
2016-09-06 10:54:18 +02:00
|
|
|
#These checks need because we can quote all paths that contain space.
|
|
|
|
LIST = $$split(PWD,' ')
|
|
|
|
count(LIST, 1, >): error("The build will fail. Path '$${PWD}' contains space!!!")
|
|
|
|
|
|
|
|
LIST = $$split(OUT_PWD,' ')
|
|
|
|
count(LIST, 1, >): error("The build will fail. Path '$${OUT_PWD}' contains space!!!")
|
|
|
|
|
2014-04-25 10:58:33 +02:00
|
|
|
TEMPLATE = subdirs
|
|
|
|
SUBDIRS = src
|