Replaced the QET_TBT_USE_QPICTURE_BASED_CACHE compile-time option with a hardcoded runtime check.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1536 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2012-02-26 21:54:47 +00:00
parent 6199503954
commit 1e8e01c84c
4 changed files with 37 additions and 21 deletions

View File

@@ -163,13 +163,3 @@ unix {
}
}
}
# From Qt 4.8, we disable the QPicture-based cache for titleblock rendering
# because it leads to bad rendering then crash.
contains(QT_VERSION, ^4\\.[0-7]\\..*) {
message("Detected Qt < 4.8: enabling QPicture-based cache for titleblock rendering.")
DEFINES += QET_TBT_USE_QPICTURE_BASED_CACHE
} else {
message("Detected Qt >= 4.8: disabling QPicture-based cache for titleblock rendering.")
}