环境变量配置
opencv4.5.1
D:\CPlusDevelopmentTools\opencv\build\x64\vc15\bin
libtorch和qt环境

libtorch gpu配置同cpu

cmake环境变量
D:\CPlusDevelopmentTools\cmake-3.20.0-windows-x86_64\bin
cmakelist.txt
cmake_minimum_required(VERSION 3.5)
project(untitled2 LANGUAGES CXX)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# QtCreator supports the following variables for Android, which are identical to qmake Android variables.
# Check http://doc.qt.io/qt-5/deployment-android.html for more information.
# They need to be set before the find_pack

最低0.47元/天 解锁文章
253

被折叠的 条评论
为什么被折叠?



