From f0b606aaf16bee457ea3f44b53a69cd421f17c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Pereira?= Date: Tue, 16 Apr 2024 18:58:43 +0100 Subject: [PATCH] Drop USE_QTERMWIDGET5/6 This is QTermWidget6 only. --- CMakeLists.txt | 5 ----- src/termwidget.h | 6 +----- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6db08557..ad29a68d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,11 +52,6 @@ message(STATUS "Qt version: ${Qt6Core_VERSION}") message(STATUS "Using bundled Qxt...") set(QXT_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src/third-party") - -find_path(QTERMWIDGET6_INCLUDE_DIR NAMES qtermwidget6/qtermwidget.h) -add_definitions(-DUSE_QTERMWIDGET6) -include_directories(${QTERMWIDGET6_INCLUDE_DIR}) - if(APPLE) find_library(CARBON_LIBRARY Carbon REQUIRED) message(STATUS "CARBON_LIBRARY: ${CARBON_LIBRARY}") diff --git a/src/termwidget.h b/src/termwidget.h index 907bc531..b7d6b59a 100644 --- a/src/termwidget.h +++ b/src/termwidget.h @@ -19,11 +19,7 @@ #ifndef TERMWIDGET_H #define TERMWIDGET_H -#ifdef USE_QTERMWIDGET5 - #include -#elif defined(USE_QTERMWIDGET6) - #include -#endif +#include #include "terminalconfig.h"