diff options
Diffstat (limited to 'src-qt5/src-cpp/framework-OSInterface.pri')
-rw-r--r-- | src-qt5/src-cpp/framework-OSInterface.pri | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src-qt5/src-cpp/framework-OSInterface.pri b/src-qt5/src-cpp/framework-OSInterface.pri index fa6e966c..3a456382 100644 --- a/src-qt5/src-cpp/framework-OSInterface.pri +++ b/src-qt5/src-cpp/framework-OSInterface.pri @@ -1,11 +1,18 @@ -QT *= core network quick +QT *= core network quick concurrent + +#include(../core/libLumina/LUtils.pri) +#include(../core/libLumina/LuminaXDG.pri) -include(../core/libLumina/LUtils.pri) -include(../core/libLumina/LuminaXDG.pri) HEADERS *= $${PWD}/framework-OSInterface.h SOURCES *= $${PWD}/framework-OSInterface_private.cpp -_os=template -SOURCES *= $${PWD}/framework-OSInterface-$${_os}.cpp +#Load the proper OS *.cpp file +exists($${PWD}/framework-OSInterface-$${LINUX_DISTRO}.cpp){ + SOURCES *= $${PWD}/framework-OSInterface-$${LINUX_DISTRO}.cpp +}else:exists($${PWD}/framework-OSInterface-$${OS}.cpp){ + SOURCES *= $${PWD}/framework-OSInterface-$${OS}.cpp +}else{ + SOURCES *= $${PWD}/framework-OSInterface-template.cpp +} INCLUDEPATH *= $${PWD} |