[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#685526: Error: Qt version is not properly installed



Hi Adam,
Thanks for your prompt reply.


Le 13/10/2012 18:35, Adam Majer a écrit :
> On Sat, Oct 13, 2012 at 02:59:32PM +0200, aks92 wrote:
>> I confirm this problem. Indeed QtCreator doesn't seem do be able to
>> find the Qt libraries unless g++ is also installed (which stands to
>> reason when you think about it). But the surprising part is that
>> g++ is not installed along QtCreator by default.
> 
> How about LLVM?

Right, I didn't think about LLVM. To be honest, I have no clue on its
actual usage and compatibility with Qt so I can't really comment on this.


> build-essential is for building Debian packages, not Qt (eg.
> dpkg-dev is not needed by Qt).

I only mentioned build-essential because qt-sdk (which is the
highest-level meta-package in the lot) does depend on it :

$ apt-cache depends qt-sdk
qt-sdk
  Depends: build-essential
<snip>

I can see your point though. I'm no packager so I can't tell why qt-sdk
depends on build-essential rather than individual packages (excluding
dpkg-dev which is not needed as you pointed it out).
Maybe there could also be some enhancement to be made there?


> if you wish to develop applications with Qt (a quite complex c++ 
> toolkit), I hope you can figure out that you need a c++ compiler!

Couldn't agree more. ;)
However, some users expect that installing qtcreator will give them a
fully functioning environment, and won't install qt-sdk because they
don't even know about it.

To be frank, the reason why I bumped this bug is because the issue arose
on a French Debian forum, and I couldn't immediately figure out the
cause of the problem because, like you, I assumed that a C++ compiler
would be installed.
As the affected user put it: "how strange is it that eg. gnome-core
recommends brasero while qtcreator won't work out of the box?"

To me this situation seemed to be against the Debian spirit to do the
right thing from the start, hence my initial proposal to put the whole
qt-sdk as a Recommends for qtcreator.

But again I'm no packager, just another Debian user so I lack some
important insight for sure.


> the g++ reference may as well be moved from Suggests to Recommends.

Since g++ is sufficient for QtCreator to be able to recognize the Qt
libraries, this looks like a winner to me.

cmake is not installed by qtcreator either, but this is only for non-Qt
projects so I guess it's not very relevant as far as qtcreator is concerned.


Again, thanks for your involvement in making Debian even better. :)

-- syam


Reply to: