add QCodeEditor
This commit is contained in:
parent
bccee9bd36
commit
2f3069a388
316 changed files with 98016 additions and 0 deletions
29
external/QCodeEditor/example/CMakeLists.txt
vendored
Normal file
29
external/QCodeEditor/example/CMakeLists.txt
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
cmake_minimum_required(VERSION 3.6)
|
||||
project(QCodeEditorExample)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
set(CMAKE_AUTOMOC On)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
find_package(Qt6Core CONFIG REQUIRED)
|
||||
find_package(Qt6Widgets CONFIG REQUIRED)
|
||||
find_package(Qt6Gui CONFIG REQUIRED)
|
||||
|
||||
add_executable(QCodeEditorExample
|
||||
resources/demo_resources.qrc
|
||||
src/main.cpp
|
||||
src/MainWindow.cpp
|
||||
include/MainWindow.hpp
|
||||
)
|
||||
|
||||
target_include_directories(QCodeEditorExample PUBLIC
|
||||
include
|
||||
)
|
||||
|
||||
target_link_libraries(QCodeEditorExample
|
||||
Qt::Core
|
||||
Qt::Widgets
|
||||
Qt::Gui
|
||||
QCodeEditor
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue