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

2012-10-13 Thread aks92
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


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


--
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5079b5c3.3040...@free.fr



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

2012-10-13 Thread Adam Majer
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?

build-essential is for building Debian packages, not Qt (eg. dpkg-dev
is not needed by Qt). The rationale of not putting g++ into
Recommends or Depends for Qt Creator was quite simple - 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!


Saying that, since qtcreator Recommends qt4-dev-tools, which recommend
libqt4-dev which in turn is compiled with g++, the g++ reference may
as well be moved from Suggests to Recommends.

- Adam


-- 
Adam Majer
ad...@zombino.com


-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20121013163537.ga4...@mira.lan.galacticasoftware.com



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

2012-10-13 Thread aks92
Hi Qt/KDE team,

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.

What's more, the error message one gets when g++ is missing ("No valid
Qt version found. Please add a Qt version in Tools > Options > Build &
Run") and the subsequent error message ("Qt version is not properly
installed, please run make install" as the previous poster pointed it
out) are hardly any help.

The correct way to install a full working Qt development environment
seems to be through the qt-sdk package (which depends amongst other
things on qtcreator and build-essential, thus g++).

I believe this problem could be solved by adding either g++,
build-essentials or qt-sdk to the Recommends list of the qtcreator package.
Users who have not modified their APT::Install-Recommends configuration
would then get it by default.
Just having g++ in the Suggests list as it is currently looks a bit
useless to me, with respect to the intended goal of the whole QtCreator
environment.

In my humble opinion it would make sense to go with the full blown
Recommends:qt-sdk dependency because QtCreator really is a Qt
development environment at its core, so why not just drag in the full Qt
SDK?
Users who want to use this IDE for other purposes could just ignore the
Recommends section.

Thanks for your attention.


-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/507965b4.7030...@free.fr



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

2012-08-21 Thread Goswin von Brederlow
Package: qtcreator
Version: 2.5.0-2
Severity: normal

Trying to create a new project complains that no QT version was found.
Pointing it at /usr/bin/qmake-qt4 under tools->options->Built&Run says:

Qt version is not properly installed, please run make install

Since I've installed the debian qt4-qmake package I'm a bit at a loss
what it things is wrong.

MfG
Goswin

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages qtcreator depends on:
ii  libc6   2.13-34
ii  libgcc1 1:4.7.1-3
ii  libqt4-declarative  4:4.8.2-2+b1
ii  libqt4-designer 4:4.8.2-2+b1
ii  libqt4-help 4:4.8.2-2+b1
ii  libqt4-network  4:4.8.2-2+b1
ii  libqt4-script   4:4.8.2-2+b1
ii  libqt4-sql  4:4.8.2-2+b1
ii  libqt4-sql-sqlite   4:4.8.2-2+b1
ii  libqt4-svg  4:4.8.2-2+b1
ii  libqt4-xml  4:4.8.2-2+b1
ii  libqtcore4  4:4.8.2-2+b1
ii  libqtgui4   4:4.8.2-2+b1
ii  libqtwebkit42.2.1-4+b1
ii  libstdc++6  4.7.1-3

Versions of packages qtcreator recommends:
ii  gdb  7.4.1-1.1
ii  make 3.81-8.2
ii  qt4-demos4:4.8.2-2+b1
ii  qt4-dev-tools4:4.8.2-2+b1
ii  qt4-doc  4:4.8.2-2
ii  qt4-qmlviewer4:4.8.2-2+b1
ii  qtcreator-doc2.5.0-2
ii  xterm [x-terminal-emulator]  278-1

Versions of packages qtcreator suggests:
ii  cmake  2.8.9~rc1-1
ii  g++4:4.7.1-1
ii  git1:1.7.10.4-1
ii  kdelibs5-data  4:4.8.4-3
ii  subversion 1.7.5-1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120821155454.21706.78024.reportbug@frosties.localnet