Bug#781516: [qtchooser] Qtchooser will always find qt5

2015-04-01 Thread David Baron
On Wednesday 01 April 2015 11:46:38 Dmitry Shachnev wrote:
 Control: tags -1 moreinfo
 
 Hi David,
 
 On Mon, 30 Mar 2015 13:51:51 +0300, David Baron wrote:
  Attempts to use qmake-qtchooser always yields qt5 libraries. Cannot make
  anything in qt4 unless manually running qmake-qt4 and ./configure may not
  set up completely correct Makefile.
  
  [snip]
  
  Suggests (Version) | Installed
  ==-+-===
  qt4-default|
  qt5-default| 5.3.2+dfsg-4+b1
 
 You have qt5-default installed, which means that *default* Qt will be 5.x
 for you. If you want to use e.g. qmake from Qt 4, you need to either call it
 as ‘qmake -qt4’, or export QT_SELECT=4. This is how qtchooser works.
 
 If any of these methods does not work, then it is a bug. But I don’t see
 a mention of that in your bug report.
 
 --
 Dmitry Shachnev

OK. I did not know such a package was around. Since I assume many of us will 
be compiling for either or both, this solution (mutually exclusive packages) 
is not, in my mind, the best. I have requested from one dev so far that the 
QT_SELECT by done by his configure script.

Another alternative could be a /etc/default/qtchooser. This could specify even 
more default properties, if desirable. Comment out the build alternative not 
desired
#QT_SELECT=4
QT_SELECT=5

I guess a situation of name-your-poison.
Can rephrase bug as wishlist.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#781516: [qtchooser] Qtchooser will always find qt5

2015-04-01 Thread Dmitry Shachnev
Control: tags -1 moreinfo

Hi David,

On Mon, 30 Mar 2015 13:51:51 +0300, David Baron wrote:
 Attempts to use qmake-qtchooser always yields qt5 libraries. Cannot make 
 anything in qt4 unless manually running qmake-qt4 and ./configure may not set 
 up completely correct Makefile.

 [snip]

 Suggests (Version) | Installed
 ==-+-===
 qt4-default| 
 qt5-default| 5.3.2+dfsg-4+b1

You have qt5-default installed, which means that *default* Qt will be 5.x
for you. If you want to use e.g. qmake from Qt 4, you need to either call it
as ‘qmake -qt4’, or export QT_SELECT=4. This is how qtchooser works.

If any of these methods does not work, then it is a bug. But I don’t see
a mention of that in your bug report.

--
Dmitry Shachnev

signature.asc
Description: OpenPGP digital signature


Bug#781516: [qtchooser] Qtchooser will always find qt5

2015-04-01 Thread Dmitry Shachnev
Control: severity -1 wishlist

On Wed, 01 Apr 2015 12:21:57 +0300, David Baron wrote:
 Another alternative could be a /etc/default/qtchooser. This could specify 
 even 
 more default properties, if desirable. Comment out the build alternative not 
 desired
 #QT_SELECT=4
 QT_SELECT=5

You have a $(qmake -query QT_INSTALL_LIBS)/qtchooser/default.conf file, which
you can make a symlink to qt4 or qt5 configuration file (this is exactly what
qt4-default and qt5-default packages do), or fill it yourself with the paths
you want qtchooser to use.

Why do we need one more way to specify the default Qt?

--
Dmitry Shachnev

signature.asc
Description: OpenPGP digital signature


Bug#781516: [qtchooser] Qtchooser will always find qt5

2015-04-01 Thread David Baron
On Wednesday 01 April 2015 14:03:47 Dmitry Shachnev wrote:
 Control: severity -1 wishlist
 
 On Wed, 01 Apr 2015 12:21:57 +0300, David Baron wrote:
  Another alternative could be a /etc/default/qtchooser. This could specify
  even more default properties, if desirable. Comment out the build
  alternative not desired
  #QT_SELECT=4
  QT_SELECT=5
 
 You have a $(qmake -query QT_INSTALL_LIBS)/qtchooser/default.conf file,
 which you can make a symlink to qt4 or qt5 configuration file (this is
 exactly what qt4-default and qt5-default packages do), or fill it yourself
 with the paths you want qtchooser to use.
 
 Why do we need one more way to specify the default Qt?
 
 --
 Dmitry Shachnev

(More-or-less) standard manner to which folks are accustomed.
But this is OK as well, if not adequately documented.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#781516: [qtchooser] Qtchooser will always find qt5

2015-03-30 Thread David Baron
Package: qtchooser
Version: 47-gd2b7997-2
Severity: grave

--- Please enter the report below this line. ---
Might be corollary to #781226

Attempts to use qmake-qtchooser always yields qt5 libraries. Cannot make 
anything in qt4 unless manually running qmake-qt4 and ./configure may not set 
up completely correct Makefile.

--- System information. ---
Architecture: amd64
Kernel:   Linux 3.16.0-4-amd64

Debian Release: 8.0
  500 unstableftp.us.debian.org 
  500 testing ftp.us.debian.org 
  500 jessie  linux.dropbox.com 

--- Package information. ---
Depends   (Version) | Installed
===-+-=
libc6  (= 2.4) | 
libgcc1(= 1:4.1.1) | 
libstdc++6   (= 4.1.1) | 


Package's Recommends field is empty.

Suggests (Version) | Installed
==-+-===
qt4-default| 
qt5-default| 5.3.2+dfsg-4+b1


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org