Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
以前是用cmake编译,命令行执行,所以会在执行程序之前输一行添加环境变量的命令,source ......sh,但是最近换了qt编译cmake的程序,不知道在哪里输添加环境变量的命令了,自然就编译不成功,有没有大大遇到过类似情况,是怎么解决的呢?
Qt Creator中项目 -> Run -> 运行环境,点开“使用构建环境”,添加自己需要的环境变量即可。调试即可进入。