File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,8 @@ set(MODMESH_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/cpp" CACHE INTERNAL "")
138138
139139include_directories (${MODMESH_INCLUDE_DIR} )
140140
141+ # PySide6 is required since 2023 (see issue https://github.com/solvcon/modmesh/issues/220)
142+ add_compile_definitions (MODMESH_USE_PYSIDE)
141143execute_process (
142144 COMMAND python3 -c "import sys, os, PySide6; sys.stdout.write(os.path.dirname(PySide6.__file__))"
143145 OUTPUT_VARIABLE PYSIDE6_PYTHON_PACKAGE_PATH
Original file line number Diff line number Diff line change 3636#include < QClipboard>
3737#include < QMenu>
3838
39- // Usually MODMESH_PYSIDE6_FULL is not defined unless for debugging.
39+ // PySide6 is required since 2023 (see issue https://github.com/solvcon/modmesh/issues/220)
4040#ifdef MODMESH_PYSIDE6_FULL
4141#include < pyside.h>
4242#else // MODMESH_PYSIDE6_FULL
You can’t perform that action at this time.
0 commit comments