diff --git a/root.pro b/root.pro index c5fecb7..c191a4e 100644 --- a/root.pro +++ b/root.pro @@ -2,7 +2,11 @@ TEMPLATE = subdirs SUBDIRS = src tests type-to-cxx -prf.path = $$[QT_INSTALL_DATA]/mkspecs/features +greaterThan(QT_MAJOR_VERSION, 4) { + prf.path = $$[QT_HOST_DATA]/mkspecs/features +} else { + prf.path = $$[QT_INSTALL_DATA]/mkspecs/features +} prf.files = iodata-qt5.prf INSTALLS = prf