Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #228740

Re: clipgrab as alternative to youtube-dl

From The Wanderer <wanderer@fastmail.fm>
Newsgroups linux.debian.user
Subject Re: clipgrab as alternative to youtube-dl
Date 2020-11-17 22:50 +0100
Message-ID <Bch1n-599-5@gated-at.bofh.it> (permalink)
References <BcfLX-4tW-7@gated-at.bofh.it> <BcfLX-4tW-11@gated-at.bofh.it> <BcgI1-52Q-5@gated-at.bofh.it>
Organization This space intentionally left blank.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2020-11-17 at 16:27, Fred wrote:

> On 11/17/20 1:27 PM, The Wanderer wrote:
>
>> On 2020-11-17 at 15:21, Fred wrote:
>> 
>>> I also looked into compiling the source code which is often as easy as
>>> following some simple instructions.  The compile makes use of qmake
>>> which gives the error:
>>>
>>> qmake: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/qmake': No such
>>> file or directory
>>>
>>> /usr/bin/qmake is a link that points to /usr/bin/qtchooser which is
>>> picking the wrong version of qt.  Qt5 is needed and is installed.  I
>>> have set an environment variable QT_SELECT=qt5 but the chooser is not
>>> fooled.  So, if the binary is not usable how do I select qt5?
>> 
>> I think you have the qtchooser syntax wrong.
>> 
>> 'man qtchooser' says that the value passed to QT_SELECT is the same as
>> that which would be passed to 'qtchooser -qt='. Testing that, I get:

>> $ QT_SELECT=4 qtchooser -print-env
>> QT_SELECT="4"
>> QTTOOLDIR="/usr/lib/x86_64-linux-gnu/qt4/bin"
>> QTLIBDIR="/usr/lib/x86_64-linux-gnu"
>> 
>> 
>> IOW: the value you need to pass in is '5', not 'qt5'.
> 
> Hi,
> You are quite right.  I don't see from the man page how one is required 
> to tell qtchooser to set the environment variable instead of doing it 
> oneself.  In a hurry I didn't notice the option -qt=version.

AFAICT, you don't need to tell qtchooser to do it. As the test still
quoted above shows, if you just set QT_SELECT and don't specify -qt=,
the other settings will be adjusted to match.

The practical necessities depend on exactly what is being invoked and
how, but it seems to me that if the build system is in fact calling
qtchooser, then setting QT_SELECT=5 should make it use Qt5.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

clipgrab as alternative to youtube-dl Fred <fred@blakemfg.com> - 2020-11-17 21:30 +0100
  Re: clipgrab as alternative to youtube-dl The Wanderer <wanderer@fastmail.fm> - 2020-11-17 21:30 +0100
    Re: clipgrab as alternative to youtube-dl Fred <fred@blakemfg.com> - 2020-11-17 22:30 +0100
      Re: clipgrab as alternative to youtube-dl The Wanderer <wanderer@fastmail.fm> - 2020-11-17 22:50 +0100
        Re: clipgrab as alternative to youtube-dl Fred <fred@blakemfg.com> - 2020-11-18 03:10 +0100
  Re: clipgrab as alternative to youtube-dl Greg Wooledge <wooledg@eeg.ccf.org> - 2020-11-17 21:30 +0100
    Re: clipgrab as alternative to youtube-dl Fred <fred@blakemfg.com> - 2020-11-17 22:20 +0100
    Re: clipgrab as alternative to youtube-dl Stefan Monnier <monnier@iro.umontreal.ca> - 2020-11-17 22:40 +0100
  Re: clipgrab as alternative to youtube-dl Anssi Saari <as@sci.fi> - 2020-11-18 15:00 +0100
    AppImage files (was: clipgrab as alternative to youtube-dl) Fred <fred@blakemfg.com> - 2020-11-18 15:10 +0100
      Re: AppImage files (was: clipgrab as alternative to youtube-dl) Marc Shapiro <marcnshap@gmail.com> - 2020-11-20 03:30 +0100
    How to run AppImage file (was: clipgrab as alternative to youtube-dl) Fred <fred@blakemfg.com> - 2020-11-25 20:20 +0100
      Re: How to run AppImage file (was: clipgrab as alternative to  youtube-dl) Reco <recoverym4n@enotuniq.net> - 2020-11-25 20:40 +0100
        Re: How to run AppImage file (was: clipgrab as alternative to  youtube-dl) Fred <fred@blakemfg.com> - 2020-11-25 22:10 +0100
        Re: How to run AppImage file (was: clipgrab as alternative to  youtube-dl) Fred <fred@blakemfg.com> - 2020-11-25 22:20 +0100
          Re: How to run AppImage file (was: clipgrab as alternative to  youtube-dl) Greg Wooledge <wooledg@eeg.ccf.org> - 2020-11-25 22:20 +0100
            Re: How to run AppImage file (was: clipgrab as alternative to  youtube-dl) Fred <fred@blakemfg.com> - 2020-11-26 01:40 +0100
              Re: How to run AppImage file (was: clipgrab as alternative to  youtube-dl) Andrei POPESCU <andreimpopescu@gmail.com> - 2020-11-26 10:30 +0100
          Re: How to run AppImage file Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2020-11-26 17:30 +0100
            Re: How to run AppImage file Fred <fred@blakemfg.com> - 2020-11-26 17:40 +0100
              Re: How to run AppImage file Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2020-11-26 20:30 +0100
                Re: How to run AppImage file Fred <fred@blakemfg.com> - 2020-11-27 01:50 +0100

csiph-web