Support using dynamic library of qqmlsortfilterproxymodel.

square-messages
Black Hat 2018-09-22 11:10:15 +08:00
parent 144660e5b5
commit 08617e8d80
2 changed files with 9 additions and 2 deletions

@ -1 +1 @@
Subproject commit 3c2c125c7c3b21650e57c61c4bb5fe064a36eb7c
Subproject commit 1efea2b6003dcc23e0b0d9787cbdef2cf557636d

View File

@ -12,9 +12,16 @@ packagesExist(QMatrixClient) {
message("Found libQMatrixClient via pkg-config.")
PKGCONFIG += QMatrixClient
} else {
messge("Build libQMatrixClient from source.")
include(include/libqmatrixclient/libqmatrixclient.pri)
}
include(include/SortFilterProxyModel/SortFilterProxyModel.pri)
packagesExist(SortFilterProxyModel) {
message("Found qqmlsortfilterproxymodel via pkg-config.")
PKGCONFIG += SortFilterProxyModel
} else {
messge("Build qqmlsortfilterproxymodel from source.")
include(include/SortFilterProxyModel/SortFilterProxyModel.pri)
}
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked deprecated (the exact warnings