当前位置:网站首页>osg编译osgQt
osg编译osgQt
2022-06-22 05:34:00 【王建博09】
DATE 2019/08/12 by WJB
最近在调研关于OSGEarth的东西,编译SOGEarth是一个体力活。遇到编译Qt模块时出现了问题,不知道怎么配置版本。从网上查了一写资料,修改了CmakeList才编译成功。在此记录以便以后查询。
添加版本选择语句:SET(DESIRED_QT_VERSION "5.7.0" CACHE STRING "") 版本号可以根据你的选择定义。添加位置,在IF(OSG_USE_QT AND NOT ANDROID)语句下边。
设置qt路径 SET(CMAKE_PREFIX_PATH "D:\\Qt\\Qt5.7.0\\5.7\\msvc2013" CACHE PATH "");
这连个设置完后,可以回报找不到qt5wigdets错误。在cMake中配置qt5widgets_dir.。这个路径是在qt安装目录的lib/cmake文件夹中。
边栏推荐
- Vulkan 预旋转处理设备方向
- Research Report on global and Chinese active Ethernet access device industry demand trend and investment prospect 2022-2027
- An unordered array of N integers. Find the first number after each element that is larger than it. The time complexity is O (n)
- Introduction to golang Viper Library
- 信号输出库
- Xshell下载安装(解决评估过期问题)
- Key points of Facebook account "unsealing, anti sealing and maintaining ID" have been collected!
- Conversion between gray code and binary
- Report on global and Chinese direct coupled actuator market demand and future development planning recommendations 2022-2027
- 牛的学术圈 II(春季每日一题 49)
猜你喜欢

Frame profiling

机器学习笔记 八:Octave实现神经网络的手写数字识别

Reptile initial and project

Delete the packaging use of pop-up components

Beifeng helps Nanchang Emergency Management Bureau to build a public-private integrated emergency communication guarantee network

Working method: 3C scheme design method

Understanding of C pointer

触 发 器

CLion安装下载

Someone always asks me: how to play independent station? Three cases, you will understand after reading
随机推荐
Why is "CPS alliance marketing" the most cost-effective promotion method?
C指针的理解
Use and decoupling of the mobile terminal's realm database, and use OC realm safely across threads
數據的存儲(進階)
从“ 平台转型 ”到“ DTC品牌出海 ”,2021趋势何在?
CMAKE notes
Golang Viper库入门教学
Market development trend forecast and investment risk outlook report of China's silicon carbide industry 2022-2027
以太网UDP帧发包设计
Error: note: module requires go 1.17
An unordered array of N integers. Find the first number after each element that is larger than it. The time complexity is O (n)
Xshell下载安装(解决评估过期问题)
Xshell download and installation (solve the problem of expired evaluation)
Global and Chinese carbon conductive filler market demand trend and future prospect report 2022-2027
机器学习笔记 七:强大的神经网络表述
MATLAB系统辨识
A simple method to implement deep cloning and encapsulation of objects JS
Record some problems and solutions encountered in processing SIF data
Prompt box moving with the mouse
Go language uses JWT