Utils/CloudView/CloudView.pro
杰仔 9bcdc61c5a 初始提交:Utils 工具库模块
包含以下子模块:
- VrCommon: 核心接口和数据结构
- VrUtils: 工具类库(JSON、log4cpp、tinyxml2、INI、MD5、CRC)
- CloudUtils: 点云工具
- DataUtils: 数据处理工具(CloudMathClac、CoordinateTransform)
- CloudView: 点云查看工具

功能说明:
- 提供项目通用的基础工具类和实用功能
- 支持 Windows (MSVC/MinGW) 和 Linux (ARM/x86_64) 平台
- 使用 Qt qmake 构建系统
- 所有模块编译为静态库
2026-02-18 16:00:16 +08:00

68 lines
1.5 KiB
Prolog
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Qt 5 兼容QOpenGLWidget widgets 模块中
QT += core gui widgets opengl
CONFIG += c++17
CONFIG -= app_bundle
# Windows平台UTF-8编码支持
win32-msvc {
QMAKE_CXXFLAGS += /utf-8
QMAKE_CXXFLAGS += /bigobj
}
TARGET = CloudView
TEMPLATE = app
# 项目目录
INCLUDEPATH += $$PWD/Inc
INCLUDEPATH += $$PWD/../CloudUtils/Inc
INCLUDEPATH += $$PWD/../../SDK/Device/VzNLSDK/Inc
INCLUDEPATH += $$PWD/../VrUtils/Inc
INCLUDEPATH += $$PWD/../VrCommon/Inc
# 头文件
HEADERS += \
Inc/CloudViewMainWindow.h \
Inc/PointCloudGLWidget.h \
Inc/PointCloudConverter.h
# 源文件
SOURCES += \
main.cpp \
Src/CloudViewMainWindow.cpp \
Src/PointCloudGLWidget.cpp \
Src/PointCloudConverter.cpp
# 资源文件
RESOURCES += resource/resource.qrc
# Windows 应用图标
RC_ICONS = resource/logo.ico
# Windows平台库链接
win32:CONFIG(release, debug|release): {
LIBS += -L../CloudUtils/release -lCloudUtils
LIBS += -L../VrUtils/release -lVrUtils
LIBS += -L../VrCommon/release -lVrCommon
}
else:win32:CONFIG(debug, debug|release): {
LIBS += -L../CloudUtils/debug -lCloudUtils
LIBS += -L../VrUtils/debug -lVrUtils
LIBS += -L../VrCommon/debug -lVrCommon
}
# Windows系统库
win32 {
LIBS += -lAdvapi32
LIBS += -lopengl32
LIBS += -lglu32
}
DEFINES += _USE_MATH_DEFINES
# Default rules for deployment
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target