kconfig-native: remove gui so it builds with unpached meta-qt5

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2014-12-12 13:21:10 +01:00
parent eda830e9d7
commit 046cf0eaab
3 changed files with 49 additions and 2 deletions

View File

@@ -1,7 +1,8 @@
From 937afec57c851536b0a3a798dece2c81c594402f Mon Sep 17 00:00:00 2001
From d372a1593e1d22e84034ac3ea14d401d5ae4ef71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Mon, 8 Dec 2014 10:53:07 +0100
Subject: [PATCH] kconfiggui: do only compile in case sessions are avaliable
Subject: [PATCH 1/2] kconfiggui: do only compile in case sessions are
avaliable
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

View File

@@ -0,0 +1,44 @@
From 5dbf63f820aac695f093f42722e5b312bb3b7834 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Fri, 12 Dec 2014 11:26:14 +0100
Subject: [PATCH 2/2] keep gui stuff out of native build
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
CMakeLists.txt | 2 +-
src/CMakeLists.txt | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3cd0863..17c1279 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,7 +7,7 @@ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
set(REQUIRED_QT_VERSION 5.2.0)
-find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Gui Xml)
+find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Xml)
include(KDEInstallDirs)
include(KDEFrameworkCompilerSettings)
include(KDECMakeSettings)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f7c79ce..464ae2b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,7 +1,6 @@
ecm_create_qm_loader(kconfig_QM_LOADER kconfig5_qt)
add_subdirectory(core)
-add_subdirectory(gui)
add_subdirectory(kconfig_compiler)
add_subdirectory(kconf_update)
add_subdirectory(kreadconfig)
--
1.8.3.1

View File

@@ -1,3 +1,5 @@
require ${BPN}.inc
inherit native
SRC_URI += "file://0002-keep-gui-stuff-out-of-native-build.patch"