summaryrefslogtreecommitdiff
path: root/debian/patches/0013-qcustomplot-link.patch
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
committerhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
commitc25cbdf6fb6d946175f4335fab77bfea601b56db (patch)
tree6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /debian/patches/0013-qcustomplot-link.patch
parent71f5689252c9f13e70e1c24856904475b2307809 (diff)
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'debian/patches/0013-qcustomplot-link.patch')
-rw-r--r--debian/patches/0013-qcustomplot-link.patch26
1 files changed, 5 insertions, 21 deletions
diff --git a/debian/patches/0013-qcustomplot-link.patch b/debian/patches/0013-qcustomplot-link.patch
index 2edf1d37..83962d45 100644
--- a/debian/patches/0013-qcustomplot-link.patch
+++ b/debian/patches/0013-qcustomplot-link.patch
@@ -1,38 +1,22 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -834,17 +834,12 @@ set (message_aggregator_STYLESHEETS
- UDPExamples/qss/default.qss
- )
-
--set (qcp_CXXSRCS
-- qcustomplot-source/qcustomplot.cpp
-- )
--
- set (all_CXXSRCS
- ${wsjt_CXXSRCS}
- ${fort_qt_CXXSRCS}
- ${wsjt_qt_CXXSRCS}
- ${wsjt_qtmm_CXXSRCS}
- ${wsjtx_CXXSRCS}
-- ${qcp_CXXSRCS}
- )
-
- set (all_C_and_CXXSRCS
-@@ -1540,16 +1535,11 @@ endif (WIN32)
+@@ -653,18 +653,12 @@ endif (WIN32)
# targets dependent on Qt
#
-# build a library for the QCustomPlot widget
-add_library (qcp STATIC ${qcp_CXXSRCS})
+-wsjt_enable_qt_automoc (qcp)
-target_include_directories (qcp PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/qcustomplot-source>)
-target_link_libraries (qcp Qt5::Widgets Qt5::PrintSupport)
-
# build a library of package Qt functionality
add_library (wsjt_qt STATIC ${wsjt_qt_CXXSRCS} ${wsjt_qt_GENUISRCS} ${GENAXSRCS})
+ wsjt_enable_qt_automoc (wsjt_qt)
# set wsjtx_udp exports to static variants
target_compile_definitions (wsjt_qt PUBLIC UDP_STATIC_DEFINE)
--target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log qcp Qt5::Widgets Qt5::Network Qt5::Sql Qt5::WebSockets)
-+target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log QCustomPlot Qt5::Widgets Qt5::Network Qt5::Sql Qt5::WebSockets)
+-target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log qcp Qt5::Widgets Qt5::Network Qt5::Multimedia Qt5::SerialPort Qt5::Sql Qt5::WebSockets)
++target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log QCustomPlot Qt5::Widgets Qt5::Network Qt5::Multimedia Qt5::SerialPort Qt5::Sql Qt5::WebSockets)
if (WIN32)
target_link_libraries (wsjt_qt Qt5::AxContainer Qt5::AxBase)
endif (WIN32)