[QBS] How to compile QBS without config_ui

Карелин Павел hkarel at yandex.ru
Sat Dec 27 20:53:53 CET 2014


Hello,

For compiling QBS I use Qt in minimal configuration (see 
http://bugreports.qt-project.org/browse/QBS-719). In this case the 
config-ui isn't compiled. For solution of the problem I use a patch:
---
  src/app/app.pro | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/app/app.pro b/src/app/app.pro
index d3e3388..a834b78 100644
--- a/src/app/app.pro
+++ b/src/app/app.pro
@@ -6,4 +6,6 @@ SUBDIRS =\
      config \
      qbs-qmltypes

-lessThan(QT_MAJOR_VERSION, 5)|!isEmpty(QT.widgets.name):SUBDIRS += 
config-ui
+!qbs_not_build_config_ui {
+    (lessThan(QT_MAJOR_VERSION, 5)|!isEmpty(QT.widgets.name)):SUBDIRS 
+= config-ui
+}
--


But can there is another way of solution of this problem?

--
Regards,
Pavel Karelin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20141227/310fc086/attachment.html>


More information about the Qbs mailing list