Qt project files and PREFIX variable

后端 未结 3 1574
小鲜肉
小鲜肉 2020-12-17 22:52

I included

PREFIX = /usr/local

inside my project file and then I run



        
3条回答
  •  北海茫月
    2020-12-17 23:27

    If you like to pass PREFIX to qmake, so you can do as follow:

    • Open Projects from left pan or using Ctrl+5 key
    • Expand Build Steps
    • Add PREFIX=/your/path/ into Additional arguments field

提交回复
热议问题