Skip to content

Commit

Permalink
Drop USE_QTERMWIDGET5/6
Browse files Browse the repository at this point in the history
This is QTermWidget6 only.
  • Loading branch information
luis-pereira authored and yan12125 committed May 3, 2024
1 parent 966f5ca commit 78ace6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down
6 changes: 1 addition & 5 deletions src/termwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@
#ifndef TERMWIDGET_H
#define TERMWIDGET_H

#ifdef USE_QTERMWIDGET5
#include <qtermwidget5/qtermwidget.h>
#elif defined(USE_QTERMWIDGET6)
#include <qtermwidget6/qtermwidget.h>
#endif
#include <qtermwidget6/qtermwidget.h>

#include "terminalconfig.h"

Expand Down

0 comments on commit 78ace6d

Please sign in to comment.