摘要: #include <QFileDialog>#pragma execution_character_set("utf-8") QString path = QFileDialog::getOpenFileName(this, tr("选择文件"), ".", tr("s3c文件(*.s3c);;全部 阅读全文
posted @ 2017-07-11 11:37 酷熊 阅读(562) 评论(0) 推荐(0) 编辑
摘要: 在VS-Qt-CMake基础上,打开mainwindow.ui,添加一个QWidget,然后在widget上右键-提升,选择SceneViewWidget CMakeLists.txt中添加了OSG相关配置 SceneViewWidget.h SceneViewWidget.cpp 阅读全文
posted @ 2017-07-11 11:05 酷熊 阅读(1397) 评论(0) 推荐(0) 编辑
摘要: 使用qtcreator新建一个空工程,可以得到main.cpp,mainwindow.cpp,mainwindow.h和mainwindow.ui四个文件 下面主要介绍CMakeLists.txt的内容 阅读全文
posted @ 2017-07-11 10:11 酷熊 阅读(2536) 评论(0) 推荐(0) 编辑
摘要: D:\APICenter\Qt\Qt5.8.0\5.8\msvc2015\lib\cmake\Qt5\Qt5Config.cmake 阅读全文
posted @ 2017-07-11 09:50 酷熊 阅读(2428) 评论(0) 推荐(0) 编辑