Skip to content

Commit 82fd907

Browse files
committed
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 b2bff4d commit 82fd907

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CMakeLists.txt

+4-1
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)