aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-calculator
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils/lumina-calculator')
-rw-r--r--src-qt5/desktop-utils/lumina-calculator/lumina-calculator.pro10
-rw-r--r--src-qt5/desktop-utils/lumina-calculator/main.cpp2
-rw-r--r--src-qt5/desktop-utils/lumina-calculator/mainUI.cpp3
3 files changed, 9 insertions, 6 deletions
diff --git a/src-qt5/desktop-utils/lumina-calculator/lumina-calculator.pro b/src-qt5/desktop-utils/lumina-calculator/lumina-calculator.pro
index 38e22b37..efb9e68c 100644
--- a/src-qt5/desktop-utils/lumina-calculator/lumina-calculator.pro
+++ b/src-qt5/desktop-utils/lumina-calculator/lumina-calculator.pro
@@ -5,6 +5,12 @@ QT += core gui widgets
TARGET = lumina-calculator
target.path = $${L_BINDIR}
+#include all the special classes from the Lumina tree
+include(../../core/libLumina/LUtils.pri) #includes LUtils
+include(../../core/libLumina/LuminaXDG.pri)
+include(../../core/libLumina/LuminaSingleApplication.pri)
+include(../../core/libLumina/LuminaThemes.pri)
+
HEADERS += mainUI.h \
EqValidator.h
@@ -13,10 +19,6 @@ SOURCES += main.cpp \
FORMS += mainUI.ui
-LIBS += -lLuminaUtils
-
-DEPENDPATH += ../../libLumina
-
TRANSLATIONS = i18n/l-calc_af.ts \
i18n/l-calc_ar.ts \
i18n/l-calc_az.ts \
diff --git a/src-qt5/desktop-utils/lumina-calculator/main.cpp b/src-qt5/desktop-utils/lumina-calculator/main.cpp
index ea1ae60c..da57763a 100644
--- a/src-qt5/desktop-utils/lumina-calculator/main.cpp
+++ b/src-qt5/desktop-utils/lumina-calculator/main.cpp
@@ -8,7 +8,7 @@
#include <QDebug>
#include <LuminaThemes.h>
-#include <LuminaUtils.h>
+#include <LUtils.h>
#include "mainUI.h"
diff --git a/src-qt5/desktop-utils/lumina-calculator/mainUI.cpp b/src-qt5/desktop-utils/lumina-calculator/mainUI.cpp
index 3da9ba6d..fcc39fd2 100644
--- a/src-qt5/desktop-utils/lumina-calculator/mainUI.cpp
+++ b/src-qt5/desktop-utils/lumina-calculator/mainUI.cpp
@@ -10,8 +10,9 @@
#include <QDebug>
#include <QClipboard>
#include <QFileDialog>
+#include <QMenu>
-#include <LuminaUtils.h>
+#include <LUtils.h>
#include <LuminaXDG.h>
#include "EqValidator.h"
bgstack15