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"