aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/test
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-02-10 18:04:03 +0000
committerWeblate <noreply@weblate.org>2017-02-10 18:04:03 +0000
commit03ab8734f9c23ba77fe843a0b3544552c7a6c393 (patch)
tree330e360575af942421db6485e3f1c0b58d83c00d /src-qt5/core/libLumina/test
parentTranslated using Weblate (lumina_CONFIG@pl (generated)) (diff)
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-03ab8734f9c23ba77fe843a0b3544552c7a6c393.tar.gz
lumina-03ab8734f9c23ba77fe843a0b3544552c7a6c393.tar.bz2
lumina-03ab8734f9c23ba77fe843a0b3544552c7a6c393.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/core/libLumina/test')
-rw-r--r--src-qt5/core/libLumina/test/main.cpp12
-rw-r--r--src-qt5/core/libLumina/test/test.pro7
2 files changed, 19 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/test/main.cpp b/src-qt5/core/libLumina/test/main.cpp
new file mode 100644
index 00000000..39c229e2
--- /dev/null
+++ b/src-qt5/core/libLumina/test/main.cpp
@@ -0,0 +1,12 @@
+
+#include "../LuminaRandR.h"
+#include <QDebug>
+#include <QApplication>
+
+int main(int argc, char** argv){
+ QApplication A(argc, argv);
+ qDebug() << "Starting monitor scan...";
+ QList<OutputDevice> outputs = OutputDevice::availableMonitors();
+ qDebug() << "Finished monitor Scan";
+ return 0;
+}
diff --git a/src-qt5/core/libLumina/test/test.pro b/src-qt5/core/libLumina/test/test.pro
new file mode 100644
index 00000000..9674801b
--- /dev/null
+++ b/src-qt5/core/libLumina/test/test.pro
@@ -0,0 +1,7 @@
+QT = core gui widgets
+
+TARGET = test
+
+SOURCES += main.cpp
+
+include(../LuminaRandR.pri)
bgstack15