当前位置:网站首页>qt creater搭建osgearth环境(osgQT MSVC2017)
qt creater搭建osgearth环境(osgQT MSVC2017)
2022-06-23 04:41:00 【aspiretop】
1.环境搭建
本人使用osgearth2.8,osg3.4.0,配合osgqt,在qt5.12环境下,编译器为MSVC2017,在vs2017上编译正常,移植到纯qt上,需要配置下C:\Program Files (x86)\Windows Kits\10的include目录,如果运行过程中出错,需要把qt依赖全部找齐
2.具体操作
pro文件内容
QT += core gui opengl
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = osgearthQT
TEMPLATE = app
DEFINES += QT_DEPRECATED_WARNINGS
CONFIG += c++11
SOURCES += \
main.cpp \
mainwindow.cpp
HEADERS += \
mainwindow.h
FORMS += \
mainwindow.ui
OsgDir = E:/6_OSG_Enviroument/1_2022.4.17_osg3.4oe2.8/osg3.4_oe2.8_3rd_vs2017_SDK
CONFIG(release, debug|release) {
LIBS += -L$${OsgDir}/lib/ -losgA边栏推荐
- Vant web app calendar component performance optimization calendar add min date the minimum date page loads slowly
- pyinstaller 打包exe设置图标不显示
- ant使用总结(一):使用ant自动打包apk
- Given a node of a binary tree, return the successor node of the node
- Redis 哨兵
- 密码学系列之:PKI的证书格式表示X.509
- [cocos2d-x] screenshot sharing function
- Explicability of counter attack based on optimal transmission theory
- [DaVinci developer topic] -42- how to generate template and header files of APP SWC
- matplotlib savefig多个图片叠加问题
猜你喜欢

mongodb 4.x绑定多个ip启动报错

Cloud native database is the future

100-300 cases of single chip microcomputer program (detailed explanation of notes)

Jour 13 Projet de santé mentale - chapitre 13

微软面试题:打印折纸的折痕

Day_01 传智健康项目-项目概述和环境搭建

Day_10 传智健康项目-权限控制、图形报表

Day_07 传智健康项目-Freemarker

Day_09 传智健康项目-移动端开发-手机快速登录、权限控制

Gplearn appears assignment destination is read only
随机推荐
【Vivado那些事儿】XilinxCEDStore介绍
论文笔记: 多标签学习 LSML
【Leetcode】431. Encode N-ary Tree to Binary Tree(困难)
微软面试题:打印折纸的折痕
Newbeecoder. Page animation switching of UI control library
mongodb项目中可能出现的坑
Gplearn appears assignment destination is read only
Introduction to JVM principle
学习太极创客 — ESP8226 (十一)用 WiFiManager 库配网
给定二叉树的某个节点,返回该节点的后继节点
Extend your kubernetes API using the aggregation API
Paper notes: multi label learning lsml
金融科技之高效办公(一):自动生成信托计划说明书
WordPress contact form entries cross cross site scripting attack
程序员的真实想法 | 每日趣闻
Pat class B 1021 digit statistics
Global attribute lang attribute
How to query fields separated by commas in MySQL as query criteria - find_ in_ Set() function
Pat class B 1023 minimum decimals
Simple about fastdfs
