• 6941阅读
  • 3回复

How to Setup the compiler for the Qt Creator [复制链接]

上一主题 下一主题
离线billanking
 

只看楼主 倒序阅读 楼主  发表于: 2009-01-16
— 本帖被 XChinux 执行加亮操作(2009-01-19) —
  i want to change the compiler of Qt Creator default,such as 'arm-linux-gcc'  substitute  the 'gcc' How to setup in the Qt Creator?
离线fluke

只看该作者 1楼 发表于: 2009-02-05
最直接的办法是更改Makefile.Debug/Release
离线280923299
只看该作者 2楼 发表于: 2009-02-07
On Windows, if you installed vs integration, qmake will automatically use "-spec" nmake.exe
Then in QtCreator, it can uses nmake without setting anything.

On linux, I think there should be a way to config qmake, let it use your custom compiler. Then QtCreator should load the custom compiler automatically.
离线280923299
只看该作者 3楼 发表于: 2009-02-09
发现设置QMAKESPEC 环境变量为你需要的编译器就可以,例如:win32-g++等等。

就是qmake -spec 后面的参数
快速回复
限100 字节
 
上一个 下一个