Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add qml #449

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
0aa87ed
Fix CMake warnings
bansan85 Oct 17, 2023
94be995
Fix MSVC warnings
bansan85 Oct 17, 2023
c96829b
Add calculator_test
bansan85 Oct 21, 2024
5bf9066
Missing MultiplicationModel.hpp in CMakeLists.txt
bansan85 Oct 23, 2023
c51ebc3
Minors fixes in library
bansan85 Oct 24, 2023
8c6b9fc
Apply clang-format
bansan85 Oct 21, 2024
285ebc9
Remove qml debug messages
bansan85 Oct 21, 2024
dc79eaf
IWYU qml
bansan85 Oct 21, 2024
31a267e
IWYU
bansan85 Oct 21, 2024
05752dd
Avoid overlap between connections and nodes
bansan85 Nov 3, 2023
144a7eb
Add Acquisition Viewer
bansan85 Oct 21, 2024
c755681
Fix Dynamic ports example
bansan85 Nov 6, 2023
671b4c4
Add Compute viewer that embedded parameters
bansan85 Oct 21, 2024
9639b52
Fix Load / Save for Acquisition Viewer
bansan85 Nov 7, 2023
0ea5f78
Implement full compute_viewer
bansan85 Oct 21, 2024
9860f83
Call WINDEPLOYQT_EXECUTABLE for all example
bansan85 Nov 8, 2023
4f8f543
Don't skip default action for mouse event
bansan85 Nov 10, 2023
ef934e0
Use ResultWidget
bansan85 Oct 21, 2024
2941a32
Add images for examples
bansan85 Nov 15, 2023
c650806
Add package init in Config.cmake.in
bansan85 Jan 24, 2024
cc44a1c
Fix examples Win static build
bansan85 Oct 21, 2024
ee0860d
Fix format and dedicated CI
bansan85 Oct 21, 2024
7290349
Remove openGL dependency
bansan85 Jun 26, 2024
7cc0759
Fix CI and reduce dependencies
bansan85 Oct 21, 2024
a70646d
Fix usage of dataInvalidated
bansan85 Oct 21, 2024
0888da8
Fix typos
bansan85 Jun 26, 2024
a195372
setPortData should return true if success
bansan85 Jun 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
cmake_minimum_required(VERSION 3.8)

cmake_policy(SET CMP0072 NEW) # new in 3.11. The NEW behavior for this policy is to set OpenGL_GL_PREFERENCE to GLVND.
cmake_policy(SET CMP0068 NEW) # new in 3.9. The NEW behavior of this policy is to ignore the RPATH settings for install_name on macOS.


project(QtNodesLibrary CXX)

set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")

set(CMAKE_CXX_STANDARD 11)

set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
set(CMAKE_DISABLE_SOURCE_CHANGES ON)
Expand Down Expand Up @@ -188,12 +186,6 @@ if(NOT "${CMAKE_CXX_SIMULATE_ID}" STREQUAL "MSVC")
)
endif()

if(QT_NODES_DEVELOPER_DEFAULTS)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This variable is not defined anywhere.

target_compile_features(QtNodes PUBLIC cxx_std_14)
set_target_properties(QtNodes PROPERTIES CXX_EXTENSIONS OFF)
endif()


set_target_properties(QtNodes
PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
Expand Down
4 changes: 2 additions & 2 deletions examples/calculator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ set(CALC_HEADER_FILES

add_executable(calculator
${CALC_SOURCE_FILES}
${CALC_HEAEDR_FILES}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Miss spelling

${CALC_HEADER_FILES}
)

target_link_libraries(calculator QtNodes)
Expand All @@ -33,7 +33,7 @@ set(HEADLESS_CALC_SOURCE_FILES

add_executable(headless_calculator
${HEADLESS_CALC_SOURCE_FILES}
${CALC_HEAEDR_FILES}
${CALC_HEADER_FILES}
)

target_link_libraries(headless_calculator QtNodes)