diff options
| author | Christoph Berg <myon@debian.org> | 2026-09-27 00:19:40 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-09-27 00:19:40 +0200 |
| commit | f13e6eb39d944289a612dee1aa94b15e0a91e88c (patch) | |
| tree | fd0529c69d107ff81e1ae0add42574541e7aad87 /debian/patches/0013-qcustomplot-link.patch | |
| parent | 69344560ea394c06ca94acac46a2e4c3e8b7b229 (diff) | |
New upstream version 3.2.0~rc1+dfsg.
Use a manually built tarball as the github one lacks the samples/
directory which the tests need.
Diffstat (limited to 'debian/patches/0013-qcustomplot-link.patch')
| -rw-r--r-- | debian/patches/0013-qcustomplot-link.patch | 26 |
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) |
