Skip to content

Commit a33301e

Browse files
msmolensjamesobutler
authored andcommitted
Enable "name" property support
Prior to commit commontk@9c2e489, the "name" property was offered as an alias for the "objectName" property. Now, the alias is a compile-time option that is disabled by default. This commit enables the "name" property alias to maintain backwards compatibility with earlier versions.
1 parent 1fa438b commit a33301e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ project(PythonQt)
1616

1717
find_package(PythonLibs REQUIRED)
1818
include_directories("${PYTHON_INCLUDE_DIR}")
19-
add_definitions(-DPYTHONQT_USE_RELEASE_PYTHON_FALLBACK)
19+
add_definitions(
20+
-DPYTHONQT_USE_RELEASE_PYTHON_FALLBACK
21+
-DPYTHONQT_SUPPORT_NAME_PROPERTY
22+
)
2023

2124
#-----------------------------------------------------------------------------
2225
# Build options

0 commit comments

Comments
 (0)