Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. linux中qt如何编译,调试需要环境变量的程序
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Chinese
3 Posts 3 Posters 3.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yicong liu
    wrote on last edited by
    #1

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

    1 Reply Last reply
    0
    • FlotisableF Offline
      FlotisableF Offline
      Flotisable
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • jiancaiyangJ Offline
        jiancaiyangJ Offline
        jiancaiyang
        wrote on last edited by
        #3

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

        我们自己的论坛:http://qtdream.com
        擅长三维角色仿真动画。

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved