这是exe目录,要放到这里,要放到这里,要放到这里。
find_package(PythonLibs 3.6 REQUIRED)
include_directories(${PYTHON_INCLUDE_DIRS})
set(PY python/libs/)
set(PY_LIBS ${PY}_tkinter ${PY}python3 ${PY}python36 ${PY}python36_d)
target_link_libraries(HookeViscometer PRIVATE Qt${QT_VERSION_MAJOR}::Widgets
${PY_LIBS})
如果提示 error: LNK1104: 无法打开文件“python36_d.lib”按下图操作