November 22, 2011

Tyras Tyras
Lab Rat
10 posts

[SOLVED] Qt Creator not showing errors properly in “Build Issues” Pane

 

Hello everyone,

I’m using QT Creator 2.2.1 + QT 4.7.3 in my Xubuntu Linux 10.11, with everything in its defaults.

The problem is: the build errors aren’t being showed properly in the build issues pane. I need to keep going to Compile Output Pane to see the error.

Compile Output Pane
Build Issues Pane

I installed QT SDK + QT Creator using

  1. apt-get install build-essential qtcreator

Can you guys help me out?

 Signature 

When a coder says that’s impossible to do something, he’s actually too lazy to do it.

5 replies

November 24, 2011

Tobias Hunger Tobias Hunger
Mad Scientist
3156 posts

Qt Creator does not recognize your language and thus misses out on the messages.

Good news: This will be fixed in Qt Creator 2.4.

Bad news: We force the output language of gcc-based compilers to English there.

November 24, 2011

Tyras Tyras
Lab Rat
10 posts
Tobias Hunger wrote:
Bad news: We force the output language of gcc-based compilers to English there.

That won’t be a problem. Is it already fixed in any beta version of QT Creator already avaliable? If yes, how/where I can get it?

 Signature 

When a coder says that’s impossible to do something, he’s actually too lazy to do it.

November 24, 2011

Krong Krong
Lab Rat
5 posts

I have the same problem on Kubuntu 11.10.
and found the solution:
Project->Build Settings->Build Environment-> Set LANG to en_EN.UTF-8

November 26, 2011

Tyras Tyras
Lab Rat
10 posts
Krong wrote:
I have the same problem on Kubuntu 11.10. and found the solution: Project->Build Settings->Build Environment-> Set LANG to en_EN.UTF-8

Thanks , Krong! It worked, but I needed to LC_MESSAGES instead of LANG. Changing LANG didn’t worked.

So, for anyone that’s getting the same problem:

Go to Project->Build Settings->Build Environment
and set LC_MESSAGES to en_EN.UTF-8.

The last question is: There’s any way to set this as default? I tried setting the environment variable with

  1. export LC_MESSAGE=en_EN.UTF-8

But looks like it didn’t work.

 Signature 

When a coder says that’s impossible to do something, he’s actually too lazy to do it.

January 5, 2012

Tyras Tyras
Lab Rat
10 posts

Since the Qt Creator 2.4 has been released, this topic is closed. Thanks for the help =)

 Signature 

When a coder says that’s impossible to do something, he’s actually too lazy to do it.

 
  ‹‹ How to create copy of Ui and class or import existing one.      QtCreator and code folding, is it bug? ››

You must log in to post a reply. Not a member yet? Register here!