[kexi] [Bug 377662] build fixes

RJVB bugzilla_noreply at kde.org
Thu Mar 16 08:40:07 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=377662

--- Comment #7 from RJVB <rjvbertin at gmail.com> ---
(In reply to Jarosław Staniek from comment #1)

> So if Kexi builds I am assuming the kdb/kreport/kproperty libs were also
> built by you. If you have any fixes for them we would apply them too.

You already found the Q_OS_MAC->OS changes; I also think the sqlite dump tool
should be built as a regular executable that can be put somewhere on the path:
==========
diff --git a/src/drivers/sqlite/dump/CMakeLists.txt
b/src/drivers/sqlite/dump/CMakeLists.txt
index af134d8..cfffb5c 100644
--- a/src/drivers/sqlite/dump/CMakeLists.txt
+++ b/src/drivers/sqlite/dump/CMakeLists.txt
@@ -1,6 +1,9 @@
+include(ECMMarkNonGuiExecutable)
+
 set(kdb_sqlite_dump_tool_SRCS main.cpp shell.c README)

 add_executable(${KDB_SQLITE_DUMP_TOOL} ${kdb_sqlite_dump_tool_SRCS})
+ecm_mark_nongui_executable(${KDB_SQLITE_DUMP_TOOL})

 target_link_libraries(${KDB_SQLITE_DUMP_TOOL}
     PRIVATE
==========

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kexi-bugs mailing list