PDA

View Full Version : Configuration Qt C++ in Raspbian



vizier87
7th April 2016, 04:03
Hi guys,

First post and greetings to all!

I'm doing my first "Hello world" in C++ in my Qt Creator. My OS is Raspbian, which I'm not sure if it really affects the whole thing. After creating the project, the standard pre-typed code what there to cout a "Hello world" text as always. However, I got this in return :


10:17:40: Configuration is faulty. Check the Issues view for details.
Error while building/deploying project hello (kit: Desktop)
When executing step "Make"

How do I go around this?

Cheers!
Vizier87

Ginsengelf
7th April 2016, 14:47
Hi, did you "Check the Issues view for details"?

Ginsengelf

vizier87
8th April 2016, 09:24
Yeah, I did. I forgot to include it here:


Qt Creator needs a compiler set up to build . Configure a compiler in the kit options.

A stackoverflow inquiry (http://stackoverflow.com/questions/14700965/qt-creator-needs-a-compiler-set-up-to-build-configure-a-compiler-in-the-kit-opt) recommended the following:


sudo apt-get install g++
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev

But mine's fully updated already so the that wasn't the problem.

I went through this (http://doc.qt.io/qtcreator/creator-configuring.html) one, and I went through the Options>Build & Run> Kits

However, no kits were found and manual detection only shows "Desktop (Default)". How do I add the kit then? Because it's Raspbian I suppose a "sudo apt-get something" should be the next step is it? After searching around I'm stuck now.

Thanks!