Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

linux中qt如何编译,调试需要环境变量的程序



  • 以前是用cmake编译,命令行执行,所以会在执行程序之前输一行添加环境变量的命令,source ......sh,但是最近换了qt编译cmake的程序,不知道在哪里输添加环境变量的命令了,自然就编译不成功,有没有大大遇到过类似情况,是怎么解决的呢?



  • This post is deleted!


  • Qt Creator中项目 -> Run -> 运行环境,点开“使用构建环境”,添加自己需要的环境变量即可。调试即可进入。


Log in to reply