##// END OF EJS Templates
Fix __getattr__ problems.
Fix __getattr__ problems.

File last commit:

r205:706df4355685
r207:99eb8a233276
Show More
CMakeLists.txt
26 lines | 552 B | text/plain | TextLexer
# PythonQt Tests
# must be included from PythonQt main CMakeLists
project(PythonQt_Tests)
SET(HEADERS
PythonQtTests.h
)
SET(SOURCES
PythonQtTestMain.cpp
PythonQtTests.cpp
)
include_directories(../src)
qt_wrap_cpp(GEN_HEADERS ${HEADERS})
add_executable(PythonQtTest ${SOURCES} ${GEN_HEADERS})
if(PythonQt_Qt5)
qt_use_modules(PythonQtTest Test Gui Widgets)
else()
qt_use_modules(PythonQtTest Test Gui)
endif()
get_property(PythonQt_lib TARGET PythonQt PROPERTY LOCATION)
target_link_libraries(PythonQtTest ${PythonQt_lib} ${PYTHON_LIBRARIES})