Missing qt5-designer in Stretch

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Missing qt5-designer in Stretch

Marc Shapiro-3
I am running Stretch and installed python3-pyqt, which is supposed to
provide QtDesigner:

Description: Python 3 bindings for Qt5
  PyQt5 exposes the Qt5 API to Python 3. This package contains the
following modules:
  * QtCore
  * QtDBus
  * QtDesigner
  * QtGui
  * QtHelp
  * QtNetwork
  * QtPrintSupport
  * QtTest
  * QtWidgets
  * QtXml


but designer does not actually seem to be there.  The only file named
'designer' on this box is trying to start the long since purged
qt4-designer.

Aptitude can't find a standalone package for it, either.  It only finds
qt4-designer, not qt5-designer:

marc@quixote:~$ aptitude search designer
p kdesignerplugin - Integration of KF5 widgets in Qt Designer/Creator
p kdesignerplugin:i386 - Integration of KF5 widgets in Qt Designer/Creator
p kdesignerplugin-data - Integration of KF5 widgets in Qt Designer/Creator
v kdesignerplugin-data:i386 -
p kgendesignerplugin - Integration of KF5 widgets in Qt Designer/Creator
p kgendesignerplugin:i386 - Integration of KF5 widgets in Qt
Designer/Creator
p libbio-primerdesigner-perl - Perl module to design PCR primers using
primer3 and epcr
p libqscintilla2-designer - Qt4 Designer plugin for QScintilla 2
p libqscintilla2-designer:i386 - Qt4 Designer plugin for QScintilla 2
p libqscintilla2-designer-dbg - Qt4 Designer plugin for QScintilla 2
(debug)
p libqscintilla2-designer-dbg:i386 - Qt4 Designer plugin for QScintilla
2 (debug)
i A libqt4-designer - Qt 4 designer module
p libqt4-designer:i386 - Qt 4 designer module
p libqt4-designer-dbg - Qt 4 designer library debugging symbols
p libqt4-designer-dbg:i386 - Qt 4 designer library debugging symbols
i A libqt5designer5 - Qt 5 designer module
p libqt5designer5:i386 - Qt 5 designer module
c libqt5designercomponents5 - Qt 5 Designer components module
p libqt5designercomponents5:i386 - Qt 5 Designer components module
p libqt5scintilla2-designer - Qt5 Designer plugin for QScintilla 2
p libqt5scintilla2-designer:i386 - Qt5 Designer plugin for QScintilla 2
p libqt5scintilla2-designer-dbg - Qt5 Designer plugin for QScintilla 2
(debug)
p libqt5scintilla2-designer-dbg:i386 - Qt5 Designer plugin for
QScintilla 2 (debug)
p libqxt-designer0 - LibQxt extensions to Qt Designer
p libqxt-designer0:i386 - LibQxt extensions to Qt Designer
v libreoffice-reportdesigner -
p qt4-designer - graphical designer for Qt 4 applications
p qt4-designer:i386 - graphical designer for Qt 4 applications


Am I missing something, somewhere?  Or is qt5-designer not packaged for
Debian?


Marc

Reply | Threaded
Open this post in threaded view
|

Re: Missing qt5-designer in Stretch

Christian Seiler
Am 2017-11-14 08:05, schrieb Marc Shapiro:
> Am I missing something, somewhere?  Or is qt5-designer not packaged for
> Debian?

Designer for Qt5 can be found in the qttools5-dev-tools package
in Stretch.

Regards,
Christian

Reply | Threaded
Open this post in threaded view
|

Re: Missing qt5-designer in Stretch

Marc Shapiro-3
On 11/14/2017 12:18 AM, Christian Seiler wrote:

> Am 2017-11-14 08:05, schrieb Marc Shapiro:
>> Am I missing something, somewhere?  Or is qt5-designer not packaged
>> for Debian?
>
> Designer for Qt5 can be found in the qttools5-dev-tools package
> in Stretch.
>
> Regards,
> Christian
>
I installed qttools5-dev-tools package, but it still looks for designer
and assistant in the old qt4 directory.  What am I doing wrong?

Marc


$ aptitude show qttools5-dev-tools
Package: qttools5-dev-tools
Version: 5.7.1-1
New: yes
State: installed
Automatically installed: no
Multi-Arch: same
Priority: optional
Section: devel
Maintainer: Debian Qt/KDE Maintainers <[hidden email]>
Architecture: amd64
Uncompressed Size: 7,367 k
Depends: qtchooser, libc6 (>= 2.14), libqt5core5a (>= 5.7.0),
libqt5dbus5 (>= 5.0.2), libqt5designer5 (>= 5.6.0~beta),
libqt5designercomponents5 (>= 5.6.0~beta), libqt5gui5 (>= 5.7.0),
libqt5help5 (>= 5.6.0~beta), libqt5network5 (>=
          5.0.2), libqt5printsupport5 (>= 5.0.2), libqt5quickwidgets5
(>= 5.3.0), libqt5sql5 (>= 5.0.2), libqt5webkit5 (>= 5.6.0~rc),
libqt5widgets5 (>= 5.6.0~beta), libqt5xml5 (>= 5.1.0), libstdc++6 (>=
5.2), qtbase-abi-5-7-1
Recommends: libqt5sql5-sqlite
Breaks: qtbase5-dev-tools (< 5.6.0~), qttools5-dev (< 5.5.0-2~),
qtbase5-dev-tools:i386 (< 5.6.0~), qttools5-dev:i386 (< 5.5.0-2~),
qttools5-dev-tools:i386 (!= 5.7.1-1)
Replaces: qtbase5-dev-tools (< 5.6.0~), qttools5-dev (< 5.5.0-2~),
qtbase5-dev-tools:i386 (< 5.6.0~), qttools5-dev:i386 (< 5.5.0-2~),
qttools5-dev-tools:i386 (< 5.7.1-1)
Description: Qt 5 development tools
  Qt is a cross-platform C++ application framework. Qt's primary feature
is its rich set of widgets that provide standard GUI functionality.

  This package contains a set of applications to browse the
documentation, translate applications, generate help files and other
stuff that helps in Qt development. These tools are among others:
  * assistant
  * designer
  * linguist
  * pixeltool
  * qdbusviewer
Homepage: https://www.qt.io/developers/
Tags: uitoolkit::qt

$ designer
designer: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/designer':
No such file or directory
$ assistant
assistant: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/assistant':
No such file or directory

Reply | Threaded
Open this post in threaded view
|

Re: Missing qt5-designer in Stretch

Ben Caradoc-Davies-3
On 15/11/17 04:48, Marc Shapiro wrote:
> $ designer
> designer: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/designer':
> No such file or directory
> $ assistant
> assistant: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/assistant':
> No such file or directory

qtchooser is defaulting to a version of qttools5-dev-tools that you do
not have. You should be able to change this by setting QT_SELECT or by
editing/symlinking the qtchooser configuration file
/usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf . "man
qtchooser" for details.

Kind regards,

--
Ben Caradoc-Davies <[hidden email]>
Director
Transient Software Limited <http://transient.nz/>
New Zealand

Reply | Threaded
Open this post in threaded view
|

Re: Missing qt5-designer in Stretch

Ben Caradoc-Davies-3
On 15/11/17 09:58, Ben Caradoc-Davies wrote:
> qtchooser is defaulting to a version of qttools5-dev-tools that you do
> not have.

What I meant is that qtchooser is defaulting to a version of the qt dev
tools that you do not have (i.e. qt4).

--
Ben Caradoc-Davies <[hidden email]>
Director
Transient Software Limited <http://transient.nz/>
New Zealand

Reply | Threaded
Open this post in threaded view
|

Re: Missing qt5-designer in Stretch

Michael Biebl-3
In reply to this post by Marc Shapiro-3
Am 14.11.2017 um 16:48 schrieb Marc Shapiro:

> On 11/14/2017 12:18 AM, Christian Seiler wrote:
>> Am 2017-11-14 08:05, schrieb Marc Shapiro:
>>> Am I missing something, somewhere?  Or is qt5-designer not packaged
>>> for Debian?
>>
>> Designer for Qt5 can be found in the qttools5-dev-tools package
>> in Stretch.
>>
>> Regards,
>> Christian
>>
> I installed qttools5-dev-tools package, but it still looks for designer
> and assistant in the old qt4 directory.  What am I doing wrong?
You probably want qt5-default

https://packages.debian.org/sid/qt5-default

--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Missing qt5-designer in Stretch

Marc Shapiro-3
In reply to this post by Ben Caradoc-Davies-3
On 11/14/2017 12:58 PM, Ben Caradoc-Davies wrote:

> On 15/11/17 04:48, Marc Shapiro wrote:
>> $ designer
>> designer: could not exec
>> '/usr/lib/x86_64-linux-gnu/qt4/bin/designer': No such file or directory
>> $ assistant
>> assistant: could not exec
>> '/usr/lib/x86_64-linux-gnu/qt4/bin/assistant': No such file or directory
>
> qtchooser is defaulting to a version of qttools5-dev-tools that you do
> not have. You should be able to change this by setting QT_SELECT or by
> editing/symlinking the qtchooser configuration file
> /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf . "man
> qtchooser" for details.
>
> Kind regards,
>
Thanks!  That did it.  Ijust changed the first line in the config file from:

     /usr/lib/x86_64-linux-gnu/qt4/bin

to:

     /usr/lib/x86_64-linux-gnu/qt5/bin


All is good, now.


Marc


Reply | Threaded
Open this post in threaded view
|

Re: Missing qt5-designer in Stretch

Ben Caradoc-Davies-3
On 15/11/17 16:11, Marc Shapiro wrote:

> On 11/14/2017 12:58 PM, Ben Caradoc-Davies wrote:
>> On 15/11/17 04:48, Marc Shapiro wrote:
>>> $ designer
>>> designer: could not exec
>>> '/usr/lib/x86_64-linux-gnu/qt4/bin/designer': No such file or directory
>>> $ assistant
>>> assistant: could not exec
>>> '/usr/lib/x86_64-linux-gnu/qt4/bin/assistant': No such file or directory
>> qtchooser is defaulting to a version of qttools5-dev-tools that you do
>> not have. You should be able to change this by setting QT_SELECT or by
>> editing/symlinking the qtchooser configuration file
>> /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf . "man
>> qtchooser" for details.
> Thanks!  That did it.  Ijust changed the first line in the config file
> from:
>      /usr/lib/x86_64-linux-gnu/qt4/bin
> to:
>      /usr/lib/x86_64-linux-gnu/qt5/bin
> All is good, now.

Great! Although you should note that Michael Biebl's suggestion to
install "qt5-default" will do the same thing but be robust against
package updates (I like his advice more than mine).

Kind regards,

--
Ben Caradoc-Davies <[hidden email]>
Director
Transient Software Limited <http://transient.nz/>
New Zealand

Reply | Threaded
Open this post in threaded view
|

Re: Missing qt5-designer in Stretch

Marc Shapiro-3
On 11/14/2017 07:24 PM, Ben Caradoc-Davies wrote:

> On 15/11/17 16:11, Marc Shapiro wrote:
>> On 11/14/2017 12:58 PM, Ben Caradoc-Davies wrote:
>>> On 15/11/17 04:48, Marc Shapiro wrote:
>>>> $ designer
>>>> designer: could not exec
>>>> '/usr/lib/x86_64-linux-gnu/qt4/bin/designer': No such file or
>>>> directory
>>>> $ assistant
>>>> assistant: could not exec
>>>> '/usr/lib/x86_64-linux-gnu/qt4/bin/assistant': No such file or
>>>> directory
>>> qtchooser is defaulting to a version of qttools5-dev-tools that you
>>> do not have. You should be able to change this by setting QT_SELECT
>>> or by editing/symlinking the qtchooser configuration file
>>> /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf . "man
>>> qtchooser" for details.
>> Thanks!  That did it.  Ijust changed the first line in the config
>> file from:
>>      /usr/lib/x86_64-linux-gnu/qt4/bin
>> to:
>>      /usr/lib/x86_64-linux-gnu/qt5/bin
>> All is good, now.
>
> Great! Although you should note that Michael Biebl's suggestion to
> install "qt5-default" will do the same thing but be robust against
> package updates (I like his advice more than mine).
>
> Kind regards,
>
But it wants to install 25 packages in addition to itself and take up
29.8MB.  That seems excessive to do something that I have already
aqccomplished with no additional packages.


Marc


Reply | Threaded
Open this post in threaded view
|

Missing pyuic5, pyrcc5 and pylupdate5 from python3-pyqt5 (was Re: Missing qt5-designer in Stretch)

Marc Shapiro-3
In reply to this post by Ben Caradoc-Davies-3
Now that QtDesigner is running I can look at the rest of the build chain
and I find that the programs listed in the subject (pyuic5, pyrcc5 and
pylupdate5 ) are missing from python3-pyqt5.  According to the docs on
Sourceforge these should all be included in the upstream package.  Has
Debian split them off somewhere and not listed it as a Depends, or
Recommends?

Marc

Reply | Threaded
Open this post in threaded view
|

Re: Missing pyuic5, pyrcc5 and pylupdate5 from python3-pyqt5 (was Re: Missing qt5-designer in Stretch)

Christian Seiler
Hi there,

Am 2017-11-15 06:12, schrieb Marc Shapiro:
> Now that QtDesigner is running I can look at the rest of the build
> chain and I find that the programs listed in the subject (pyuic5,
> pyrcc5 and pylupdate5 ) are missing from python3-pyqt5.  According to
> the docs on Sourceforge these should all be included in the upstream
> package.  Has Debian split them off somewhere and not listed it as a
> Depends, or Recommends?

$ apt-file search pyuic5
pyqt5-dev-tools: /usr/bin/pyuic5
pyqt5-dev-tools: /usr/share/man/man1/pyuic5.1.gz

To see what binary packages are built from the same source package
as python3-pyqt5:

1. Get the source package name:

$ apt-cache show python3-pyqt5 | grep ^Source:
Source: pyqt5

2. Get all binary packages associated with it (the "tr" is for better
readability):

$ apt-cache showsrc pyqt5 | grep Binary: | tr ',' '\n'

The reason Debian doesn't have a single binary package is that you
don't actually need these tools to _use_ PyQt5, only to develop it.
(Similarly to C/C++ development, where there also are separate
development packages.) This way you can select what you want to
install.

Regards,
Christian

Reply | Threaded
Open this post in threaded view
|

Re: Missing pyuic5, pyrcc5 and pylupdate5 from python3-pyqt5 (was Re: Missing qt5-designer in Stretch)

Marc Shapiro-3
On 11/15/2017 03:19 AM, Christian Seiler wrote:

> Hi there,
>
> Am 2017-11-15 06:12, schrieb Marc Shapiro:
>> Now that QtDesigner is running I can look at the rest of the build
>> chain and I find that the programs listed in the subject (pyuic5,
>> pyrcc5 and pylupdate5 ) are missing from python3-pyqt5. According to
>> the docs on Sourceforge these should all be included in the upstream
>> package.  Has Debian split them off somewhere and not listed it as a
>> Depends, or Recommends?
>
> $ apt-file search pyuic5
> pyqt5-dev-tools: /usr/bin/pyuic5
> pyqt5-dev-tools: /usr/share/man/man1/pyuic5.1.gz
>
> To see what binary packages are built from the same source package
> as python3-pyqt5:
>
> 1. Get the source package name:
>
> $ apt-cache show python3-pyqt5 | grep ^Source:
> Source: pyqt5
>
> 2. Get all binary packages associated with it (the "tr" is for better
> readability):
>
> $ apt-cache showsrc pyqt5 | grep Binary: | tr ',' '\n'
>
> The reason Debian doesn't have a single binary package is that you
> don't actually need these tools to _use_ PyQt5, only to develop it.
> (Similarly to C/C++ development, where there also are separate
> development packages.) This way you can select what you want to
> install.
>
> Regards,
> Christian
>
Thanks for the tip on how to find all the packages from a single source
file.  I'm not surprised that the dev tools are in a separate package --
I just couldn't find it.  I was looking through the files beginning with
'python3-pyqt5', or 'python-pyqt5' so I missed the three (all of which I
want) whose names begin with 'pyqt5' without the 'python' prefix.


Thanks again.

Marc

Reply | Threaded
Open this post in threaded view
|

Re: Missing qt5-designer in Stretch

Ben Caradoc-Davies-3
In reply to this post by Marc Shapiro-3
On 15/11/17 17:34, Marc Shapiro wrote:
> On 11/14/2017 07:24 PM, Ben Caradoc-Davies wrote:
>> Great! Although you should note that Michael Biebl's suggestion to
>> install "qt5-default" will do the same thing but be robust against
>> package updates (I like his advice more than mine).
> But it wants to install 25 packages in addition to itself and take up
> 29.8MB.  That seems excessive to do something that I have already
> aqccomplished with no additional packages.

Hmm, then you might be better off with the straightforward edit of
default.conf .

Kind regards,

--
Ben Caradoc-Davies <[hidden email]>
Director
Transient Software Limited <http://transient.nz/>
New Zealand