aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/src-cpp/framework-OSInterface.pri
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-02-01 17:10:42 -0500
committerKen Moore <ken@ixsystems.com>2018-02-01 17:10:42 -0500
commit6f251cac292ee2657ec60e0e33ba02e3d08fade8 (patch)
tree5f5d7eacbf12bff4d7dd6061a8b5b747f12a8fa8 /src-qt5/src-cpp/framework-OSInterface.pri
parentFix up the single application numbering. (diff)
downloadlumina-6f251cac292ee2657ec60e0e33ba02e3d08fade8.tar.gz
lumina-6f251cac292ee2657ec60e0e33ba02e3d08fade8.tar.bz2
lumina-6f251cac292ee2657ec60e0e33ba02e3d08fade8.zip
Get the FreeBSD OSInterface class all setup.
Also test/fix some stuff in the build side of things. OSInterface no longer uses the LUtils and LXDG classes from libLumina.
Diffstat (limited to 'src-qt5/src-cpp/framework-OSInterface.pri')
-rw-r--r--src-qt5/src-cpp/framework-OSInterface.pri17
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}
bgstack15