2024-03-28 12:00:21 +01:00
|
|
|
From 81fdb4c69f9e3b5c5fb6bc52f0e1bc4deb1e4ce8 Mon Sep 17 00:00:00 2001
|
2021-06-08 13:12:14 +02:00
|
|
|
From: Martchus <martchus@gmx.net>
|
|
|
|
Date: Wed, 9 Jun 2021 17:25:27 +0200
|
|
|
|
Subject: [PATCH] Enable only SQL plugins which are known to work
|
|
|
|
|
|
|
|
Change-Id: I0abc44db77cecbd323edc936529fb557e1664de8
|
|
|
|
---
|
|
|
|
src/assistant/assistant/CMakeLists.txt | 8 ++++++++
|
|
|
|
1 file changed, 8 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/src/assistant/assistant/CMakeLists.txt b/src/assistant/assistant/CMakeLists.txt
|
2023-03-31 23:09:26 +02:00
|
|
|
index 10df7f777..3a2b677c5 100644
|
2021-06-08 13:12:14 +02:00
|
|
|
--- a/src/assistant/assistant/CMakeLists.txt
|
|
|
|
+++ b/src/assistant/assistant/CMakeLists.txt
|
2023-03-31 23:09:26 +02:00
|
|
|
@@ -154,6 +154,14 @@ qt_internal_extend_target(assistant CONDITION UNIX
|
2021-06-08 13:12:14 +02:00
|
|
|
stdinlistener.cpp stdinlistener.h
|
|
|
|
)
|
|
|
|
|
|
|
|
+if(MINGW)
|
|
|
|
+ # enable only SQL plugins which are known to work
|
|
|
|
+ # note: The static plugins for MySQL/PostgreSQL don't work because these libs come with their
|
|
|
|
+ # own pthread implementation which has conflicting symbols with the normal pthread library
|
|
|
|
+ # leading to linker errors.
|
|
|
|
+ qt_import_plugins(assistant INCLUDE_BY_TYPE sqldrivers Qt6::QSQLiteDriverPlugin Qt6::QODBCDriverPlugin)
|
|
|
|
+endif()
|
|
|
|
+
|
|
|
|
if(APPLE)
|
|
|
|
set_target_properties(assistant PROPERTIES
|
|
|
|
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info_mac.plist"
|
|
|
|
--
|
2024-03-28 12:00:21 +01:00
|
|
|
2.44.0
|
2021-06-08 13:12:14 +02:00
|
|
|
|