forked from cneben/QuickQanava
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cneben#217 from cneben/develop
2.4.0
- Loading branch information
Showing
222 changed files
with
4,367 additions
and
2,494 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
cmake_minimum_required(VERSION 3.5.0) | ||
|
||
add_compile_definitions(QT_DISABLE_DEPRECATED_BEFORE=0x050F00) | ||
|
||
find_package(Qt5 REQUIRED COMPONENTS Core Quick Qml Quick QuickControls2 REQUIRED) | ||
message("Building QuickQanava with Qt5") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
cmake_minimum_required(VERSION 3.5.0) | ||
|
||
# Specific to Qt6 | ||
add_compile_definitions(QT_DISABLE_DEPRECATED_BEFORE=0x050F00) | ||
|
||
find_package(Qt6 REQUIRED COMPONENTS Core Quick Qml Quick QuickControls2) | ||
|
||
message("QuickQanava building with Qt6") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,21 @@ | ||
cmake_minimum_required(VERSION 3.5.0) | ||
|
||
project(QuickQanava VERSION 2.1.0 LANGUAGES CXX) | ||
project(QuickQanava VERSION 2.4.0 LANGUAGES CXX) | ||
set_property(GLOBAL PROPERTY USE_FOLDERS ON) | ||
|
||
add_compile_definitions(QT_DISABLE_DEPRECATED_BEFORE=0x050F00) | ||
set(CMAKE_CXX_STANDARD 14) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
|
||
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core Quick REQUIRED) | ||
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Qml Quick QuickControls2 REQUIRED) | ||
message("Building with Qt" ${QT_VERSION_MAJOR}) | ||
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core Quick Qml Quick QuickControls2) | ||
|
||
option(QUICK_QANAVA_BUILD_SAMPLES "Build the samples" TRUE) | ||
option(QUICK_QANAVA_BUILD_STATIC_QRC "Build *.qrc resources statically" TRUE) | ||
option(QUICK_QANAVA_WINDOWS_DEPLOY "Use windeployqt on Windows" FALSE) | ||
message("Building QuickQanava for Qt${QT_VERSION_MAJOR}") | ||
|
||
add_subdirectory(QuickContainers) | ||
add_subdirectory(src) | ||
option(QUICK_QANAVA_BUILD_SAMPLES "Build the samples" FALSE) | ||
|
||
if (${QUICK_QANAVA_BUILD_SAMPLES}) | ||
#add_subdirectory(samples/resizer) | ||
#add_subdirectory(samples/navigable) | ||
add_subdirectory(samples/nodes) | ||
add_subdirectory(samples/cpp) | ||
add_subdirectory(samples/edges) | ||
add_subdirectory(samples/connector) | ||
add_subdirectory(samples/groups) | ||
add_subdirectory(samples/selection) | ||
add_subdirectory(samples/style) | ||
add_subdirectory(samples/dataflow) | ||
add_subdirectory(samples/topology) | ||
if (${QT_VERSION_MAJOR} EQUAL 5) | ||
include(CMakeLists.qt5.txt) | ||
else() | ||
include(CMakeLists.qt6.txt) | ||
endif() | ||
|
||
add_subdirectory(exports) | ||
add_subdirectory(src) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.